From the course: Advanced Python in Excel: Machine Learning

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Machine learning with scikit-learn

Machine learning with scikit-learn

- [Instructor] Machine learning is a powerful tool for making predictions and also to uncover insights in financial data. Scikit-learn is one of the most popular libraries in Python for implementing machine learning algorithms. You can pre-process the data using scikit-learn's pre-processing module, and also scale the features using StandardScaler. This is to ensure that the features have a mean of zero and a standard deviation of one, which improves model performance. With scikit-learn, you will start again by just importing your different dataset, but then when you import scikit-learn, you can start using it to scale the features as I mentioned before, and to train machine learning models like linear regression. You will also be able to evaluate model's performance and generate performance metrics such as Mean Squared error, and to make predictions.

Contents