简体   繁体   中英

How to continuously train our pre-trained model on real time data?

I have some sensors which fetch data from cement factory and sends data to AWS IoT. The data is then tested on pre-trained model and the model predicts quality of cement based on some parameters. The data is coming in one second interval.

Since the data is coming in real-time, I want to train the model incrementally in real time.

Can anybody suggest how train model continuously?

You could aggregate certain numbers of training data and then use .partial_fit() to update your model.

.partial_fit() is the incremental learning option, which is available in Sklearn.

If your incremental data would not fit in RAM, then its worth trying dask-ml wrapper for incremental learning .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM