You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I would like to ask, how to use minirocket for production or implementation phase. is there any way to save minirocket that was fitted in training data and use it for new dataset?
thank you
The text was updated successfully, but these errors were encountered:
Hi @ramdhan1989, thanks for your question, sorry for the slow response.
This could make sense if the new dataset is drawn from more or less the same distribution as the old dataset.
In any case, what you would need to do is: (a) store the parameters generated by fit(...); and (b) store the ridge regression model.
The parameters are a tuple of three numpy arrays. You could use pickle on the tuple, or you could use numpy save / numpy savez to store the arrays via numpy.
In terms of the ridge regression model, I believe you can pickle the fitted model, or there are a couple of other options for storing the model: https://scikit-learn.org/stable/model_persistence.html. Another option which is a bit more convoluted would be to extract the learned parameters etc from the model, save these, and then assign them to a new classifier instance when loading.
Hi,
I would like to ask, how to use minirocket for production or implementation phase. is there any way to save minirocket that was fitted in training data and use it for new dataset?
thank you
The text was updated successfully, but these errors were encountered: