How to save machine learning model?

0 votes

Hi Guys,

I have one Machine learning model in my jupyter notebook. Now, I want to use this model in a different program. How can I do that?

Thank You

Apr 13 in Machine Learning by akhtar
• 10,580 points
70 views

1 answer to this question.

0 votes

Hi@akhtar,

To save your Machine Learning model, you have to import one module named joblib.

from sklearn.externals import joblib
joblib.dump(model,'model_name')

To use this model in a different program, you have to import this model. Follow the below given link to import a pre created model .

https://www.edureka.co/community/66585/how-to-import-one-machine-learning-model
answered Apr 13 by MD
• 23,050 points

Related Questions In Machine Learning

0 votes
0 answers

How to know if a problem is solvable by machine learning?

I have recently started learning the machine. ...READ MORE

Nov 21, 2019 in Machine Learning by Hannah
• 18,040 points
95 views
0 votes
1 answer

How to save CNN model in keras?

Hi@akhtar, You can save your CNN model in keras. For ...READ MORE

answered May 19 in Machine Learning by MD
• 23,050 points
28 views
0 votes
1 answer

Process for mechanical engineer to become machine learning Engineer?

Hey! There are two main languages that ...READ MORE

answered Aug 20, 2019 in Machine Learning by Vishal
192 views
+1 vote
1 answer

ValueError: could not convert string to float in Machine learning.

Hi@akhtar, You are trying to use constant variable ...READ MORE

answered Apr 14 in Machine Learning by MD
• 23,050 points
1,412 views
0 votes
1 answer

ROC curve use

ROC curve is basically used to reflect ...READ MORE

answered Oct 30, 2018 in Data Analytics by kurt_cobain
• 9,310 points
105 views
+2 votes
2 answers
0 votes
1 answer

ImportError: cannot import name 'train_test_split' from 'sklearn.linear_model

Hi@MD, I think in your version, linear_model  don't have train_test_split ...READ MORE

answered Apr 13 in Machine Learning by akhtar
• 10,580 points
150 views
+1 vote
1 answer
0 votes
1 answer

How to import one Machine Learning model?

Hi@akhtar, To import one pre-created ML model, you ...READ MORE

answered Apr 13 in Machine Learning by MD
• 23,050 points
44 views
0 votes
1 answer

How to integrate Machine Learning with Spark?

Hi@akhtar, To integrate Hadoop with Spark, you need ...READ MORE

answered May 6 in Machine Learning by MD
• 23,050 points
25 views