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
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
300
TSKaigi 2026 TypeScriptバックエンドのオブザーバビリティ戦略 — Datadog × NestJSの実践
taiseiyamamotoan
1
200
新規プロダクトを高速で生み出すハーネスエンジニアリング
seanchas116
13
6.3k
開発とはなにか、Essenceカーネルで見えるもの
ukin0k0
0
220
AIとRubyの静的型付け
ukin0k0
0
190
1人1案件のプロダクトエンジニア時代に、"プロセス監督"としてチャレンジしたこと
non0113
0
340
権限チェックの一貫性を型で守る TypeScript による多層防御
mnch
4
890
自動レビューエンジンの実装と運用 ~レビューのない世界へ~
kurukuru1999
2
280
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
300
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
1
640
AIチームを指揮するOSS「TAKT」活用術 / How to Use “TAKT,” an OSS Tool for Orchestrating AI Teams
nrslib
6
720
AI時代だからこそ「Bloc」を採用する価値があるのかもしれない
takuroabe
0
250
Featured
See All Featured
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
150
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1.1k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
350
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
540
Paper Plane (Part 1)
katiecoart
PRO
0
7.9k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
Being A Developer After 40
akosma
91
590k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.7k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
180
The untapped power of vector embeddings
frankvandijk
2
1.7k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
190
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