-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Creation of components through MLContext, internalization, and renaming #2510
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
@@ -197,7 +197,7 @@ public sealed class CustomMappingEstimator<TSrc, TDst> : TrivialEstimator<Custom | |||
/// <param name="contractName">The contract name, used by ML.NET for loading the model. If <c>null</c> is specified, such a trained model would not be save-able.</param> | |||
/// <param name="inputSchemaDefinition">Additional parameters for schema mapping between <typeparamref name="TSrc"/> and input data.</param> | |||
/// <param name="outputSchemaDefinition">Additional parameters for schema mapping between <typeparamref name="TDst"/> and output data.</param> | |||
public CustomMappingEstimator(IHostEnvironment env, Action<TSrc, TDst> mapAction, string contractName, | |||
internal CustomMappingEstimator(IHostEnvironment env, Action<TSrc, TDst> mapAction, string contractName, |
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.
CustomMappingEstimator [](start = 17, length = 22)
We don't have any samples/ tests with it at all? #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.
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.
35e93ef
to
80bde05
Compare
docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/RandomTrainerSample.cs
Show resolved
Hide resolved
docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/PriorTrainerSample.cs
Show resolved
Hide 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.
ff4cd97
to
205958c
Compare
Codecov Report
@@ Coverage Diff @@
## master #2510 +/- ##
==========================================
+ Coverage 71.25% 71.25% +<.01%
==========================================
Files 797 797
Lines 141271 141280 +9
Branches 16115 16115
==========================================
+ Hits 100663 100671 +8
- Misses 36148 36149 +1
Partials 4460 4460
|
|
||
namespace Microsoft.ML.Samples.Dynamic | ||
{ | ||
public class RandomTrainerSample |
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.
RandomTrainerSample [](start = 17, length = 19)
Zeeshan A, Shahab and me have PRs where we create BinaryClassification folder.
Any chance you can move this two to that folder?
Fixes #1798, #1758
DnnImageFeaturizerEstimator
,PriorTrainer
, andRandomTrainer
. This required to add catalog extensions for these three trainers. Internalizing these constructor closes issue Creation of components through MLContext: advanced options and other feedback #1798.Arguments
toOptions
which closes issue Arguments class should be made internal when possible #1758.ITransformers
andIEstimators
.Options
class in TensorflowTransform to the estimator.