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
NNにふれてみて
Search
bakunyo
February 14, 2017
Technology
0
970
NNにふれてみて
開発合宿@鎌倉で発表した際に使用した資料です
bakunyo
February 14, 2017
Tweet
Share
More Decks by bakunyo
See All by bakunyo
合宿成果@日本色
bakunyo
0
120
GitHub Actions CI/CD Update
bakunyo
0
190
AMP 完全に理解した
bakunyo
0
330
RoRoRoRoR
bakunyo
0
880
Other Decks in Technology
See All in Technology
FinTech SREのAWSサービス活用/Leveraging AWS Services in FinTech SRE
maaaato
0
120
Digitization部 紹介資料
sansan33
PRO
1
6.8k
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
17k
生成AIを活用した音声文字起こしシステムの2つの構築パターンについて
miu_crescent
PRO
1
120
IaaS/SaaS管理における SREの実践 - SRE Kaigi 2026
bbqallstars
4
1.7k
Oracle Cloud Observability and Management Platform - OCI 運用監視サービス概要 -
oracle4engineer
PRO
2
14k
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
610
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
68k
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
1
330
MCPでつなぐElasticsearchとLLM - 深夜の障害対応を楽にしたい / Bridging Elasticsearch and LLMs with MCP
sashimimochi
0
140
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
210
Introduction to Bill One Development Engineer
sansan33
PRO
0
360
Featured
See All Featured
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
66
36k
Designing Powerful Visuals for Engaging Learning
tmiket
0
220
Accessibility Awareness
sabderemane
0
49
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
250
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
430
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Designing for humans not robots
tammielis
254
26k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
140
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
110
The agentic SEO stack - context over prompts
schlessera
0
630
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
Transcript
NNʹ;ΕͯΈͯ 2017/02/12 @ ݹయ෦߹॓ Izuta Hiroyuki
Γ͔ͨͬͨ͜ͱ • Ξχϝը૾ྨث • Deep LearningͰϥϒϥΠϒʂΩϟϥΛࣝผ͢Δ - http://christina.hatenablog.com/entry/2015/01/23/212541 • TensorFlowͰΞχϝΏΔΏΓͷ੍࡞ձࣾΛࣝผ͢Δ
- http://kivantium.hateblo.jp/entry/2015/11/18/233834
ͬͨ͜ͱ • DeepLearningຊͷ3~4ষ • χϡʔϥϧωοτϫʔΫͰ࿈ཱํఔࣜΛղ͘ • TensorFlowΛͪΐͬͱ৮ͬͯΈΔ • CIFAR-10ͷը૾ྨ
1࣍ؔ y = 0.3x + 0.1 ॳظ: W(eight) = -1
~ 1ͷϥϯμϜͳ b(ias) = 1 ଛࣦؔ: ̎ޡࠩ ޯ߱Լ๏
1࣍ؔ y = 0.3x + 0.1 ʹۙͮ͘ ʹۙͮ͘
࿈ཱํఔࣜ • ͔ͨ͠܅1݁ࠗࣜʹग़੮ͨ͜͠ͱ͕ແ͘ɺ͝ॕّͷ ૬͕Θ͔Βͳ͍ • طࠗͷ༑ਓ3ਓʹฉ͍ͯɺͦΕͧΕ͝ॕّͷ߹ܭ͕͍͘Β ͔֬ೝͨ͠ • ͝ॕّͷύλʔϯྨɾ༑ਓɾਓͷ3ύλʔϯ ͰɺͦΕͧΕ͍͘Βʁ
͝ॕّ ྨ ਓ ༑ਓ ਓ ਓ ਓ ߹ܭ ສԁ
͝ॕّ
CIFAR-10Ͱը૾ྨ
CIFAR-10 • 10छྨͷը૾ྨʹΘΕΔσʔληοτ
ਪϞσϧ: ଟͷCNN • CNNʢConvolutional Neural Networkʣ ΈࠐΈχϡʔϥϧωοτϫʔΫ • ΈࠐΈɾϓʔϦϯάɾશ݁߹͔ΒͳΔ •
ΈࠐΈ: ಛඍྔͷநग़ • ϓʔϦϯά: Ԡෆมੑͷ֫ಘ
TensorBoard • TensorFlow ඪ४ఴͷՄࢹԽπʔϧ • tensorboard --logdir={logσΟϨΫτϦ}
Demo
CNNͷ్த Accurancy: 0.2 -> 0.5 ͘Β͍·Ͱ্ঢ͢Δͷݟͯதஅ
ϋϚͬͨͱ͜Ζ
TensorFlowͰHello, World • ͍͖ͳΓίέΔɾɾɾ • AttributeError: module 'tensorflow' has no
attribute ‘constant' • import tensorflow as tf • ϑΝΠϧ໊Λ tensorflow.py ʹͯͨ͠ͷ͕ݪҼ • tfͰͳ͘Pythonͷ • http://stackoverflow.com/questions/37383812/tensorflow- module-object-has-no-attribute-placeholder
Depreciated Methods • มͷॳظԽ (چ) tf.initialize_all_variables() (৽) tf.global_variables_initializer() • TensorBoardͷೖྗ
(چ) tf.train.SummaryWriter() (৽) tf.summary.FileWriter() • άϥϑఆٛ (چ) sess.graph_def (৽) sess.graph
(༨ஊ) DocumentʹDepreciated͕͋ͬͨͷͰ PRૹΖ͏ͱͨ͠Βɾɾɾ
(༨ஊ) DocumentʹDepreciated͕͋ͬͨͷͰ PRૹΖ͏ͱͨ͠Βɾɾɾ
(༨ஊ) DocumentʹDepreciated͕͋ͬͨͷͰ PRૹΖ͏ͱͨ͠Βɾɾɾ
ײ • Γ͔ͨͬͨ͜ͱ·ͰḷΓண͚ͳ͔ͬͨ • PythonTensorFlowෆ׳Εײ • ଟ࣍ݩྻɺreshapeͱ͔Ͱਖ਼֬ʹΠϝʔδ ม͍ͨ͠
ࠓޙ • ·ͣຊΛ࠷ޙ·ͰಡΉ • ྲྀΕ͕ΠϝʔδͰ͖ͯ͘Δͱָ͍͠ • ը૾ྨΓ͍ͨɺ͚Ͳը૾ͷऩूͱϥϕϦ ϯά͕໘ͦ͏
͓ΘΓ