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
Aizu.go second
Search
Yamashou
December 10, 2017
Programming
0
340
Aizu.go second
This is the story of the machine learning library I created.
Yamashou
December 10, 2017
Tweet
Share
More Decks by Yamashou
See All by Yamashou
Go Tensorflow 思ってたこと
yamashou
0
190
Spring LT in Aizu
yamashou
0
76
学生版GoConを開催したい
yamashou
0
2.3k
会津でGo
yamashou
0
2.6k
Go ELM
yamashou
0
130
open app lab kick off meeting 2017
yamashou
0
130
manifes2017
yamashou
1
74
Aizu.go
yamashou
0
62
Other Decks in Programming
See All in Programming
【Kaigi on Rails 2024】YOUTRUST スポンサーLT
krpk1900
1
330
Contemporary Test Cases
maaretp
0
140
CSC509 Lecture 11
javiergs
PRO
0
180
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
170
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
110
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
watsonx.ai Dojo #4 生成AIを使ったアプリ開発、応用編
oniak3ibm
PRO
1
100
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
330
Amazon Bedrock Agentsを用いてアプリ開発してみた!
har1101
0
330
シールドクラスをはじめよう / Getting Started with Sealed Classes
mackey0225
4
640
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
5
2.1k
GitHub Actionsのキャッシュと手を挙げることの大切さとそれに必要なこと
satoshi256kbyte
5
430
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Unsuck your backbone
ammeep
668
57k
The Language of Interfaces
destraynor
154
24k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Done Done
chrislema
181
16k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
120
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Navigating Team Friction
lara
183
14k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
Transcript
Goͩͬͯػցֶश ʙՆͷ۶ৱΛՌͨ͘͢ʙ s1230124 Yamashou
ࣗ ֶ෦3 ࢁຊଠ(Yamashou) twitter:Yamashou0314
࣍ ҙ ࣄ࢝Ί ࣌ܥྻ ͩΒͩΒ͚ͨ͠༰
ҙ ࠓճલճͷଓ͖Ͱ͢ #aizugoΛḪΕલճͷ͕͋Γ·͢ ίʔυશͯಥ؏ࣄͰ͢ɻ
ಥવͰ͕͢
ࣄͷ࢝·Γ͔Β ͓͠·͢
݄̎̌̍̓̓̎̎
tenntenn͞Μ͕
ձʹདྷͯͩ͘͞ ͍·ͨ͠ʂʂʂ
ͦ͜Ͱ
ಉ͡Α͏ʹLTΛ͠ ·ͨ͠
༰ Go ݴޠʹΑΔELM όΠτͰGo
elm͡Όͳ͍Α
Extreme Learning MachineͩΑʂ
ELMͱʁ • Extreme Learning Machine • ߴͳػցֶशΞϧΰϦζϜ • ؆୯ͳ࣮
None
༰ Go ݴޠʹΑΔELM όΠτͰGo
ͬͪ͜ΛΓ͔ͨͬͨ
͔͠͠
ೋिؒલ Ұिؒલ ࡾલ ࠓ MLΖʙ &-.
ཁҼ ٖࣅٯߦྻੜ ͦͦͷߦྻԋࢉ͕͠ΜͲ͍ (github.com/gonum/matrix) ͋ͱ͏গ͠ʂͩͱࢥͬͯ͠·ͬͨ
͓ئ͍ ٖࣅٯߦྻΛٻΊΔϥΠϒϥϦ͋ͬͨΒ ڭ͍͑ͯͩ͘͞ʂʂʂ
ͱ͏͍͏ײ͡Ͱ
Ͱ͖ͳ͔ͬͨͷͰ͢
͕ͩɺɺɺ
ఘΊΜʂʂʂ
ͦͯ͠
ౙʹͳΓ·ͨ͠
LTେձ࿈ൃ
Δ͔͠ͳ͍
࣌ܥྻ
ࠓ 11/16 11/17 ࣌ܥྻ LTେձ
2લ 2લ 24࣌ؒલ ேޒ࣌ ELMΖʙ &-.
Ͱ͖ͨʂʂʂ
࡞ͬͨͷ
࡞ͬͨͷ ٖࣅٯߦྻϥΠϒϥϦ ELM 2ྨ༻ϓϩάϥϜ
None
ٖࣅٯߦྻͱ ٯߦྻ͕ଘࡏ͠ͳ͍ߦྻʹ ٯߦྻͱࣅͨੑ࣭Λ࣋ͭߦྻ ಛҟղ(SVD) ϜʔΞϖϩʔζٖࣅٯߦྻ Ұൠٯߦྻ ˡ؆୯ʹ͍͏ͱ
None
https:/ /ja.wikipedia.org/wiki/ %E6%93%AC%E4%BC%BC%E9 %80%86%E8%A1%8C%E5%88 %97
irisͷ͏ͪೋͭΛྨ
None
100ˋ
࣍
ࠓ 11/17 ࣌ܥྻ 11/16 ςετ 11/29 12/4 12/6
͢༰Λߟ͑Δ
None
ELM΄Μͱʹ߹ͬ ͯΜͷʁ
ଟྨͰ͖ΔΑ͏ʹ ͢Ε͍͍Μ͡ΌͶʁ
ଟྨରԠͷϥΠϒϥϦԽ ͜Ε·ͰͷίʔυΛཧ ʢཧͰ͖ͯͳ͍ʣ 2ྨ༻ͷϋʔυίʔσΟϯάΛͳ͘͢
https:/ /github.com/ Yamashou/elm
ࠓ 11/17 ࣌ܥྻ 11/16 ςετ 11/29 12/4 12/6 12/7
ଟ࣍ݩͷ݁ՌΛݟ ͍ͤͨ
exampleΛ࡞Ζ͏
example ୯७ͳείΞ ΫϩεόϦσʔγϣϯͰͷධՁ
ΫϩεόϦσʔγϣϯ ަࠩݕূ σʔλΛׂͯͦ͠ΕͧΕͷ݁Ռͷ ฏۉΛͱΔ
None
σʔλ ̍ ̎ ̏ ̍ ̎ ̏ ᶃ ̎ ̏
̍ ̍ ̏ ̎ ᶄ ᶅ ֶश ςετ
ᶃᶄ ᶄᶅ ᶃᶄ είΞ 0.9 0.7 0.4 ฏۉ 0.6666666666666666
σϞ
None
͍͍ײ͡ʂ
ࠓճ͜͜·Ͱʂ
Ͱͳ͔ͬͨ
12/7༦ํ
ൃදऀ͕ܹݮ͍ͯ͠ Δ͜ͱʹؾ͕ͭ͘
None
Γͳ͍
૿͔͢͠ͳ͍
ͱ͍͏͜ͱͰɺ
ը૾Λֶशͤ͞Α͏
Δ͜ͱ σʔλ إσʔλ LBPಛ ELM
ͪΖΜ
Δ͜ͱ σʔλ إσʔλ LBPಛ ELM GO
Opencv
gocv OpenCV 3.3+ΛGoͰѻ͏ϥΠϒϥϦ ·ͩ·ͩग़དྷཱͯϗϠϗϠ ࠓճඞཁͳͷἧͬͯΔ https:/ /github.com/hybridgroup/gocv https:/ /gocv.io/
σϞ
ݟͯͷ௨Γ
ΰϛ͋Γ·͕͢
ΰϛΛإ͡Όͳ͍ ͷͱ͍ͯ͠·͢
࣍
LBPಛ Local Binary Pattern ًͷʹΑΓಛΛଊ͑Δ https:/ /www.pro-s.co.jp/engineerblog/opencv/ post_6256.html
αΠτͱશ͘ಉ͡ આ໌͠·͢
όΠφϦσʔλΛܭࢉ ըૉΛׂ 3x3ըૉͮͭऔͬͯ͘Δ த৺ͷըૉͱपΓΛൺ ֱ ໌Δ͚Ε1 ҉͚Ε0 ͱ͢Δ
ώετάϥϜ όΠφϦσʔλͷू·Γ ͕ώετάϥϜͱͳΓ· ͢
LBPಛྔ ώετάϥϜͷू·Γ͕LBPಛͱͳΓ·͢ ώετάϥϜͷΈ߹ΘͤʹΑͬͯମΛఆ͠· ͢
ͬͱདྷͨʂ σʔλ إσʔλ LBPಛ ELM GO
ਓؒإ໘ఆ ࣗͷϑΥϧμͷσʔλͰopecv͕ ਓͱఆͨ͠ͷ إɿ310, ͦ͏Ͱͳ͍ͷɿ200 ΫϩεόϦσʔγϣϯ
σϞ
None
ͱ͍͏۩߹Ͱ
ࠓճ͜͜·Ͱ
ͱݴ͍͔ͨͬͨ
12/8ͷே̑࣌·Ͱ ͷ
ࠓ 11/17 ࣌ܥྻ 11/16 ςετ 11/29 12/4 12/6 12/7 12/8
12/8 ே 11࣌
·ͨҰਓݮͬͨ
Γͳ͍
͔ͨ͢͠ͳ͍
ͨ͢͜ͱ ΦϯϥΠϯ্ͷը૾Λֶश͠Ϟσϧ ͷධՁ νϟοτBot
ը૾ֶश ݕࡧϫʔυೋͭͷը૾ΛεΫϨΠϐ ϯάɾֶशɾධՁ yahooͷը૾ݕࡧ͔Βऔಘ ಛநग़LBPͷ··
σϞ
ݘͱτΧή ΠϞϦͱϠϞϦ
ͬͯΈͯ σʔλతʹͬͺΓόΧͳౕ͕ ੜ·Εͨ ֶशͦͦ͜͜
νϟοτbotʹ͠Α
͓͔ML ίϯϚ۠ΓͰ;ͨͭ ͷϫʔυΛೖΕΔ ͦͷೋͭςʔϚͷը૾ Λֶश ը૾ͷurlΛ͛Δͱͦ Ε͕Ͳͬͪͳͷ͔ڭ͑ ͯ͘ΕΔ
σϞ
ײ ࣗͰ࡞ͬͨͷͰͷΛ࡞Δͱָ͘͠ ͳΔʂ ͪΌΜͱͨ͠ͷʹ͍͚ͯͨ͠Βͬͱ Α͔ͬͨ ͳΜͰGoͱ͔ݴΘͳ͍Ͱ͍ͩ͘͞ɻɻ
༨ஊ
bot͕Ͱ͖ͨͷ͕
ຊ11࣌
εϥΠυ͕Ͱ͖ͨͷ͕
14࣌
ࠓिฏۉਭ࣌ؒ 3.5࣌ؒ
ͭ·ΓԿ͕ݴ͍ͨ ͍͔ͱ͍͏ͱ
ਭେ
ͬͱൃද͠Α͏
͋Γ͕ͱ͏͍͟͝·ͨ͠