![](/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.