Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [pickle]

Pickle is a common way of serializing objects in Python. It is mostly used to save trained machine learning models

Filter by
Sorted by
Tagged with
1
vote
1answer
11 views

Attribute error when loading pickle file in python jupyter notebook

I have created a config file with the following code for an object detection task and saved in the local disk. ...
0
votes
1answer
20 views

How to save/load a Model (Pickle) with a specific path/directory

I seems like a very basic think but I couldnt find an answer to it. I want to save my model to a specific directory using pickle. The two algorithms below work fine for saving it in the same ...
0
votes
1answer
5 views

Using a trained Model from Pickle

I trained and saved a model that should predict a sons hight based on his fathers height. I then saved the model to Pickle. I can now load the model and want to use it but unfortunately a second ...
0
votes
1answer
24 views

Transform test data when using a persistent model

I'm quite new to data science and only slowly following the necessary steps to get valid results using scikit-learn. As far as I understand you fit and transform the training data and only transform ...
0
votes
2answers
29 views

The actual results and results from pickle files are not matching in pandas for DBSCAN clustering

I've built a DBSCAN clustering model. The output result and the result after using the pickle files are not matching. Based on HD and MC column, I am clustering WT column. ...
0
votes
0answers
28 views

Can I update my model using partial_fit after training my model using fit?

I have trained my model using MLPClassifier using fit method and saving in pickle object for the first time. ...
0
votes
0answers
27 views

Should I load my model pkl object every time when I predict?

I am predicting the data in real time , when I hit the url it should predict but I should not load my model again and again . Can someone help to optimize the code ? Can I load globally or how can I ...
0
votes
0answers
35 views

Save xboost model from R as Python pickle

I trying save R model to pickle, but I getting error Evaluation error: Unable to convert R object to Python type. ...