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

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.

主站蜘蛛池模板: 大余县| 扎鲁特旗| 阳西县| 方城县| 明水县| 五家渠市| 吴桥县| 共和县| 全州县| 白城市| 象州县| 北票市| 麻江县| 区。| 江北区| 剑阁县| 墨脱县| 大埔县| 普定县| 咸宁市| 治县。| 嵊泗县| 开封县| 禹城市| 历史| 安阳市| 井陉县| 连平县| 桦川县| 商洛市| 肥乡县| 巴彦县| 凤山市| 澄迈县| 博乐市| 金阳县| 广南县| 莆田市| 平舆县| 星子县| 马边|