![](/img/trans.png)
[英]Different results when training a model with same initial weights and same data
[英]How to add training data to the model after initial training?
我正在嘗試為我的 scikit-learn model 添加數據。 例如,我有我一開始使用的數據(大約有 250 個)。 之后,我需要通過調用 function 再次訓練這個 model,依此類推。 我唯一想到的是每次都為現有數據數組添加新值並再次訓練 model,但這非常耗費資源並且需要更多時間。
還有另一種訓練機器學習 model 的方法嗎?
model = LinearRegression().fit(test, result)
reg.predict(task)
### and here I want to add some data, for example one or two examples like:
model.addFit(one_test, one_result)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.