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
640
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
Goのエラースタックトレースの歴史と今後
sonatard
9
1.5k
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
360
AWS CDKコントリビュートTIPS / aws-cdk-contribution-tips
gotok365
2
200
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
4
970
Micro Frontends for Java Microservices - Devnexus 2024
mraible
PRO
0
500
はてなにおける CSS Modules、及び CSS Modules に足りないもの / CSS Modules in Hatena, and CSS Modules missing parts
mizdra
7
940
dbtのドメイン分割による データ基盤の改善とDigdagとの連携
sakama
0
360
コーンフレークから始める モデリング会話入門
ogurotakayuki
0
380
Anthropic Cookbook のおすすめレシピ
schroneko
7
990
GitHub Copilotのススメ
marcy731
1
200
R言語の環境構築と基礎 Tokyo.R 112
bob3bob3
0
270
Code Reviews
bkuhlmann
4
890
Featured
See All Featured
Designing the Hi-DPI Web
ddemaree
276
33k
4 Signs Your Business is Dying
shpigford
175
21k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
20
1.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
322
20k
Making Projects Easy
brettharned
108
5.5k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
104
6.6k
Why Our Code Smells
bkeepers
PRO
331
56k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
We Have a Design System, Now What?
morganepeng
43
6.8k
Fireside Chat
paigeccino
21
2.6k
Typedesign – Prime Four
hannesfritz
36
2.1k
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