-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Begin hiding the IPredictorProducing #2404
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
Codecov Report
@@ Coverage Diff @@
## master #2404 +/- ##
=========================================
Coverage ? 71.25%
=========================================
Files ? 785
Lines ? 140869
Branches ? 16102
=========================================
Hits ? 100381
Misses ? 36023
Partials ? 4465
|
| ConcurrentDictionary<FeatureSubsetModel<TOutput>, TOutput[]> predictions); | ||
| } | ||
|
|
||
| public delegate void SignatureEnsembleDiversityMeasure(); |
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.
public [](start = 4, length = 6)
public [](start = 4, length = 6)
maybe hide it as well? #Closed
src/Microsoft.ML.Ensemble/Trainer/Multiclass/EnsembleMultiClassModelParameters.cs
Show resolved
Hide resolved
test/Microsoft.ML.Tests/Scenarios/Api/CookbookSamples/CookbookSamples.cs
Show resolved
Hide resolved
Ivanidzo4ka
left a comment
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.
![]()
src/Microsoft.ML.Ensemble/Trainer/Multiclass/MulticlassDataPartitionEnsembleTrainer.cs
Outdated
Show resolved
Hide resolved
wschin
left a comment
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.
A super cool PR!
* Internalize the interface IDistPredictorProducing. * Remove the two-generic IPredictor as it is unused and unusable. * Refactor much of the Ensemble code so that it uses IPredictorProducing less in its public surface.
Towards but not quite finishing #2251. Why not finish? At issue is that we must resolve #2378 in some fashion (TBD) before we continue, but as it is I think this is a move in the right direction. The public surface using this interface has now been reduced considerably, but of course not quite completely eliminated. So this is not a work in progress, but I didn't want to leave such a big change lying around.
First commit internalizes the (less used)
IDistPredictorProducing, while the second does some but not all of the work of internalizingIPredictorProducing.