-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fix merge break #1327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix merge break #1327
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -123,7 +123,7 @@ public void NAIndicatorMetadataTest() | |||
}; | |||
|
|||
var dataView = ComponentCreation.CreateDataView(Env, data); | |||
var pipe = new CategoricalEstimator(Env, new CategoricalEstimator.ColumnInfo("A", "CatA")); | |||
var pipe = new CategoricalEstimator(Env, new[] { new CategoricalEstimator.ColumnInfo("A", "CatA") }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be simplified to:
var pipe = new CategoricalEstimator(Env, "A", "CatA");
@@ -29,7 +29,7 @@ public sealed partial class TestDataPipe : TestDataPipeBase | |||
private static VBuffer<Double> dataDoubleSparse = new VBuffer<Double>(5, 3, new double[] { -0.0, 0, 1 }, new[] { 0, 3, 4 }); | |||
private static uint[] resultsDoubleSparse = new uint[] { 21, 21, 21, 21, 31 }; | |||
|
|||
[Fact] | |||
[Fact(Skip = "Schema baseline comparison fails")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these tests disabled? We should log an issue to track turning them back on and put the link to the issue in this code.
PR #1236 included a change in the signature of the CategoricalEstimator ctor, and it was checked in right after PR #1217 which uses the old signature...