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
880
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
360
Other Decks in Programming
See All in Programming
開発者への寄付をアプリ内課金として実装する時の気の使いどころ
ski
0
360
あなたの知らない「動画広告」の世界 - iOSDC Japan 2025
ukitaka
0
420
大規模アプリのDIフレームワーク刷新戦略 ~過去最大規模の並行開発を止めずにアプリ全体に導入するまで~
mot_techtalk
0
400
XP, Testing and ninja testing ZOZ5
m_seki
3
360
Signals & Resource API in Angular: 3 Effective Rules for Your Architecture @BASTA 2025 in Mainz
manfredsteyer
PRO
0
110
CSC305 Lecture 02
javiergs
PRO
1
260
明日から始めるリファクタリング
ryounasso
0
120
実践AIチャットボットUI実装入門
syumai
7
2.5k
Building, Deploying, and Monitoring Ruby Web Applications with Falcon (Kaigi on Rails 2025)
ioquatix
3
1.1k
Advance Your Career with Open Source
ivargrimstad
0
390
Goで実践するドメイン駆動開発 AIと歩み始めた新規プロダクト開発の現在地
imkaoru
4
750
Swift Concurrency - 状態監視の罠
objectiveaudio
2
480
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
96
6.3k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.5k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Optimizing for Happiness
mojombo
379
70k
BBQ
matthewcrist
89
9.8k
The World Runs on Bad Software
bkeepers
PRO
71
11k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
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