Can anyone help with me how to train new data with already saved pickle file? Can anyone help me with the code me to train new data with already saved pickle file?
I've trained the model with RandomForestClassifier from sklearn and saved the model into .pickle
Now I'm trying to retrain the model on new data with same features. I want to use pickle file to train one new data. Can anyone help me with this in terms of code?
Load the pickle file and your new data. Fit the loaded model on the data
model = pickle.load(open(pickle_file,'rb'))
model.fit(x_new, y_new)