- 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:


- Learning SQL Server Reporting Services 2012
- Arduino入門(mén)基礎(chǔ)教程
- Windows phone 7.5 application development with F#
- Cortex-M3 + μC/OS-II嵌入式系統(tǒng)開(kāi)發(fā)入門(mén)與應(yīng)用
- 電腦組裝與維修從入門(mén)到精通(第2版)
- 電腦常見(jiàn)問(wèn)題與故障排除
- 硬件產(chǎn)品經(jīng)理成長(zhǎng)手記(全彩)
- 現(xiàn)代辦公設(shè)備使用與維護(hù)
- 硬件產(chǎn)品經(jīng)理手冊(cè):手把手構(gòu)建智能硬件產(chǎn)品
- 計(jì)算機(jī)維修與維護(hù)技術(shù)速成
- 計(jì)算機(jī)組裝與維護(hù)(第3版)
- SiFive 經(jīng)典RISC-V FE310微控制器原理與實(shí)踐
- The Artificial Intelligence Infrastructure Workshop
- 計(jì)算機(jī)組裝與維護(hù)教程
- 電腦軟硬件維修寶典