How to import one Machine Learning model

0 votes
I have one pre created Machine Learning model. I want to use this model in a different model. How can I do that?

Thank You
Apr 13, 2020 in Machine Learning by akhtar
• 38,220 points
203 views

1 answer to this question.

0 votes

Hi@akhtar,

To import one pre-created ML model, you have to import that model using joblib module. Use these below given code.

from sklearn.externals import joblib
joblib.load('model_name')

Hope this will help.

If you wanna know more about Machine Learning, It's recommended to go for 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

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
0 votes
1 answer

How to add one new column in an existing dataset?

Hi@akhtar, You can do this task using numpy ...READ MORE

answered Apr 17, 2020 in Machine Learning by MD
• 95,320 points
1,166 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 save machine learning model?

Hi@akhtar, To save your Machine Learning model, you ...READ MORE

answered Apr 13, 2020 in Machine Learning by MD
• 95,320 points
331 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