Trainer Entrypoints should allow validation set/preinitialization of model states for learners that support them #281
Labels
API
Issues pertaining the friendly API
enhancement
New feature or request
P2
Priority of the issue for triage purpose: Needs to be fixed at some point.
The underlying trainer implementations can implement
IIncrementalTrainer
(for preinitializing models, or online training) orIValidatingTrainer
(for models that have validation sets). As far as I see, however, no trainer actually puts optional inputs for a validation set or an incremental training in their entry-point inputs.For example: we have this learner here.
machinelearning/src/Microsoft.ML.StandardLearners/Standard/LinearClassificationTrainer.cs
Lines 1451 to 1453 in fb06f38
Yet, the input uses the same general type of input used by practically all the typical trainers, without any sort of initial predictor.
machinelearning/src/Microsoft.ML.StandardLearners/Standard/LinearClassificationTrainer.cs
Lines 1756 to 1757 in fb06f38
This results in the unfortunate situation that while the underlying runtime code does implement code to enable some form of online learning, the new public API has does not actually expose that to users. See e.g., #257 for a request for this.
The text was updated successfully, but these errors were encountered: