Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jiancong Shen Assignment 5 #98

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Assignment 5.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ plot(score_ctree)
```

Please interpret the tree, which two behaviors do you think the teacher should most closely pay attemtion to?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try to answer this question.


The teacher should pat attention to prior_prob_count and hints, since they are two deteermining factors in the graph.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try to elaborate on it based on the information from the decision tree.

#Test Tree
Upload the data "intelligent_tutor_new.csv". This is a data set of a differnt sample of students doing the same problems in the same system. We can use the tree we built for the previous data set to try to predict the "advice" we should give the teacher about these new students.

Expand All @@ -81,7 +81,7 @@ Compare the predicted advice with the actual advice that these students recieved
D2$advice <- ifelse(D2$score>=0.8,1,ifelse(D2$score<=0.5,3,2))
accuracy<-nrow(filter(D2,prediction==1))/nrow(D2)

#The predicted score is 65% accurate.
#The predicted score is 65% accurate. The model is too generalized we can have more variables add to the graph. The error rate is 35%.
```

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, great job on the coding part of this assignment but you may want to work on the analysis.


### To Submit Your Assignment
Expand Down