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

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

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

Artistic Alphabet (Lombardic Transition)

by jinhuy

Project thumbnail
View Project

Gravity

by JamesOuO

Project thumbnail
View Project

ADD YOURSELF USING TOOLS TO DEMOLISH SPRITE1 (MY UPDATE!)

by dirtotheobjectrises

Project thumbnail
View Project

Ball Blast Hacked!

by DrSmashsenstien

Project thumbnail
View Project

Mech v4.48

by lilgreenland

Project thumbnail
View Project

gmandunn sparta remix thing

by gwall89

Project thumbnail
View Project

Ship Battle Arena Thing

by ThatHammerkind

Project thumbnail
View Project

Colorful Numbers 1 to 1 Million Part 16/100 (150001 to 160000)

by cs4566078

Project thumbnail
View Project

My Formatted Wii Menu with let's race team kit Game Inserted

by barbieyol123

Project thumbnail
View Project

Masha And The Bear Salute (for crewmateiscool2)

by AkselAliStudios

Project thumbnail
View Project

Getting Over It v1.4 remix remix remix

by 181018Phantom

Project thumbnail
View Project

Digital Clock! =)

by GeckoLord1

Project thumbnail
View Project

SPMY! sans fight

by llll1560

Project thumbnail
View Project

Beat Up Edward Remastered remix

by ERFAN_AKHLAQI

Project thumbnail
View Project

FNF | Indie Cross Sans vs lightenstaitc (not finished)

by lilgbrogamer

Project thumbnail
View Project

SERVER 2 ☁️ Among Us Scratch v3.16 (online) remix

by 201321pink

Project thumbnail
View Project

NFL CLICKER

by fuzzyyak

Project thumbnail
View Project

Beat up Numberblock game but I added new buttons

by mirabel_exe

Project thumbnail
View Project

TVOKids Logo Bloopers: DVD Menu

by RealDVDPlayerMovies

Project thumbnail
View Project

3dminecraft maze V7.0!!

by mamorumiyake

Project thumbnail
View Project

すとぷりうっせえわ音楽ボールコロコロ2 remix[3D]

by rinringo2

Project thumbnail
View Project

Add a button to kill MusicDisc1004!!!! #10

by AddYourself_Isaac

Project thumbnail
View Project

Interactive Numberblock inf. remix

by German0512

Project thumbnail
View Project

Beat Up Super_Isaac_64

by newmyles