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
750
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
標準ライブラリの動向とイテレータのパフォーマンス
makki_d
3
180
為醫療加裝Python的引擎
cclai999
0
270
Re:PandasAI:生成AIがデータ分析業務にもたらすパラダイムシフト【増補改訂版】
negi111111
1
640
Iteratorでページネーションを実現する
sonatard
3
700
Composing an API the *right* way (Droidcon New York 2024)
zsmb
2
540
ROS 2のZenoh対応とZenohのROS 2対応
takasehideki
2
240
タイミーにおけるデータの利用シーンと データ基盤の挑戦
marufeuille
4
3.1k
AWS CDKを用いたセキュアなCI/CDパイプラインの構築 / Build a secure CI/CD pipeline using AWS CDK
seike460
PRO
3
500
Compose Multiplatform과 Ktor로 플랫폼의 경계를 넘어보자
kwakeuijin
0
200
個人開発で使ってるやつを紹介する回
yohfee
1
610
Patched fetch did not work
quramy
6
480
DjangoNinjaで高速なAPI開発を実現する
masaya00
0
420
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1030
450k
Building Better People: How to give real-time feedback that sticks.
wjessup
359
19k
Principles of Awesome APIs and How to Build Them.
keavy
125
17k
How to train your dragon (web standard)
notwaldorf
87
5.6k
From Idea to $5000 a Month in 5 Months
shpigford
380
46k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.4k
How to name files
jennybc
76
98k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Done Done
chrislema
180
16k
Large-scale JavaScript Application Architecture
addyosmani
509
110k
Product Roadmaps are Hard
iamctodd
PRO
48
10k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
27
7.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