How to store the machine learning model pickle to azure blob and retrieve it/
I have created a pickle from my machine learning model and it is getting saved in local. I want to push it to azure blob storage and want to retrieve it later. How can I do it using python 3. Please help. ''' #model X_train, X_test, Y_train, Y_test = train_test_split(X, Y, test_size = 0.3, random_state = 100) regressor = LinearRegression() regressor.fit(X_train, Y_train) #Creating the pickle file finalized_model.sav on my local mypickle = 'finalized_model.sav' pickle.dump(regressor, open(mupickle, 'wb')) ''' I tried following for .csv importing and pushing from azure, but don't know how to do
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.