機械学習(ニューラルネットワーク) を最初からプログラムして、数字判定システムを作ってみる
by rubiccube
Description
scratchの標準機能だけで作成しています。 「ゼロから作るDeep Learning: Pythonで学ぶディープラーニングの理論と実装」という本を参考にして、機械学習のプログラミングから作成しています。(誤差逆伝播法で学習され、活性化関数にはReLU関数、重みの初期値はHeの初期値が使われています。)()の部分は今は対応していません。今後実装する予定です。 大変だったことは、scratchは多次元配列に対応していないため、自分で多次元配列の仕組みの部分からつくらなければならなく難航したことと、「ゼロから作るDeep Learning: Pythonで学ぶディープラーニングの理論と実装」ではnumpyというライブラリを使うため、numpyの機能であるブロートキャストが使えないためscratchではnumpyでは1行で実装ができる所を、30ブロックぐらいで実装しなければならなかったことです。
Instructions
下のサイトで判定した方がとても速いです。 https://turbowarp.org/455169946 mnistというデータセットを使っています。 学習部分はできなかったため学習済みの重みを使用して学習しています。 今度はscrath拡張機能自作して高速化します。
Project Details
- Visibility
- Visible
- Comments
- Enabled
More Cool Projects
Fifa 22 Pack Opening Simulator! v3.0
by BerlinEPIAS
vertical stretch
by WeirdBoi12408
【Neon】100%PEN Platformer
by kouttakunn
MINE WORLD α1.46.5
by tokotoko-captain
Geometry Dash
by Ayrton0313
Directdraw (3D editor 0.0.2)
by AttackingBro
the silly custom night plus v1.05
by ElijahChen
高速道路 / Freeway
by pandakun
8 Ball Pool (Update) New difficulty
by Coltroc
Platform Engine (Alpha/Beta)
by xxX_Gr33n256_HD_Xxx
Firey Comics Remastered: Part 2
by Yellow_Marshello40_2
Geometry Dash Level - Stairs
by RitwikNandi
Rock Blaster 2 (With New Modification To Play On Tablet, Mobile, Pc, Laptop, Etc. + Wide screen!)
by PrabhSimar2009
Make Your Own Hurricane Season V2
by Mickscott12345
UNDERTALE Last Breath SANS FIGHT... ラストブレス
by ryuse729
geometry dash 1
by erdemboylu
☁アモングアス Jester・からぴち Mod ysoooooo友村版
by ysoooooo
Pen Grid Rendering Example
by falkimore
第一回scratch逃走中【宇宙からの侵入者】Part2
by syunku
[DISCONTINUED] Lava Escape V4.1
by Pro_GamerBois
Tower Defense IMPROVED
by Pikachuf1
[WIP] 3D Starfox 3D Corneria Demo
by Plokie
【日本語字幕付き】The scratch 3.0 show episode three_ the hotdog
by suzukings
Super Mario: Portal to the Forest
by SJEshilohv