機械学習(ニューラルネットワーク) を最初からプログラムして、数字判定システムを作ってみる

機械学習(ニューラルネットワーク) を最初からプログラムして、数字判定システムを作ってみる

by rubiccube

👁 535 ❤️ 24 ⭐ 22 🔄 0
Created: Nov 26, 2020 Last modified: Feb 7, 2023 Shared: Nov 26, 2020

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

Project thumbnail
View Project

Beat Up Sonic 06 (3)

by megustaelhotdog27

Project thumbnail
View Project

rewrite test with arrows project

by _TRINITYrunCoDe_

Project thumbnail
View Project

BEAT UP Error O l

by bluesonic45

Project thumbnail
View Project

Care Bears Karafun Cover AI From Weights.GG

by DashTheDino22

Project thumbnail
View Project

✨Super Mario Maker 2✨

by DZ_9

Project thumbnail
View Project

Beat Up bonzi buddy 7.5 Almost Complete! remix-2 remix

by vincentpizarro

Project thumbnail
View Project

アニメ オニゴッコ〜偽りの愛〜 #2 今夜限りのデイジー

by Zi-MS-O

Project thumbnail
View Project

Spamton Neo fight Snowgrave

by tripoid

Project thumbnail
View Project

Day Calculator

by dodgo

Project thumbnail
View Project

[Scratch Release] - DELTARUNE: A different snowgrave

by tt_thoma

Project thumbnail
View Project

spiffy exe buttons soul 1T

by coopstar_white3

Project thumbnail
View Project

Beat Up Pepe Le Pew! (RESHARED)

by DashTheDino12

Project thumbnail
View Project

KittyPaint

by NuevaSchool

Project thumbnail
View Project

All Numbericons 1-500

by Andyspiffy

Project thumbnail
View Project

Beat Up Tara Rookson

by dirtotheobjectrises

Project thumbnail
View Project

(SPOILER ALERT) The Roaring Knight Art

by Futureking12

Project thumbnail
View Project

Thumbnails for barney error 23 (WARNING: SALLYVEVO.EXE PUNISHMENT) remix

by JAMAL-STUDIOS-3RD

Project thumbnail
View Project

Add yourself/your oc singing Thearchy (0)

by AnimatedChild

Project thumbnail
View Project

dust sans fight ダストサンズ 戦 T7_tawasi remix

by syusyumau

Project thumbnail
View Project

[音ゲー] ZERONEIII

by ZVA6

Project thumbnail
View Project

Endless Scrolling

by A_very_real_human

Project thumbnail
View Project

collect cheese simulator

by ARandomScratcher2763

Project thumbnail
View Project

Talking Tom and Ben News Hi-Hi Puffy AmiYumi Edition

by PeppaDoesScratch

Project thumbnail
View Project

my talking tom news Reverse remix

by kim79a