paint-brush
Don't Trust a Pickleby@LawnboyMax
6,861 reads
6,861 reads

Don't Trust a Pickle

by Max Lawnboy6mJune 20th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

If you are using <a href="https://hackernoon.com/tagged/python" target="_blank">Python</a>, especially for machine learning, you should be somewhat familiar with the standard library module named <a href="https://docs.python.org/3.6/library/pickle.html" target="_blank">pickle</a>. It is used for Python object serialization and comes very handy in wide range of applications. Some objects that you might want to serialize: a trained scikit-learn model, a Pandas DataFrame that you got after a lengthy join of several tables; basically any Python object that consists of heterogeneous data that you might want to quickly load in a new environment in the future (for homogeneous data, like neural network weights or training data tensor, it’s better to use a more suitable format like <a href="http://www.h5py.org/" target="_blank">HDF5</a>).

Company Mentioned

Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - Don't Trust a Pickle
Max Lawnboy HackerNoon profile picture
Max Lawnboy

Max Lawnboy

@LawnboyMax

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite