Skip to content

Commit e657947

Browse files
committed
fixed some rebase errors
1 parent 8c87d5d commit e657947

File tree

3 files changed

+1
-38
lines changed

3 files changed

+1
-38
lines changed

Microsoft.ML.sln

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -284,14 +284,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Microsoft.ML.AutoMLFeaturiz
284284
pkg\Microsoft.ML.AutoMLFeaturizers\Microsoft.ML.AutoMLFeaturizers.symbols.nupkgproj = pkg\Microsoft.ML.AutoMLFeaturizers\Microsoft.ML.AutoMLFeaturizers.symbols.nupkgproj
285285
EndProjectSection
286286
EndProject
287-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.ML.AutoMLFeaturizers", "src\Microsoft.ML.AutoMLFeaturizers\Microsoft.ML.AutoMLFeaturizers.csproj", "{E2DD0721-5B0F-4606-8182-4C7EFB834518}"
288-
EndProject
289-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Microsoft.ML.AutoMLFeaturizers", "Microsoft.ML.AutoMLFeaturizers", "{1BA5C784-52E8-4A87-8525-26B2452F2882}"
290-
ProjectSection(SolutionItems) = preProject
291-
pkg\Microsoft.ML.AutoMLFeaturizers\Microsoft.ML.AutoMLFeaturizers.nupkgproj = pkg\Microsoft.ML.AutoMLFeaturizers\Microsoft.ML.AutoMLFeaturizers.nupkgproj
292-
pkg\Microsoft.ML.AutoMLFeaturizers\Microsoft.ML.AutoMLFeaturizers.symbols.nupkgproj = pkg\Microsoft.ML.AutoMLFeaturizers\Microsoft.ML.AutoMLFeaturizers.symbols.nupkgproj
293-
EndProjectSection
294-
EndProject
295287
Global
296288
GlobalSection(SolutionConfigurationPlatforms) = preSolution
297289
Debug|Any CPU = Debug|Any CPU

src/Microsoft.ML.AutoMLFeaturizers/Common.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Microsoft.ML.AutoMLFeaturizers
1313

1414
internal enum FitResult : byte
1515
{
16-
Complete = 1, Continue, ResetAndContinue
16+
Complete, Continue, ResetAndContinue
1717
}
1818

1919
internal enum TypeId : byte

test/Microsoft.ML.Tests/Transformers/ToStringTransformerTests.cs

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -348,34 +348,5 @@ public void TestEntryPoint()
348348
Assert.Equal("Long Dummy String Value", rows[1].Values[1].Value.ToString());
349349
Done();
350350
}
351-
352-
[Fact]
353-
public void TestEntryPoint()
354-
{
355-
MLContext mlContext = new MLContext(1);
356-
357-
var data = new[] { new StringInput() { data = ""}, new StringInput() { data = "Long Dummy String Value" } };
358-
IDataView input = mlContext.Data.LoadFromEnumerable(data);
359-
360-
var options = new ToStringTransformerEstimator.Options()
361-
{
362-
Columns = new ToStringTransformerEstimator.Column[1]
363-
{
364-
new ToStringTransformerEstimator.Column()
365-
{
366-
Name = "data"
367-
}
368-
},
369-
Data = input
370-
};
371-
372-
var output = ToStringTransformerEntrypoint.ToString(mlContext.Transforms.GetEnvironment(), options);
373-
374-
var rows = output.OutputData.Preview().RowView;
375-
376-
Assert.Equal("", rows[0].Values[1].Value.ToString());
377-
Assert.Equal("Long Dummy String Value", rows[1].Values[1].Value.ToString());
378-
Done();
379-
}
380351
}
381352
}

0 commit comments

Comments
 (0)