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
710
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
330
Other Decks in Programming
See All in Programming
Architectures with Lightweight Stores: New Rules and Options
manfredsteyer
PRO
0
100
Microservices rules (July 2024) : what good looks like
cer
PRO
0
1.6k
しくじり先生 Image Matching Challenge 2024 編
goosehaaan
0
810
データカタログ運用物語 〜令和6年夏の理想と現実〜
kuro_kurorrr
0
110
Rust.Nagoya #1
codemountains
0
170
CSC307 Lecture 14
javiergs
PRO
0
220
「2024年版 Kotlin サーバーサイドプログラミング実践開発」の補講 〜O/Rマッパー編〜
n_takehata
2
260
小さな開発会社を作った理由
polidog
0
1.9k
Clean Architecture by TypeScript & NestJS
ryounasso
0
150
Android開発者のための Kotlin Multiplatform入門
ntaro
0
190
Polarsの成長: v0.14からv1.0までの変遷と今後の展望
zerebom
1
350
HMSコンペ 11th Solution (team : kansai-kaggler)
t88
1
680
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
227
17k
Facilitating Awesome Meetings
lara
46
5.8k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
How To Stay Up To Date on Web Technology
chriscoyier
784
250k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.4k
The Invisible Side of Design
smashingmag
294
50k
A Tale of Four Properties
chriscoyier
155
22k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
78
15k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
105
6.8k
Making Projects Easy
brettharned
111
5.7k
Stop Working from a Prison Cell
hatefulcrawdad
266
20k
Infographics Made Easy
chrislema
238
18k
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