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: обучаем нейросеть, Екатерина Тузова, Py...
Search
IT-People
July 25, 2016
Programming
1
210
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
170
How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework
itpeople123
1
220
Building social network with Neo4j and Python, Андрей Солдатенко, Toptal
itpeople123
1
230
Осторожно, DSL! Иван Цыганов, Positive Technologies
itpeople123
0
110
Докеризация веб-приложения на Python Антон Егоров, Ostrovok.ru
itpeople123
0
190
Python Robot Operating System вместо Middleware framework Дмитрий Киселев, Endpoint.com
itpeople123
0
94
Falcon — очередная WSGI библиотека? Дмитрий Кукушкин, Wargaming
itpeople123
0
240
Очереди задач без купюр, Артем Малышев, Positive Technologies
itpeople123
1
110
Flame graph: новый взгляд на привычное профилирование, Кирилл Борисов, Яндекс
itpeople123
1
230
Other Decks in Programming
See All in Programming
CDKを使ったPagerDuty連携インフラのテンプレート化
shibuya_shogo
0
130
Rails 1.0 のコードで学ぶ find_by* と method_missing の仕組み / Learn how find_by_* and method_missing work in Rails 1.0 code
maimux2x
1
270
たのしいSocketのしくみ / Socket Under a Microscope
coe401_
8
1.5k
やっと腹落ち「スプリント毎に動くモノをリリースする」〜ゼロから始めるメガバンクグループのアジャイル実践〜
sasakendayo
0
230
SwiftUI移行のためのインプレッショントラッキング基盤の構築
kokihirokawa
0
190
AIレビュー導入によるCIツールとの共存と最適化
kamo26sima
1
1.2k
Djangoにおける複数ユーザー種別認証の設計アプローチ@DjangoCongress JP 2025
delhi09
PRO
4
520
Goで作るChrome Extensions / Fukuoka.go #21
n3xem
0
150
Go 1.24でジェネリックになった型エイリアスの紹介
syumai
2
320
Boost Your Web Performance with Hyperdrive
chimame
1
150
Introduction to C Extensions
sylph01
3
130
⚪⚪の⚪⚪をSwiftUIで再現す る
u503
0
140
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
51
7.4k
Making the Leap to Tech Lead
cromwellryan
133
9.1k
GraphQLの誤解/rethinking-graphql
sonatard
69
10k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Code Review Best Practice
trishagee
67
18k
Optimising Largest Contentful Paint
csswizardry
34
3.1k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
450
Statistics for Hackers
jakevdp
797
220k
Visualization
eitanlees
146
15k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
What's in a price? How to price your products and services
michaelherold
244
12k
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