Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Theano: let's build a net
Search
ktisha
July 03, 2016
Programming
940
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Theano: let's build a net
ktisha
July 03, 2016
Transcript
31 slides
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
More Decks by ktisha
See All by ktisha
NumPy: Vectorize your brain
ktisha
0
390
Other Decks in Programming
See All in Programming
SODA - FACT BOOK(JP)
sodainc
1
40k
Distance field of Julia set
kinakomoti321
0
320
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
170
AI Augmentation Techniques with Liberty
ivargrimstad
1
450
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
4
3.9k
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.3k
AI時代のTerminal環境を UNIX哲学で設計・運用する
yasunori0418
1
350
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
230
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
200
はじめてのPLATEAU
nokonoko1203
1
640
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
15
11k
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
300
Featured
See All Featured
Building Adaptive Systems
keathley
44
3.3k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Embracing the Ebb and Flow
colly
88
5.2k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
630
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
400
New Earth Scene 8
popppiees
5
2.8k
How to train your dragon (web standard)
notwaldorf
96
6.9k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
600
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.5k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
660