-
Notifications
You must be signed in to change notification settings - Fork 231
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
finish! #91
base: master
Are you sure you want to change the base?
finish! #91
Conversation
|
||
|
||
``` | ||
We can see that based on the model we've generated from the old data, the degree of accuracy predicting the new data is only 58%. I don't think this is a very accurate prediction. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try to be more specific, as in, state whether the model is generalizable or does it overfit.
|
||
``` | ||
## Part III | ||
Compare the predicted advice with the actual advice that these students recieved. What is the difference between the observed and predicted results? | ||
|
||
```{r} | ||
# all the students in the new dataset achieved a score of 1.0, therefore, the accuracy of our model's prediction would be: | ||
mean(ifelse(D2$prediction == "no action", 1, 0)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another way to calculate the accuracy of the model's prediction is to create a table or a confusion matrix.
``` | ||
|
||
Please interpret the tree, which two behaviors do you think the teacher should most closely pay attemtion to? | ||
|
||
Interpret from this plot, the students who are asking for hints for less than 12 times and have less than 63% questions answered correctly before this session are very likely to need intervention (node7). Other than that, students who do not ask for any hints, while have answered less than 85 questions correctly are also quite likely need interventions(node 3). Therefore, I think "students that ask for less than 12 hints" and "have answered less than 85 questions correctly" are the two most important behaviors that teachers should pay close attention to. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
|
||
``` | ||
We can see that based on the model we've generated from the old data, the degree of accuracy predicting the new data is only 58%. I don't think this is a very accurate prediction. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, great job. Keep up the good work!
No description provided.