<jupyter_start><jupyter_text>피클로 담은 변수를 다시 가져오기<jupyter_code>import pickle
pickle.load(open('./saves/favorite_save.pkl','rb'))
favorite_load=pickle.load(open('./saves/favorite_save.pkl','rb'))
favorite_load,type(favorite_load)
favorite_load['tiger']
pickle.load(open('./saves/autompg_lr.pkl','rb'))
autompg_lr=pickle.load(open('./saves/autompg_lr.pkl','rb'))
autompg_lr,type(autompg_lr)
autompg_lr.predict([[3504.0,8]])<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.19376391982182628, 'fraction_numerical': 0.013363028953229399, 'mean_word_length': 11.5, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '209466', 'license': 'Apache-2.0', 'n_tokens_mistral': 204, 'n_tokens_neox': 214, 'n_words': 14, 'path': '5_load_pickle.ipynb', 'repo_name': 'ginttone/multi_machinlearning', 'size': '449'}