b2net / big_data_analysis

R Code used in the bachelor thesis "Early Signals for changes of Economic Indicators using Big Data Analysis" (supervised by Lukas Borke)
4 stars 11 forks source link

Tree_OJ.R - MetaInfo needed plus title for the first plot #4

Closed lborke closed 9 years ago

DanielAubin commented 9 years ago

------------------------------------------------------

Name of QuantLet: Decision Tree and Random Forest

------------------------------------------------------

Published in: ISLR-Package

------------------------------------------------------

Description: The data contains 1070 purchases where the customer either purchased Citrus Hill or

                   Minute Maid Orange Juice. A number of characteristics of the customer and product   
                   are recorded

------------------------------------------------------

Keywords: tree, regression, classification

------------------------------------------------------

See also: https://cran.r-project.org/web/packages/ISLR/ISLR.pdf,

               http://statweb.stanford.edu/~lpekelis/talks/13_datafest_cart_talk.pdf

------------------------------------------------------

Author:

------------------------------------------------------

Submitted:

------------------------------------------------------

Datafile: Orange Juice Data

------------------------------------------------------

Input:

------------------------------------------------------

Output: Summary and Plot of a classification tree and comaprison with Random Forest

------------------------------------------------------

Example:

------------------------------------------------------

DanielAubin commented 9 years ago

Title for the first Plot: "Classification Tree"