Skip to content

Conversation

@michaelgsharp
Copy link
Contributor

Fixes #1422

Fixes the Hardcoded Sigmoid value from -.5 to the value specified during training.

Let Microsoft.ML.Tests see internals of Microsoft.ML.Standard trainers to access trained model parameters for testing verification.

@michaelgsharp michaelgsharp self-assigned this Jun 10, 2019
@dnfclas
Copy link

dnfclas commented Jun 10, 2019

CLA assistant check
All CLA requirements met.

Copy link
Contributor

@artidoro artidoro left a comment

Choose a reason for hiding this comment

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

A few minor comments but it's almost good to go!

@wschin
Copy link
Member

wschin commented Jun 10, 2019

Thanks a lot for contributing this fix! Would you consider making a direct test between ML.NET and LightGBM using non-default sigmoid? We have a similar test here.

@michaelgsharp
Copy link
Contributor Author

Thanks for your feedback @wschin ! I added a positive and negative test case for the case you mentioned.

Copy link
Member

@wschin wschin left a comment

Choose a reason for hiding this comment

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

Overall LGTM. Just some minor comments. :)

@michaelgsharp michaelgsharp merged commit 6722dbf into dotnet:master Jun 12, 2019
@michaelgsharp michaelgsharp deleted the bugfix/hardwired-sigmoid branch June 27, 2019 18:09
codemzs added a commit to codemzs/machinelearning that referenced this pull request Jul 3, 2019
This reverts commit 6722dbf.

# Conflicts:
#	test/Microsoft.ML.Tests/TrainerEstimators/TreeEstimators.cs
@ghost ghost locked as resolved and limited conversation to collaborators Mar 21, 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.

Hardwired value of Sigmoid parameter used instead of value specified in parameters

4 participants