フィルターのクリア

Retrain Machine Learning Model On New Data

10 ビュー (過去 30 日間)
Sinan Islam
Sinan Islam 2022 年 4 月 6 日
コメント済み: Ryan Thomson 2024 年 1 月 11 日
Hello,
I have trained an SVM model using fitcsvm and saved it to disk.
Now I have new data that were never used by the model before.
How can I retrain the saved model over the new data?
Please, note this is just a simple model not a real time streaming model update.
Thank you!
  1 件のコメント
Ryan Thomson
Ryan Thomson 2024 年 1 月 11 日
Any solution to this question?

サインインしてコメントする。

回答 (1 件)

the cyclist
the cyclist 2024 年 1 月 11 日
I don't really understand the question. There is no such as "re-training" an existing model. You can do one of two things:
  1. Train the model on the new data
  2. Make predictions from the old model on the new data
In the first case, just run fitcsvm on the new data, and you have a new model.
In the second case, use the the predict() method of the old model on the new data.
Or maybe I'm misunderstanding something.
  1 件のコメント
Ryan Thomson
Ryan Thomson 2024 年 1 月 11 日
Guess what I am looking for is a way to do a version of transfer learning for deployed SVMs.
Say I have deployed a SVM as part of my product to an enduser, the enduser has the means to capture their own training data and access to the saved source SVM, and I want to allow the enduser to train (only on the new customer training data) the source SVM into a target SVM now customized for the enduser's system (without access to the original traning set and without losing previous knowlage). Is this possible with SVMs in Matlab? Maybe a version of incremental learning?

サインインしてコメントする。

タグ

製品


リリース

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by