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
890
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
370
Other Decks in Programming
See All in Programming
Pythonではじめるオープンデータ分析〜書籍の紹介と書籍で紹介しきれなかった事例の紹介〜
welliving
3
620
Tinkerbellから学ぶ、Podで DHCPをリッスンする手法
tomokon
0
140
Cap'n Webについて
yusukebe
0
150
ZJIT: The Ruby 4 JIT Compiler / Ruby Release 30th Anniversary Party
k0kubun
1
280
Findy AI+の開発、運用におけるMCP活用事例
starfish719
0
1.8k
gunshi
kazupon
1
120
チームをチームにするEM
hitode909
0
400
実は歴史的なアップデートだと思う AWS Interconnect - multicloud
maroon1st
0
270
複雑なUI設計への銀の弾丸 「オブジェクト指向UIデザイン」
teamlab
PRO
2
110
大規模Cloud Native環境におけるFalcoの運用
owlinux1000
0
200
LLMで複雑な検索条件アセットから脱却する!! 生成的検索インタフェースの設計論
po3rin
4
980
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
130
Featured
See All Featured
Believing is Seeing
oripsolob
0
15
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
The SEO identity crisis: Don't let AI make you average
varn
0
39
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
150
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
200
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
2
66
Design in an AI World
tapps
0
100
A better future with KSS
kneath
240
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