狠狠撸

狠狠撸Share a Scribd company logo
気楽に
等身大☆初めての机械学习
2015年 クラウド温泉@小樽
自己紹介
? 株式会社アイアンドディー
? 福重 美香
? Twitter: mi_kodayo
? 仕事: RoR、AWS、php、必要なもの
? 趣味: 工作
今回、クラウド温泉テーマ
MLらしいよ
これを機に、
触ったことないけど
機械学習でLTする!
私の機械学習レベル:初心者
? 大学文系、統計、分析、数学に関する知識なし。三角関
数は女子でも必要だと思います。
? 東京Rに出てみる =>ゲーム会社系の人が多いなあ??
? Kaggleなる懸賞サイトがあるのを知り興味は増す
? パターン認識の勉強会に出てみる=>数式で死亡
? Hadoop、Apache Mahout、H2O、OSCでおなじみの
キーワードだけは押さえつつ
? ふらふらしつつ、なかなか一歩を踏み出せずにいた
機械学習とは?
(私のイメージ)
? 大量の既存データを使って
? ある法則でそれを分析し、場合によっては蓄積して
いく
? 経験をためて、その経験を生かして色々できるよう
なっていく人間の人生みたいなイメージ。
? ためる経験と、どう生かしたいか?で法則と分析を
変えていく。
機械学習で何ができるの?
(私のイメージ)
? 分析結果を活用し、新しいデータが来たときの対応判
断ができる。
? アイディア次第でなんでもできるのでは
? とりあえずデータ突っ込んで、片っ端から手法にかけ
ていけば何か新しい発見があるのかも?
? その結果によって、したいことが決まるかも。
機械学習、具体例
? ネコの画像を8000枚くらい収集。ネコの大まかな特
徴を大量データから分析して保持。
? ↓
? 新しいネコ画像をwebからダウンロードして、上記分
析ロジックにかける。
? ネコと判断されれば、いい感じに学習できている。ネ
コ以外と判断されればデータ見直し
そんな感じで、
機械学習やりますか!!
何がやりたいか決まっていないと、
法則と分析ツールの選択肢が
ありすぎて迷う
? Scikit-learn
? R
? Caffe
? H2O
? Chainer
? Deeplearning4j
? ほかもたくさん!!それぞれできるML、DLに差分があるのは分ベストプラ
クティスが分からない!
私「機械学習やりたいんです
けど、言語とか環境問わない
です、オススメあります?」
※現在メインで使っているRubyはMLには向かないということで、もうなんでもこいの状態
とある頭のいい大学生
「scikit-learnおすすめです
よ」
scikit-learnに決定
? Pythonのライブラリ
? http://scikit-learn.org/0.15/index.html
? いろんな分析ができる↓
? チートシート
? http://scikit-
learn.org/stable/tutorial/machine_learning_map/
? Exampleコードも充実している、
環境構築自分でガチると、
めんどいです
? AWSのマイクロ作って、numpy, scipyなど必要なライブラリ
をコンパイルして入れていった。
? AWS Microだと、デフォswapが0。scipymake install中にメ
モリ不足で失敗するので、以下作業必須
? sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M
count=1024
? sudo /sbin/mkswap /var/swap.1
? sudo /sbin/swapon /var/swap.1
半日かかる。make祭手いたい??
えっ!環境を作ってる?漢ですね
でもSagemath Cloud
を使うと楽ですよ?!
もしくはanacondaを使いましょ~。
まずはじめに、
tweetのクラスタ化を写経します
http://parosky.net/note/2013111
2
Mecab 形態素解析
#!/bin/env python
#coding:utf-8
import MeCab
tagger = MeCab.Tagger("-Ochasen")
print tagger.parse("今日はクラウド温泉の日ですー。
いえい!メカブ!")
$ python test_2.py
今後の展開
? クラスタに、自分の発言の精神状態をつけてあげる
? (教師あり学習)
? 自分の発言の精神状態を分かるようにする?
? Beagle Black Bone(ARM)でscikitが使えれば=>最
新tweet取ってきて精神状態によりLEDを点滅さす
か?
完全にひとり遊びです。
だれも楽しくない!!--;
caffeの紹介
http://caffe.berkeleyvision.org/
個人で等身大のMLをやる場合の
障害
? 学習させるための自前データない!
? オープンデータを使うくらい?
? 画像であれば1判断(ネコかどうかを判断するためのネ
コ画像) につき8000件は欲しいよ
? 画像は最適化の加工が大変すぎる(OpenCVで顔認識
等を使ったとしても)
Ad

Recommended

PPT
080720 Vim M
Takuya Hashimoto
?
PDF
初めての机械学习
Katsuhiro Morishita
?
PDF
機械学習チュートリアル@Jubatus Casual Talks
Yuya Unno
?
PPTX
実践:今日から使えるビックデータハンズオン あなたはタイタニック号で生き残れるか?知的生産性UPのための機械学習超入門
健一 茂木
?
PDF
机械学习のいろは
Korenori Sakanoue
?
PDF
JAWS-UG CLI専門支部 #67 Amazon Machine Learning 入門
Nobuhiro Nakayama
?
PDF
简単に机械学习(画像)を使おうと思ったけど、駄目だった话
Mitsushige Ishiguro
?
PPTX
机械学习を始める前の「学习」
Serverworks Co.,Ltd.
?
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
Search Engine Journal
?
PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
Chiara Aliotta
?
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
OECD Directorate for Financial and Enterprise Affairs
?
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
SocialHRCamp
?
PDF
2024 State of Marketing Report – by Hubspot
Marius Sescu
?
PDF
Everything You Need To Know About ChatGPT
Expeed Software
?
PDF
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
?
PDF
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
?
PDF
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
?
PDF
Skeleton Culture Code
Skeleton Technologies
?
PDF
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
?
PDF
Content Methodology: A Best Practices Report (Webinar)
contently
?
PPTX
How to Prepare For a Successful Job Search for 2024
Albert Qian
?
PDF
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
?
PDF
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
?
PDF
5 Public speaking tips from TED - Visualized summary
SpeakerHub
?
PDF
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
?
PDF
Getting into the tech field. what next
Tessa Mero
?
PDF
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
?
PDF
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
?

More Related Content

Featured (20)

PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
Search Engine Journal
?
PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
Chiara Aliotta
?
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
OECD Directorate for Financial and Enterprise Affairs
?
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
SocialHRCamp
?
PDF
2024 State of Marketing Report – by Hubspot
Marius Sescu
?
PDF
Everything You Need To Know About ChatGPT
Expeed Software
?
PDF
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
?
PDF
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
?
PDF
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
?
PDF
Skeleton Culture Code
Skeleton Technologies
?
PDF
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
?
PDF
Content Methodology: A Best Practices Report (Webinar)
contently
?
PPTX
How to Prepare For a Successful Job Search for 2024
Albert Qian
?
PDF
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
?
PDF
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
?
PDF
5 Public speaking tips from TED - Visualized summary
SpeakerHub
?
PDF
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
?
PDF
Getting into the tech field. what next
Tessa Mero
?
PDF
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
?
PDF
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
?
2024 Trend Updates: What Really Works In SEO & Content Marketing
Search Engine Journal
?
Storytelling For The Web: Integrate Storytelling in your Design Process
Chiara Aliotta
?
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
OECD Directorate for Financial and Enterprise Affairs
?
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
SocialHRCamp
?
2024 State of Marketing Report – by Hubspot
Marius Sescu
?
Everything You Need To Know About ChatGPT
Expeed Software
?
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
?
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
?
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
?
Skeleton Culture Code
Skeleton Technologies
?
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
?
Content Methodology: A Best Practices Report (Webinar)
contently
?
How to Prepare For a Successful Job Search for 2024
Albert Qian
?
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
?
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
?
5 Public speaking tips from TED - Visualized summary
SpeakerHub
?
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
?
Getting into the tech field. what next
Tessa Mero
?
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
?
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
?

気楽に等身大☆初めての机械学习