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

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

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

Ultimate JOLLY Night Legacy Edition

by Jolly-Paradox

Project thumbnail
View Project

Outfit7 Games On Scratch || Talking Santa remix

by CHA15B

Project thumbnail
View Project

incredibox Donki Retake

by fullafalli

Project thumbnail
View Project

(Canceled & +13) Friday Night Funkin' Versus. Mario Madness _ All-Stars _ FNF TEST!

by MaysonVanmatre

Project thumbnail
View Project

beat up a stick guy

by demondmen1

Project thumbnail
View Project

Beat up wenda

by Hami2909320

Project thumbnail
View Project

Klasky Csupo Robot Logo

by Alfredpehmx

Project thumbnail
View Project

Playing With Numberblocks Modified

by FlameBlox_The32

Project thumbnail
View Project

Paper Minecraft Mobile

by Vdasqva

Project thumbnail
View Project

"The Mine Song but its all triagonal" Scratch Edition

by cosmic_cow95

Project thumbnail
View Project

Virtual Fidget Spinner!

by SwordSoftTV

Project thumbnail
View Project

BFDI BFDIA IDFB BFB Contestant Generating Game, with all 66 contestants

by ScratcherChain

Project thumbnail
View Project

Well meet again p4rt

by -TheDarkDragon-

Project thumbnail
View Project

Friday Night Funkin' Wimpy Days (W.I.P.)

by Scorpminel4

Project thumbnail
View Project

A Loud House Christmas 2021 DVD Menu Walkthrough

by Chasekaya03

Project thumbnail
View Project

アンダートードマリオ戦オリジナル

by chitimi

Project thumbnail
View Project

Cat Platformer With Movement Animations

by VeryHappyCoder

Project thumbnail
View Project

Forager v1.7.9.9 ||Scratch Remake

by vicketick

Project thumbnail
View Project

BALDI'S BASICS IN FNF || Meek Engine || VERSION 0.5.0 remix

by Damien-Olcikas

Project thumbnail
View Project

Scratch's REIMAGINED 1,000 Remix Level Challenge! (Level 447)

by sneakypete2012

Project thumbnail
View Project

ITS timer v1.0

by I-am-just-a-kid

Project thumbnail
View Project

talking tom and ben news chicken treat version with scratch cat

by dionellbebe

Project thumbnail
View Project

Super Why! End Credits Season 3 Fixed Again

by sankevind

Project thumbnail
View Project

Beat up scratch cat V2.3 (My Ora Ora Ora Edition)

by hyd3ns33k