重心法や群平均法を用いたクラスタリング

2 次查看(过去 30 天)
早恵香
早恵香 2024-4-24
以下のようなデータを重心法または群平均法でクラスタリングしたいのですがどうすればいいのでしょうか。
また、クラスタリングしたデータは後で1次元のグラフで出します。
pd = makedist('Normal');
valid_rows = 300;
r = random(pd,[valid_rows,1]
r = 300x1
-0.2018 -1.2097 -1.6922 -0.9883 -0.9255 -0.3958 0.0815 0.4605 1.4051 1.1273
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!