-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Cleaned and fixed public API surface for KMeans, NaiveBayes, OLS. #2819
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
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.
Small comments, otherwise looks super good! #Resolved |
Codecov Report
@@ Coverage Diff @@
## master #2819 +/- ##
==========================================
+ Coverage 71.68% 71.69% +0.01%
==========================================
Files 808 809 +1
Lines 142402 142494 +92
Branches 16113 16114 +1
==========================================
+ Hits 102076 102162 +86
- Misses 35893 35900 +7
+ Partials 4433 4432 -1
|
@@ -9,7 +9,7 @@ public static void Example() | |||
{ | |||
// Create a new ML context, for ML.NET operations. It can be used for exception tracking and logging, | |||
// as well as the source of randomness. | |||
var ml = new MLContext(); | |||
var ml = new MLContext(seed: 1, conc: 1); |
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.
seed: 1, conc: 1 [](start = 35, length = 16)
is this needed? #Resolved
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.
Yes, its needed otherwise results are different on every run.
In reply to: 262274167 [](ancestors = 262274167)
Please link to the KMeansPlusPlusTrainerthrough Shahab put a template in place for how to document extensions, so we have a pointer to the main estimator where there are more explanations. Refers to: src/Microsoft.ML.KMeansClustering/KMeansCatalog.cs:19 in 2a1bb29. [](commit_id = 2a1bb29, deletion_comment = False) |
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 is the final PR related to #2620. This PR finally fixes #2620
The following learners are addressed in this PR.
the following tasks were performed in classes related to above learners.
Checking to make sure that unnecessary public methods/properties be internal.
Renaming parameters according to standard.
Creating/Refactoring samples according to standards.