Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Theano: let's build a net
Search
ktisha
July 03, 2016
Programming
0
820
Theano: let's build a net
ktisha
July 03, 2016
Tweet
Share
More Decks by ktisha
See All by ktisha
NumPy: Vectorize your brain
ktisha
0
350
Other Decks in Programming
See All in Programming
AIプログラミング雑キャッチアップ
yuheinakasaka
21
5.5k
DevNexus - Create AI Infused Java Apps with LangChain4j
kdubois
0
150
CSS Linter による Baseline サポートの仕組み
ryo_manba
1
170
AWS CDKにおけるL2 Constructの仕組み / aws-cdk-l2-construct
gotok365
3
170
PromptyによるAI開発入門
ymd65536
1
150
機能が複雑化しても 頼りになる FactoryBotの話
tamikof
1
260
Visual StudioのGitHub Copilotでいろいろやってみる
tomokusaba
1
240
PRレビューのお供にDanger
stoticdev
1
250
責務と認知負荷を整える! 抽象レベルを意識した関心の分離
yahiru
9
1.7k
自力でTTSモデルを作った話
zgock999
0
140
5分で理解する SOLID 原則 #phpcon_nagoya
shogogg
1
430
15分で学ぶDuckDBの可愛い使い方 DuckDBの最近の更新
notrogue
3
870
Featured
See All Featured
Writing Fast Ruby
sferik
628
61k
Facilitating Awesome Meetings
lara
53
6.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
Building Your Own Lightsaber
phodgson
104
6.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
21
2.5k
Music & Morning Musume
bryan
46
6.4k
Designing on Purpose - Digital PM Summit 2013
jponch
117
7.1k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
115
51k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
660
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.7k
Transcript
Theano: let’s build a net Ekaterina Tuzova
Motivation
MNIST dataset X — images (60000, 784) Y — labels
(60000, ) Goal: train a model to look at images and predict what digits they are.
K nearest neighbors
K nearest neighbors ~95 % accuracy
Feature engineering
Machine Learning
Machine Learning
Variable in Computer Science A piece of informations stored somewhere
in memory with a name made up by a programmer.
Variable in Mathematics Indeterminate quantity that can be manipulated using
arithmetic operations, or using calculus and so on.
Theano
What is Theano? A library for efficiently handling mathematical expressions
involving tensors.
What is tensor? Multi-dimensional array.
What is Theano? A mathematical symbolic expression compiler.
Quick How-To - Define symbolic expression - Compile a function
that can compute numeric values using those expressions - Execute that function on data
Example model GoogLeNet, 2014 ~99.6% accuracy
Logistic regression Probabilistic, linear classifier.
Simple model
Preparation
Load MNIST
Define model
Theano shared variable Shared between different functions and function calls.
Build model
Train model
Train model ~93% accuracy
Simple model
Improve model
Improve model
Improve model
Train model ~98.5% accuracy
Thank you. @ktisha