Skip to content

Fix entry point name for Logistic Regression (LogisticRegressor is misleading) #139

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 2 commits into from
May 14, 2018

Conversation

GalOshri
Copy link
Contributor

This PR fixes #114.

We currently have LogisticRegressor and BinaryLogisticRegressor entry points, which are misleading (make logistic regression seem like it is used for regression) and don't match the other learners. These are renamed to LogisticRegressionClassifier and LogisticRegressionBinaryClassifier respectively.

I have not tried modifying entry points before, so please let me know if something is missing. Here is what I did:

  1. Update the entry point names in the learners (binary and multiclass LR)
  2. Regenerate CSharpAPI.cs
  3. Update TestCSharpAPI.cs and TestEntryPoints.cs
  4. Update core_ep-list.tsv and core_manifest.json to reflect the new names
  5. Update remaining references to the old names

This is a breaking change to the Logistic Regression C# APIs.

@GalOshri GalOshri requested review from codemzs, yaeldekel and glebuk May 13, 2018 19:04
Copy link
Contributor

@TomFinley TomFinley left a comment

Choose a reason for hiding this comment

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

:shipit:

Thanks much Gal... this also jibes with @yaeldekel 's PR 113 which is nice.

Copy link
Member

@codemzs codemzs left a comment

Choose a reason for hiding this comment

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

Thanks, @GalOshri! LGTM.

@shauheen shauheen merged commit 1b08ae4 into dotnet:master May 14, 2018
eerhardt pushed a commit to eerhardt/machinelearning that referenced this pull request Jul 27, 2018
@GalOshri GalOshri deleted the logistic_regressor_name_fix branch August 31, 2018 18:20
@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.

Entry point name for logistic regression is misleading
4 participants