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: обучаем нейросеть, Екатерина Тузова, PyCharm
Search
IT-People
July 25, 2016
Programming
1
200
Theano: обучаем нейросеть, Екатерина Тузова, PyCharm
Выступление на конференции PyCon Russia 2016
IT-People
July 25, 2016
Tweet
Share
More Decks by IT-People
See All by IT-People
Александр Кошкин, Positive Technologies: Знай и люби свой CPython во имя луны и великой справедливости
itpeople123
1
150
How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework
itpeople123
1
220
Building social network with Neo4j and Python, Андрей Солдатенко, Toptal
itpeople123
1
220
Осторожно, DSL! Иван Цыганов, Positive Technologies
itpeople123
0
100
Докеризация веб-приложения на Python Антон Егоров, Ostrovok.ru
itpeople123
0
180
Python Robot Operating System вместо Middleware framework Дмитрий Киселев, Endpoint.com
itpeople123
0
86
Falcon — очередная WSGI библиотека? Дмитрий Кукушкин, Wargaming
itpeople123
0
170
Очереди задач без купюр, Артем Малышев, Positive Technologies
itpeople123
1
94
Flame graph: новый взгляд на привычное профилирование, Кирилл Борисов, Яндекс
itpeople123
1
180
Other Decks in Programming
See All in Programming
甘い香りに誘われてVanilla Extractを1年間運用してみた
miyahkun
1
110
PHP8.3の機能を振り返る / Review of PHP 8.3 features
seike460
PRO
1
110
Folding Cheat Sheet #1
philipschwarz
PRO
0
210
エンターテイメント業界で利用されるAWS
demuyan
0
200
Changed Rules: Architectures with Lightweight Stores
manfredsteyer
PRO
0
230
Code Reviews
bkuhlmann
4
880
Ruby GitHub Packages
bkuhlmann
0
620
try! Swift Tokyo 2024のLT枠に採択されたプロポーザルを出すときに考えていたこと
ski
0
340
CircleCIを活用して AWSへの継続的デリバリーを 実践する
coconala_engineer
1
230
Elm Form Validation
bkuhlmann
0
510
受託開発でGitLab CI を活用していく
xiombatsg
1
270
코틀린으로 멀티플랫폼 만들기
pangmoo
0
120
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
318
37k
RailsConf 2023
tenderlove
2
530
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
18
1.7k
Gamification - CAS2011
davidbonilla
76
4.6k
Into the Great Unknown - MozCon
thekraken
10
980
Designing for humans not robots
tammielis
247
25k
What's in a price? How to price your products and services
michaelherold
237
11k
From Idea to $5000 a Month in 5 Months
shpigford
377
45k
Design by the Numbers
sachag
274
18k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
20
1.6k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
76
41k
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