Irises

Non-Linear Classification in R

In this post you will discover 8 recipes for non-linear classification in R. Each recipe is ready for you to copy and paste and modify for your own problem. All recipes in this post use the iris flowers dataset provided with R in the datasets package. The dataset describes the measurements if iris flowers and requires classification of […]

Continue Reading 4
binary classification

Linear Classification in R

In this post you will discover recipes for 3 linear classification algorithms in R. All recipes in this post use the iris flowers dataset provided with R in the datasets package. The dataset describes the measurements if iris flowers and requires classification of each observation to one of three flower species. Let’s get started. Logistic […]

Continue Reading 10
decision tree

Non-Linear Regression in R with Decision Trees

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. Let’s get started. Classification […]

Continue Reading 16
non-linear regression

Non-Linear Regression in R

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. Let’s get started. Each example in this post uses the longley dataset provided in the datasets package that comes with R. The […]

Continue Reading 18
Penalized Regression

Penalized Regression in R

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. Let’s get started. Each example in this post uses the longley dataset provided in the datasets […]

Continue Reading 29
ordinary least squares regression

Linear Regression in R

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. Let’s get started. Each example in this post uses the longley dataset […]

Continue Reading 8