Blog Archives

R TensorFlow Deep Neural Network

September 22, 2019
By
R TensorFlow Deep Neural Network

In the previous post I fitted a neural network to the cars_19 dataset using the neuralnet package.  In this post I am going to use TensorFlow to fit a deep neural network using the same data.The main difference between the neuralnet package and TensorFlow is TensorFlow uses the adagrad optimizer by default whereas neuralnet uses rprop+  Adagrad is...

Read more »

R Neural Network

September 9, 2019
By
R Neural Network

In the previous four posts I have used multiple linear regression, decision trees, random forest, gradient boosting, and support vector machine to predict MPG for 2019 vehicles.   It was determined that svm produced the best model.  In this post I am going to use the neuralnet package to fit a neural network to the cars_19 dataset.The raw data...

Read more »

R Tensorflow Multiple Linear Regression

August 27, 2019
By
R Tensorflow Multiple Linear Regression

In the previous three posts I used multiple linear regression, decision trees, gradient boosting, and support vector machine to predict miles per gallon for 2019 vehicles.  It was determined that svm produced the best model.  In this post, I am going to run TensorFlow through R and fit a multiple linear regression model using the same data to predict...

Read more »

Using SVM to Predict MPG for 2019 Vehicles

August 11, 2019
By
Using SVM to Predict MPG for 2019 Vehicles

Continuing on the below post, I am going to use a support vector machine (SVM) to predict combined miles per gallon for all 2019 motor vehicles. Part 1: Using Decision Trees and Random Forest to Predict MPG for 2019 Vehicles Part 2: Using Gradient Boosted Machine to Predict MPG for 2019 Vehicles The raw data is located on the...

Read more »

R: SVM to Predict MPG for 2019 Vehicles

August 11, 2019
By
R: SVM to Predict MPG for 2019 Vehicles

Continuing on the below post, I am going to use a support vector machine (SVM) to predict combined miles per gallon for all 2019 motor vehicles. Part 1: Using Decision Trees and Random Forest to Predict MPG for 2019 Vehicles Part 2: Using Gradient Boosted Machine to Predict MPG for 2019 Vehicles The raw data is located on the...

Read more »

Using Gradient Boosted Machine to Predict MPG for 2019 Vehicles

June 18, 2019
By
Using Gradient Boosted Machine to Predict MPG for 2019 Vehicles

Continuing on the below post, I am going to use a gradient boosted machine model to predict combined miles per gallon for all 2019 motor vehicles. Part 1: Using Decision Trees and Random Forest to Predict MPG for 2019 Vehicles The raw data is located on the EPA government siteThe variables/features I am using for the models are: Engine...

Read more »

R: Gradient Boosted Machine to Predict MPG for 2019 Vehicles

June 18, 2019
By
R: Gradient Boosted Machine to Predict MPG for 2019 Vehicles

Continuing on the below post, I am going to use a gradient boosted machine model to predict combined miles per gallon for all 2019 motor vehicles. Part 1: Using Decision Trees and Random Forest to Predict MPG for 2019 Vehicles The raw data is located on the EPA government siteThe variables/features I am using for the models are: Engine...

Read more »

Predicting MPG for 2019 Vehicles using R

June 12, 2019
By
Predicting MPG for 2019 Vehicles using R

I am going to use regression, decision trees, and the random forest algorithm to predict combined miles per gallon for all 2019 motor vehicles.  The raw data is located on the EPA government siteAfter preliminary diagnostics, exploration and cleaning I am going to start with a multiple linear regression model.The variables/features I am using for the models are: Engine...

Read more »

R: Birthday Problem

March 25, 2019
By
R: Birthday Problem

An interesting and classic probability question is the birthday problem.The birthday problem asks how many individuals are required to be in one location so there is a probability of 50% that at least two individuals in the group have the same birthday...

Read more »

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)