August 5, 2017

Introduction

Prediction plays a major role in the field of analytics. This is a mearly a very simple example how prediction algorithms are used in real time. We use iris dataset for this project.

R Output

Random forest algorithm is being used in this appliaction for prediction.

fitControl <- trainControl(method = "cv", number = 5)
    fitRF <- train(Species ~ ., data = iris,
                   method = "rf",
                   trControl = fitControl)

Link to application