1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Github Copilotで自己組織化マップを作ってみた

Last updated at Posted at 2025-02-25

背景

学生時代の研究室でSOMを研究発表したので、数年ほど前になるが、もう一度再現してみようと思ったから。

自己組織化マップ(SOM)とは

ざっくりいうと、入力の特徴量を学習して、入力同士の関係を低次元へ落とし込む教師なし学習モデル。
詳しくは以下を参照。

早速VSCodeで作ってみた

image.png

image.png

最初のコメントを途中まで入れると、そのあとのコメント、コードをGithub Copilotが自動で作成してくれた!!

結果

結果1

image.png

結果2

image.png

結果3

学習回数を100→10000にしてみた
image.png

感想

一次元だといまいちわからないから、次回は2次元にしてやってみようと思う。
Github Copilotを使えば、簡単なAIも自作できると思った。
今後も、Github Copilotを使ってSOMなど自作して試してみたいと思った。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?