R- script work

Anonymous
timer Asked: Mar 6th, 2018

Question description

Use R-script language to write following 1-8. Only allowed to use the R-script ! thanks

1 - File Reader (for comma separated values CSV) to linear correlation node and to the interactive histogram for basic exploratory data analysis (EDA).

2- File Reader to 'Rule Engine Node' to turn the 11-point scale to dichotomy variable (good wine and rest), the code is shown below will be used to put in the rule engine:

- $quality$ > 6.5 => "good"

- TRUE => "bad"

3- Rule Engine Node output to the input of Column Filter node to filter out the original 10point feature. This will basically prevent the issue of leaking.

4- Column Filter Node output to the input of Partitioning Node (your standard train/test split, for example, 75%/25%, choose 'random' or 'stratified')

5- Partitioning Node train data split output to the input of Train data split to input Decision Tree Learner node.

6- Partitioning Node test data split output to input Decision Tree Predictor Node

7- Decision Tree Learner Node output to input Decision Tree Node input

8- Decision Tree output to input ROC Node. This will make it possible to evaluate the entire model base by computing the area under the curve. These processes can be conducted separately for both the red and the white wine to answer the third research question/ hypothesis which is; how do the top 3 important physiochemical properties for red wine correlated to that of white wine?

Tutor Answer

(Top Tutor) Studypool Tutor
School: UT Austin
Studypool has helped 1,244,100 students
flag Report DMCA
Similar Questions
Hot Questions
Related Tags

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors