Regression Features and Labels - Practical Machine Learning Tutorial with Python p.3

We’ll be using the numpy module to convert data to numpy arrays, which is what Scikit-learn wants. We will talk more on preprocessing and cross_validation when we get to them in the code, but preprocessing is the module used to do some cleaning/scaling of data prior to machine learning, and cross_ alidation is used in the testing stages. Finally, we’re also importing the LinearRegression algorithm as well as svm from Scikit-learn, which we’ll be using as our machine learning algorithms to demonstrate result
Back to Top