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, 2020 in Machine Learning by akhtar
• 38,220 points
331 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
Hope this helps!

Hope this helps!

To know more about Machine Learning, Join the best Machine Learning course online today.

Thank you!!

answered Apr 13, 2020 by MD
• 95,320 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,570 points
283 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, 2020 in Machine Learning by MD
• 95,320 points
893 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
392 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, 2020 in Machine Learning by MD
• 95,320 points
16,605 views
+1 vote
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,390 points
237 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, 2020 in Machine Learning by akhtar
• 38,220 points
3,569 views
+1 vote
2 answers

ValueError: Found input variables with inconsistent numbers of samples: [1, 1000]

Hi@akhtar, Here you used x as your feature ...READ MORE

answered Apr 14, 2020 in Machine Learning by MD
• 95,320 points

edited Aug 11 by Soumya 37,652 views
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, 2020 in Machine Learning by MD
• 95,320 points
203 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, 2020 in Machine Learning by MD
• 95,320 points
164 views