Summary

In this chapter, we've learned about how to make use of categorical variables to group data into classes.

We've seen how quantify the difference between groups using the odds ratio and relative risk, and how to perform statistical significance tests on groups using the X2 test. We've learned about how to build machine learning models suitable for the task of classification with a variety of techniques: logistic regression, naive Bayes, decision trees, and random forests, and several methods of evaluating them; the confusion matrix and the kappa statistic. We also learned about the opposing dangers of high bias and of overfitting in machine learning, and how to ensure that your model is not overfitting by making use of cross-validation. ...

Get Clojure for Data Science now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.