<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kurene</author_name>
  <author_url>https://blog.hatena.ne.jp/Kurene/</author_url>
  <blog_title>Wizard Notes</blog_title>
  <blog_url>https://www.wizard-notes.com/</blog_url>
  <categories>
    <anon>Programming</anon>
    <anon>NumPy</anon>
    <anon>Python</anon>
    <anon>pyqtgraph</anon>
    <anon>PyQt</anon>
    <anon>機械学習・深層学習</anon>
  </categories>
  <description>データをクラスタリングするアルゴリズムの代表的な手法の一つとして，K-means (k平均法)が知られています. シンプルな動作原理でクラスタリングできるので取っつきやすく，また，新たな仮定や制約を追加することで様々な派生アルゴリズムが提案されてきました． 今回は，「原点からの方向（角度）でクラスタリングする」という制約でクラスタリングする Spherical K-means を紹介します． K-meansの実装 使うデータ クラスタリングするデータ：x.shape==(サンプル数, 特徴量次元数) ↑の各サンプルがどのクラスタに属すか：labels.shape==(サンプル数, ラベル数) …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.wizard-notes.com%2Fentry%2Fpython%2Fspherical-k-means&quot; title=&quot;球面 (Spherical) K-means のクラスタリングのデモと実装例（Python，PyQtGraph） - Wizard Notes&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/K/Kurene/20210628/20210628192100.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-06-28 22:23:32</published>
  <title>球面 (Spherical) K-means のクラスタリングのデモと実装例（Python，PyQtGraph）</title>
  <type>rich</type>
  <url>https://www.wizard-notes.com/entry/python/spherical-k-means</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
