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,230 points
697 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,440 points

Related Questions In Machine Learning

0 votes
1 answer

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

Transitioning from learning machine learning algorithms through ...READ MORE

answered Dec 13, 2023 in Machine Learning by anonymous
• 1,180 points
591 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,440 points
1,690 views
0 votes
1 answer
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

edited Oct 14, 2022 by Srinath 807 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
632 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,230 points
7,568 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,440 points

edited Aug 11, 2021 by Soumya 57,166 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,440 points
519 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,440 points
574 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP