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

Assignment 6 #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LittleGreenPig
Copy link

Yi Yang

```

### According to the table, the pruned tree does a better job in making predictions about the the students in the second data set than the original tree. The pruned tree has a lower error rate (0.4637). However, both of the trees have high error rates thus the model is not ideal for our data. Thus we might need to modify the model by including other variables.

Choose a reason for hiding this comment

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

Good job! What is the error rate of the original tree?

```

### The first model uses raw variables (SAT total score and high school GPA) to predict the outcome variable (gender), while the second model features an extract variable from the data (ACT total score) instead of SAT.

### Model 1 has a slightly lower error rate comparing to Model 2, which indicates that SAT total score has higher accuracy of predicting the student's gender than ACT total score. However, both of the trees have high error rates thus the model is not ideal for our data. Thus we might need to modify the model by taking other variables into consideration.

Choose a reason for hiding this comment

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

What are the error rates of the models?

```

### The first model uses raw variables (SAT total score and high school GPA) to predict the outcome variable (gender), while the second model features an extract variable from the data (ACT total score) instead of SAT.

### Model 1 has a slightly lower error rate comparing to Model 2, which indicates that SAT total score has higher accuracy of predicting the student's gender than ACT total score. However, both of the trees have high error rates thus the model is not ideal for our data. Thus we might need to modify the model by taking other variables into consideration.

Choose a reason for hiding this comment

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

Great job! Keep up the good work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants