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
780
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
330
Other Decks in Programming
See All in Programming
LLM生成文章の精度評価自動化とプロンプトチューニングの効率化について
layerx
PRO
2
190
CSC509 Lecture 12
javiergs
PRO
0
160
シールドクラスをはじめよう / Getting Started with Sealed Classes
mackey0225
4
640
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
2
350
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
120
弊社の「意識チョット低いアーキテクチャ」10選
texmeijin
5
24k
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
190
Better Code Design in PHP
afilina
PRO
0
120
ローコードSaaSのUXを向上させるためのTypeScript
taro28
1
600
Generative AI Use Cases JP (略称:GenU)奮闘記
hideg
1
280
エンジニアとして関わる要件と仕様(公開用)
murabayashi
0
270
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
Designing for humans not robots
tammielis
250
25k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
RailsConf 2023
tenderlove
29
900
Designing Experiences People Love
moore
138
23k
Designing for Performance
lara
604
68k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
The Invisible Side of Design
smashingmag
298
50k
Practical Orchestrator
shlominoach
186
10k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.2k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Become a Pro
speakerdeck
PRO
25
5k
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