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
920
0
Share
Theano: let's build a net
ktisha
July 03, 2016
More Decks by ktisha
See All by ktisha
NumPy: Vectorize your brain
ktisha
0
370
Other Decks in Programming
See All in Programming
ソフトウェア設計の結合バランス #phperkaigi
kajitack
0
170
実用!Hono RPC2026
yodaka
2
290
2026年のソフトウェア開発を考える(2026/05版) / Software Engineering Scrum Fest Niigata 2026 Edition
twada
PRO
19
9.6k
Back to the roots of date
jinroq
0
630
PicoRuby for IoT: Connecting to the Cloud with MQTT
yuuu
2
720
Claude Codeをカスタムして自分だけのClaude Codeを作ろう
terisuke
0
160
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
440
GoogleCloudとterraform完全に理解した
terisuke
1
180
How Swift's Type System Guides AI Agents
koher
0
320
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
310
Spec-Driven Development with AI Agents (Workshop, May 2026)
antonarhipov
2
260
Explore CoroutineScope
tomoeng11
0
140
Featured
See All Featured
How to Ace a Technical Interview
jacobian
281
24k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
550
Technical Leadership for Architectural Decision Making
baasie
3
350
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
410
Crafting Experiences
bethany
1
140
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Exploring anti-patterns in Rails
aemeredith
3
350
Visualization
eitanlees
150
17k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
180
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
350
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