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

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

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

Angry Birds Level Designer remix

by Kracko_

Project thumbnail
View Project

sonic anti-piracy screen

by jaydens_alt_account

Project thumbnail
View Project

SpongeBob credits 1999

by cathalcat

Project thumbnail
View Project

Fish color

by 0m0830

Project thumbnail
View Project

Mixels Intro S1,2,3,4,5,6,7,8,9 Parts (Remastered) remix

by GinoRHernandez

Project thumbnail
View Project

Whale coin clicker! *Last Update!*

by Hmy1234

Project thumbnail
View Project

more beat up games buttons that have bombs in it

by tatatino150

Project thumbnail
View Project

Scratchy’s world

by charboy_16

Project thumbnail
View Project

Beat Up 65 V2 DLC remix

by Mugtoff

Project thumbnail
View Project

武器素材

by tsubasa5051

Project thumbnail
View Project

Beat up Pikachu

by nadira_pramudita

Project thumbnail
View Project

Beat up guy

by MrTopHat404

Project thumbnail
View Project

talking tom and ben news remix-2 remix remix remix remix remix

by everton_trader

Project thumbnail
View Project

Endless extended letters and sounds remix with ultra

by JasonNy33

Project thumbnail
View Project

up to faster Dankev parison remix

by juliescott12

Project thumbnail
View Project

Russian Artistic Text

by ChermayeffTesting

Project thumbnail
View Project

(AY) Destroy the "Project could not save"! (2)

by tatatino150again

Project thumbnail
View Project

Timeblocks band 1

by kevin_JM

Project thumbnail
View Project

The Ultimate Vyond Effects Kit 3.0 jumpscare

by brian0302

Project thumbnail
View Project

Spiffy Pictures.EXE Buttons 5000 (But I Killed On Spiffy) remix

by rogerhumphrey42

Project thumbnail
View Project

russian alphabet remix

by lilnephew

Project thumbnail
View Project

Geometry Dash Revamped Doom

by geomaster24

Project thumbnail
View Project

Beat Up Giga (remix 2) remix

by The_btnl_project_guy

Project thumbnail
View Project

【秋のデスゲーム祭】-椅子鳥GAME- 第参獣肆話「共闘」

by mikorin