官术网_书友最值得收藏!

Summary

In this chapter, we reviewed two classification techniques: KNN and SVM. The goal was to discover how these techniques work and ascertain the differences between them, by building and comparing models on a common dataset. KNN involved both unweighted and weighted nearest neighbor algorithms, and for SVM, only a linear model was developed, which outperformed all other models.

We examined how to use Recursive Feature Elimination to find an optimal set of features for both methods. We used the extremely versatile caret package to train the models. We expanded our exploration of model performance using a confusion matrix, and the relevant statistics that one can derive from the matrix. We'll now use tree-based classifiers, which are very powerful and very popular.

主站蜘蛛池模板: 依安县| 五莲县| 文水县| 康平县| 金华市| 桦甸市| 南投县| 浪卡子县| 新宁县| 青浦区| 瓦房店市| 秦安县| 留坝县| 绥阳县| 亳州市| 贵定县| 肥城市| 南通市| 富川| 遵义县| 桃源县| 和静县| 天津市| 阿瓦提县| 德州市| 额敏县| 富裕县| 长沙县| 西宁市| 武强县| 奈曼旗| 格尔木市| 阿图什市| 云和县| 高安市| 海安县| 青浦区| 周至县| 冕宁县| 治县。| 韶山市|