Content deleted Content added
→Algorithm: correction: class, not set |
Citation bot (talk | contribs) Added bibcode. | Use this bot. Report bugs. | Suggested by Dominic3203 | Linked from User:LinguisticMystic/cs/outline | #UCB_webform_linked 1410/2277 |
||
(19 intermediate revisions by 11 users not shown) | |||
Line 1:
{{Short description|A classification model in machine learning based on centroids}}
[[Image:Rocchioclassgraph.jpg|thumb|right|250px|Rocchio Classification]]
In [[machine learning]], a '''nearest centroid classifier''' or '''nearest prototype classifier''' is a [[statistical classification|classification model]] that assigns to observations the label of the class of training samples whose [[mean]] ([[centroid]]) is closest to the observation. When applied to [[text classification]] using [[vector space model|word vectors]] containing [[tf*idf]]
| last1 = Manning
| first1 = Christopher
Line 9 ⟶ 10:
| last3 = Schütze
| title = Introduction to Information Retrieval
| chapter =
| publisher = Cambridge University Press
| year = 2008
| url = http://nlp.stanford.edu/IR-book/html/htmledition/rocchio-classification-1.html
}}</ref>
Line 16 ⟶ 19:
| last1 = Tibshirani
| first1 = Robert
| authorlink1 = Robert Tibshirani
| last2 = Hastie
| first2 = Trevor
| authorlink2 = Trevor Hastie
| last3 = Narasimhan
| first3 = Balasubramanian
| last4 = Chu
| first4 = Gilbert
| title = Diagnosis of multiple cancer types by shrunken centroids of gene expression
| journal = Proceedings of the National Academy of Sciences
| volume = 99
| number = 10
| year = 2002
| doi = 10.1073/pnas.082099299
| pages=6567–6572
| pmid=12011421
| pmc=124443
| doi-access = free
| bibcode = 2002PNAS...99.6567T
}}</ref>
== Algorithm ==
===Training===
* Prediction function: the class assigned to an observation <math>\vec{x}</math> is <math>\hat{y} = {\arg\min}_{l \in \mathbf{Y}} \|\vec{\mu}_l - \vec{x}\|</math>▼
===Prediction===
▲
== See also ==
* [[Cluster hypothesis]]
* [[K-means clustering|''k''-means clustering]]
* [[K-nearest
* [[Linear discriminant analysis]]
== References ==
|