0
How to avoid reexecuting Python pandas operatios
I have a set of statements for building a ML model.I am testing it locally.so if an error occurs i need to debug and execute the whole error free code again which costs me more time .So is there any solution to store the objects generated by my model and avoid generating every time.
2 Answers
+ 1
Does the "error" mean your model was doing badly or coding errors like syntax error, exceptions? If it's the first case, you can make it that you are able to modify variables of the model or create and fit new models during execution. If it's the latter, you can comment the whole things related to the model and the data for the model. This can take time depends on your coding style and your code complexity in general.
0
CarrieForle i was hoping may be you could tell me about joblib or pickling .i heard it can help to save the previous operatios