How to Load Data in Python with Scikit-Learn

Last Updated on December 13, 2019 Before you can build machine learning models, you need to load your data into memory. In this post you will discover how to load data for machine learning in Python using scikit-learn. Kick-start your project with my new book Machine Learning Mastery With Python, including step-by-step tutorials and the Python source code files for all examples. Let’s get started. Update March/2018: Added alternate link to download the dataset as the original appears to have […]

Read more

Rescaling Data for Machine Learning in Python with Scikit-Learn

Last Updated on June 30, 2020 Your data must be prepared before you can build models. The data preparation process can involve three steps: data selection, data preprocessing and data transformation. In this post you will discover two simple data transformation methods you can apply to your data in Python using scikit-learn. Kick-start your project with my new book Data Preparation for Machine Learning, including step-by-step tutorials and the Python source code files for all examples. Let’s get started. Update: […]

Read more

Feature Selection in Python with Scikit-Learn

Last Updated on June 4, 2020 Not all data attributes are created equal. More is not always better when it comes to attributes or columns in your dataset. In this post you will discover how to select attributes in your data before creating a machine learning model using the scikit-learn library. Kick-start your project with my new book Machine Learning Mastery With Python, including step-by-step tutorials and the Python source code files for all examples. Let’s get started. Update: For […]

Read more

How to Tune Algorithm Parameters with Scikit-Learn

Last Updated on August 21, 2019 Machine learning models are parameterized so that their behavior can be tuned for a given problem. Models can have many parameters and finding the best combination of parameters can be treated as a search problem. In this post, you will discover how to tune the parameters of machine learning algorithms in Python using the scikit-learn library. Kick-start your project with my new book Machine Learning Mastery With Python, including step-by-step tutorials and the Python […]

Read more

Java Machine Learning

Last Updated on September 29, 2016 Are you a Java programmer and looking to get started or practice machine learning? Writing programs that make use of machine learning is the best way to learn machine learning. You can write the algorithms yourself from scratch, but you can make a lot more progress if you leverage an existing open source library. In this post you will discover the major platforms and open source machine learning libraries you can use in Java. […]

Read more

Applied Machine Learning Lessons from A Case Study of Passenger Survival Prediction

Last Updated on August 22, 2019 A valuable exercise when learning and practicing machine learning is to study how others apply methods and solve problems. It’s valuable because you can learn about new processes, software, graphs, and algorithms. But it is new ways of thinking about the process of solving problems with machine learning that is the most valuable part of the exercise. In this post you will review Curt Wehrley approach for predicting passenger survival on the Titanic, a […]

Read more

Linear Regression in R

Last Updated on August 15, 2020 In this post you will discover 4 recipes for linear regression for the R platform. You can copy and paste the recipes in this post to make a jump-start on your own problem or to learn and practice with linear regression in R. Kick-start your project with my new book Machine Learning Mastery With R, including step-by-step tutorials and the R source code files for all examples. Let’s get started. Ordinary Least Squares RegressionSome […]

Read more

Penalized Regression in R

Last Updated on August 15, 2020 In this post you will discover 3 recipes for penalized regression for the R platform. You can copy and paste the recipes in this post to make a jump-start on your own problem or to learn and practice with linear regression in R. Kick-start your project with my new book Machine Learning Mastery With R, including step-by-step tutorials and the R source code files for all examples. Let’s get started. Penalized RegressionPhoto by Bay Area […]

Read more

Non-Linear Regression in R

Last Updated on August 15, 2020 In this post you will discover 4 recipes for non-linear regression in R. There are many advanced methods you can use for non-linear regression, and these recipes are but a sample of the methods you could use. Kick-start your project with my new book Machine Learning Mastery With R, including step-by-step tutorials and the R source code files for all examples. Let’s get started. Non-Linear RegressionPhoto by Steve Jurvetson, some rights reserved Each example […]

Read more

Non-Linear Regression in R with Decision Trees

Last Updated on August 15, 2020 In this post, you will discover 8 recipes for non-linear regression with decision trees in R. Each example in this post uses the longley dataset provided in the datasets package that comes with R. The longley dataset describes 7 economic variables observed from 1947 to 1962 used to predict the number of people employed yearly. Kick-start your project with my new book Machine Learning Mastery With R, including step-by-step tutorials and the R source code files for all […]

Read more
1 766 767 768 769 770 906