Pickling and Scaling - Practical Machine Learning Tutorial with Python p.6

Channel:
Subscribers:
1,410,000
Published on ● Video Link: https://www.youtube.com/watch?v=za5s7RB_VLw



Category:
Tutorial
Duration: 6:25
174,937 views
1,497


In the previous Machine Learning with Python tutorial we finished up making a forecast of stock prices using regression, and then visualizing the forecast with Matplotlib. In this tutorial, we'll talk about some next steps.

I remember the first time that I was trying to learn about machine learning, and most examples were only covering up to the training and testing part, totally skipping the prediction part. Of the tutorials that did the training, testing, and predicting part, I did not find a single one that explained saving the algorithm. With examples, data is generally pretty small overall, so the training, testing, and prediction process is relatively fast. In the real world, however, data is likely to be larger, and take much longer for processing. Since no one really talked about this important stage, I wanted to definitely include some information on processing time and saving your algorithm.

While our machine learning classifier takes a few seconds to train, there may be cases where it takes hours or even days to train a classifier. Imagine needing to do that every day you wanted to forecast prices, or whatever. This is not necessary, as we can just save the classifier using the Pickle module.

https://pythonprogramming.net
https://twitter.com/sentdex
https://www.facebook.com/pythonprogramming.net/
https://plus.google.com/+sentdex




Other Videos By sentdex


2016-05-05Creating Our K Nearest Neighbors Algorithm - Practical Machine Learning with Python p.16
2016-05-03Euclidean Distance - Practical Machine Learning Tutorial with Python p.15
2016-05-01K Nearest Neighbors Application - Practical Machine Learning Tutorial with Python p.14
2016-04-29Classification w/ K Nearest Neighbors Intro - Practical Machine Learning Tutorial with Python p.13
2016-04-26Testing Assumptions - Practical Machine Learning Tutorial with Python p.12
2016-04-23Programming R Squared - Practical Machine Learning Tutorial with Python p.11
2016-04-21R Squared Theory - Practical Machine Learning Tutorial with Python p.10
2016-04-18How to program the Best Fit Line - Practical Machine Learning Tutorial with Python p.9
2016-04-17How to program the Best Fit Slope - Practical Machine Learning Tutorial with Python p.8
2016-04-16Regression How it Works - Practical Machine Learning Tutorial with Python p.7
2016-04-14Pickling and Scaling - Practical Machine Learning Tutorial with Python p.6
2016-04-13Regression forecasting and predicting - Practical Machine Learning Tutorial with Python p.5
2016-04-12Regression Training and Testing - Practical Machine Learning Tutorial with Python p.4
2016-04-11Regression Features and Labels - Practical Machine Learning Tutorial with Python p.3
2016-04-10Regression Intro - Practical Machine Learning Tutorial with Python p.2
2016-04-10Practical Machine Learning Tutorial with Python Intro p.1
2016-03-16Building a Quadcopter p.5 - First flight and other Info
2016-03-14Building a Quadcopter p.4 - ESC Calibration with Hobbypower KK2.15
2016-03-11Building a Quadcopter p.3 - Assembly
2016-03-08Building a Quadcopter p.2 - Parts
2016-03-07Building a Quadcopter p.1 - Introduction



Tags:
machine learning
python
tutorial
artificial intelligence
scikit-learn
theano
tensorflow
regression
linear regression
linear regression code