- Machine Learning with Swift
- Alexander Sosnovshchenko
- 217字
- 2021-06-24 18:55:03
Using instance-based models for classification and clustering
Instance-based machine learning algorithms are usually easy to understand as they have some geometrical intuition behind them. They can be used to perform different kinds of tasks, including classification, regression, clustering, and anomaly detection.
It's easy to confuse classification and clustering at first. Just to remind you, classification is one of the many types of supervised learning. The task is to predict some discrete label from the set of features (Figure 3.4, left pane). Technically, classification goes in two types: binary (check yes or no), and multiclass (yes/no/maybe/I don't know/can you repeat the question?). But in practice, you can always build a multiclass classifier from several binary classifiers.
On the other hand, clustering is the task of unsupervised learning. This means that, unlike classification, it knows nothing about data labels, and works out clusters of similar samples in your data on its own. In the next chapter, we are going to discuss an instance-based clustering algorithm called k-means (KNN), and in this chapter, we focus on applications of instance-based algorithm KNN to multiclass classification:


- Aftershot Pro:Non-destructive photo editing and management
- Istio入門與實戰(zhàn)
- ATmega16單片機項目驅(qū)動教程
- 深入淺出SSD:固態(tài)存儲核心技術(shù)、原理與實戰(zhàn)(第2版)
- scikit-learn:Machine Learning Simplified
- Apple Motion 5 Cookbook
- Creating Flat Design Websites
- 基于Proteus仿真的51單片機應(yīng)用
- FPGA實戰(zhàn)訓(xùn)練精粹
- 微服務(wù)架構(gòu)實戰(zhàn):基于Spring Boot、Spring Cloud、Docker
- 計算機組裝與維護(hù)立體化教程(微課版)
- Learn Qt 5
- USB 3.0編程寶典
- Spring微服務(wù)實戰(zhàn)(第2版)
- PLC技術(shù)實用教程