Skip to content

How to continue training based on the existing model? #517

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

Closed
22140505 opened this issue Jul 10, 2018 · 3 comments
Closed

How to continue training based on the existing model? #517

22140505 opened this issue Jul 10, 2018 · 3 comments
Labels
documentation Related to documentation of ML.NET

Comments

@22140505
Copy link

No description provided.

@ErcinDedeoglu
Copy link

+1

@zeahmed
Copy link
Contributor

zeahmed commented Jul 10, 2018

The core API does have this feature implemented. Please see the following interface and its implementations. However, current front facing C# API does not expose incremental training feature.

public interface IIncrementalTrainer<in TDataSet, in TPredictor> : ITrainer<TDataSet>

If you follow the new API #371 test cases and adapt your code in this format you might be able to use it.
https://github.com/dotnet/machinelearning/tree/master/test/Microsoft.ML.Tests/ScenariosWithDirectInstantiation

Please look at the following trainers for more details (this is the rough list).

  • AveragedLinearTrainer
  • LbfgsTrainerBase
  • OnlineLinearTrainer
  • LogisticRegression
  • AveragedPerceptronTrainer
  • FieldAwareFactorizationMachineTrainer
  • LinearSvm
  • MulticlassLogisticRegression
  • OnlineGradientDescentTrainer
  • PoissonRegression
  • StochasticGradientDescentClassificationTrainer

We will have concrete documentation and sample code available once we are close to releasing new API #371.

@Ivanidzo4ka Ivanidzo4ka added the documentation Related to documentation of ML.NET label Oct 18, 2018
@Ivanidzo4ka
Copy link
Contributor

DRI RESPONSE: I'm considering this as duplicate of #470.

@ghost ghost locked as resolved and limited conversation to collaborators Mar 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Related to documentation of ML.NET
Projects
None yet
Development

No branches or pull requests

4 participants