## METRIC

The evaluation metric for this competition is the overall **accuracy** of your predictions. 

## SUBMISSION FORMAT

Submission files should contain two columns: `id_num` and `political_affiliation`.  The ID Numbers should be the same as those in the `test.csv` file, and the `political_affiliation_predicted` values should be your predicted affiliation. 

You can generate a properly formatted prediction file as follows, assuming `test_data` is your test dataset and `final_model_fit` is your fitted final chosen model:
```
final_predictions &lt;- data.frame(
    id_num  = test_data$id_num,
    political_affiliation_predicted = predict(final_model_fit, test_data)$.pred_class
)
```

```
final_predictions %&gt;% write_csv("final_predictions.csv")
```

*(Note: This will save the file `final_predictions.csv` to your working directory.  If you aren't sure how to find that, I am happy to help.)*