Skip to content

Fix build break #146

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

Merged
merged 1 commit into from
May 14, 2018
Merged

Fix build break #146

merged 1 commit into from
May 14, 2018

Conversation

eerhardt
Copy link
Member

The previous 2 changes conflicted. Resovling the break that happened between them.

I'll merge once green to get the build unblocked again.

/cc @TomFinley @glebuk @shauheen

The previous 2 changes conflicted.  Resovling the break that happened between them.
@eerhardt eerhardt requested review from GalOshri and yaeldekel May 14, 2018 16:01
Copy link
Contributor

@glebuk glebuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

return trainerKind == TrainerKinds.SignatureBinaryClassifierTrainer;

if (type == typeof(Trainers.LogisticRegressor))
if (type == typeof(Trainers.LogisticRegressionClassifier))
Copy link
Contributor

@glebuk glebuk May 14, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LogisticRegressionClassifier [](start = 40, length = 28)

Thanks for the fix! #Resolved

@@ -197,10 +197,10 @@ public static T TrainerKindApiValue<T>(TrainerKinds trainerKind)

public static bool IsTrainerOfKind(Type type, TrainerKinds trainerKind)
{
if (type == typeof(Trainers.BinaryLogisticRegressor))
if (type == typeof(Trainers.LogisticRegressionBinaryClassifier))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LogisticRegressionBinaryClassifier [](start = 40, length = 34)

Thanks for fixing this Eric!
Actually, lines 200-204 are now not needed, they were there before only because the name for logistic classifiers didn't match the pattern of the other trainers (that the entry point names end with "Classifier" or "BinaryClassifier").

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make a follow-up for that change? The goal here is to unblock the build. I don't want to add anymore risk.

@eerhardt eerhardt merged commit 80a95b5 into dotnet:master May 14, 2018
@eerhardt eerhardt deleted the FixBuildBreak branch May 14, 2018 16:18
eerhardt added a commit to eerhardt/machinelearning that referenced this pull request Jul 27, 2018
The previous 2 changes conflicted.  Resovling the break that happened between them.
@ghost ghost locked as resolved and limited conversation to collaborators Mar 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants