joblib

Solutions on MaxInterview for joblib by the best coders in the world

showing results for - "joblib"
Isidora
12 Apr 2018
1from sklearn.externals import joblib
2joblib.dump(svc,'project21-carcomforttype.obj')
3----------------------------------------------------------------------
4model=joblib.load('project21-carcomforttype.obj')
5----------------------------------------------------------------------
6Final_predictions=model.predict(x_test)
7Final_predictions=pd.DataFrame(Final_predictions,columns=['unacc(0),acc(1),good(2),vgood(3)'])
8Final_predictions[:5]
9----------------------------------------------------------------------
10Final_predictions.sample(n=10)
11--------------------------------------------------------------------
12#Saving final predictions in file.csv format
13Final_predictions.to_csv('E:\\final_predictionscarcomforttype',index=False)
Mirko
04 Nov 2018
1joblib.dump(svc,'project21-carcomforttype.obj')
2model=joblib.load('project21-carcomforttype.obj')