Skip to content

PRO TIP Block youtube.com at the DNS level โ€” Pi-hole, NextDNS or your hosts file โ€” but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Machine Learning Tutorial Python – 5: Save Model Using Joblib And Pickle

394.5K views on YouTube

Training machine learning model can be quite time consuming if training dataset is very big. In this case it makes sense to train a model and save it to a file so that later on while making predictions you can just load that model from a file and you don’t need to train it every time. Pickle and sklearn joblib modules can be used for this purpose. Joblib seems to be more efficient with big numpy arrays hence it is preferred when you have many numpy objects involved in your training step.

#MachineLearning #PythonMachineLearning #MachineLearningTutorial #Python #PythonTutorial #PythonTraining #MachineLearningCource #TrainingDataset #sklearntutorials #scikitlearntutorials

Code: https://github.com/codebasics/py/blob/master/ML/4_save_model/4_save_and_load_model_using_pickle.ipynb

Topics that are covered in this Video:
0:00 – Saving trained model to the file
0:14 – How to solve a problem using machine learning?
1:33 – Coding
2:06 – Save model using pickle module
5:10 – Save model using joblib module
5:13 – Difference between pickle and joblib?

Do you want to learn technology from me? Check https://resources.codebasics.io/05HY2r for my affordable video courses.

Next Video:
Machine Learning Tutorial Python – 6: Dummy Variables & One Hot Encoding: https://www.youtube.com/watch?v=9yl6-HEY7_s&list=PLeo1K3hjS3uvCeTYTeyfe0-rN5r8zn9rw&index=6

Populor Playlist:
Data Science Full Course: https://www.youtube.com/playlist?list=PLeo1K3hjS3us_ELKYSj_Fth2tIEkdKXvV

Data Science Project: https://www.youtube.com/watch?v=rdfbcdP75KI&list=PLeo1K3hjS3uu7clOTtwsp94PcHbzqpAdg

Machine learning tutorials: https://www.youtube.com/watch?v=gmvvaobm7eQ&list=PLeo1K3hjS3uvCeTYTeyfe0-rN5r8zn9rw

Pandas: https://www.youtube.com/watch?v=CmorAWRsCAw&list=PLeo1K3hjS3uuASpe-1LjfG5f14Bnozjwy

matplotlib: https://www.youtube.com/watch?v=qqwf4Vuj8oM&list=PLeo1K3hjS3uu4Lr8_kro2AqaO6CFYgKOl

Python: https://www.youtube.com/watch?v=eykoKxsYtow&list=PLeo1K3hjS3uv5U-Lmlnucd7gqF-3ehIh0&index=1

Jupyter Notebook: https://www.youtube.com/watch?v=q_BzsPxwLOE&list=PLeo1K3hjS3uuZPwzACannnFSn9qHn8to8

Tools and Libraries:
Scikit learn tutorials
Sklearn tutorials
Machine learning with scikit learn tutorials
Machine learning with sklearn tutorials

To download csv and code for all tutorials: go to https://github.com/codebasics/py, click on a green button to clone or download the entire repository and then go to relevant folder to get access to that specific file.

๐ŸŒŽ My Website For Video Courses: https://resources.codebasics.io/05HY2r

Need help building software or data analytics and AI solutions? My company https://www.atliq.com/ can help. Click on the Contact button on that website.

#๏ธโƒฃ Social Media #๏ธโƒฃ
๐Ÿ”— Discord: https://discord.gg/r42Kbuk
๐Ÿ“ธ Dhaval’s Personal Instagram: https://www.instagram.com/dhavalsays/
๐Ÿ“ธ Instagram: https://www.instagram.com/codebasicshub/
๐Ÿ”Š Facebook: https://www.facebook.com/codebasicshub
๐Ÿ“ Linkedin (Personal): https://www.linkedin.com/in/dhavalsays/
๐Ÿ“ Linkedin (Codebasics): https://www.linkedin.com/company/codebasics/
๐Ÿ“ฑ Twitter: https://twitter.com/codebasicshub
๐Ÿ”— Patreon: https://www.patreon.com/codebasics?fan_landing=true