Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
I have developed a k-means algorithm which accepts a maximum of 5 clusters. You can specify distance measure to use, i.e. 'euclidean', 'cosine' etc. and the function will also produce a scatter plot of your clustered data.
Please note:
- This is my first attempt at creating a k-means algorithm (created for university module work)
- It is by no means the fastest k-means algorithm available
- Uses random initialisation for initial centroids
- k_means_(d,k,distance)
- I have only tested it with a few types of data and have had great success, hopefully you won't have any problems
- If you are unfamiliar with this algorithm, please note that it requires a minimum of 2 dimensions for it to work.
- Use only numerical data i.e. ratio, interval. This algorithm is not suitable for categorical or ordinal data types.
Zitieren als
dangrewal (2026). k_means_(d, k, distance) (https://de.mathworks.com/matlabcentral/fileexchange/48476-k_means_-d-k-distance), MATLAB Central File Exchange. Abgerufen .
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und MATLAB Answers
Allgemeine Informationen
- Version 1.1.0.0 (2,71 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.1.0.0 | Added note in description specifying that a minimum of 2 dimensions are needed
|
||
| 1.0.0.0 |
