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
enebularで 爆速で機械学習APIをつくる
Search
pco2699
October 31, 2019
Technology
220
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
enebularで 爆速で機械学習APIをつくる
pco2699
October 31, 2019
More Decks by pco2699
See All by pco2699
enebular x Hugging Faceで 自然言語処理の全能の神になる
pco2699
0
420
enebular x AutoML Visionで 爆速で画像判定アプリをつくる
pco2699
0
460
tsconfig.jsonを完全に理解する
pco2699
1
2.2k
JavaScriptアルゴリズム本を 技術書典7で頒布しました
pco2699
1
1k
MIDI × MQTT × Twitterで ハッシュタグ自動作曲シンセを作ろう
pco2699
1
1.4k
enebular × MIDI × MQTT ハンズオンの反省をする
pco2699
1
730
MIDIキーボードとenebularをつなげてみよう
pco2699
0
670
Firebase Cloud Messagingで 通知の配信遅延とたたかってみた
pco2699
4
12k
Other Decks in Technology
See All in Technology
ガバメント AI 源内を地方自治体は活用できるのか可能性と課題、期待について
takeda_h
2
450
My broken English still works: speaking at global OSS events
naruoga
0
120
35分でわかるEffective Platform Engineering
nwiizo
5
490
現場回帰したデータエンジニアが考える AI 時代のキャリア開発 / Career Development in the Age of AI Perspectives from a Hands-on Data Engineer
medley
0
250
私がブラウザを自作したくなった理由
supurazako
1
270
FDEの心得
noriakioji
5
6.3k
Software Supply Chain Attackからクラウド環境を守るためにできること
lhazy
2
280
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
19k
ホームラボ紹介
y_sera15
0
210
【CEDEC2026】Creative Approaches to Localizing the Dialects and Unique Speech of Umamusume: Pretty Derby Characters in English
cygames
PRO
3
25k
Eight Engineering Unit 紹介資料
sansan33
PRO
3
8.2k
DDDのエッセンスを取り入れたAIでの開発
ak2ie
0
140
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
Scaling GitHub
holman
464
140k
Test your architecture with Archunit
thirion
2
2.3k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
550
Writing Fast Ruby
sferik
630
63k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Building AI with AI
inesmontani
PRO
1
1.1k
[SF Ruby Conf 2025] Rails X
palkan
2
1.3k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
220
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.2k
Transcript
enebularで 爆速で機械学習APIをつくる ゆるふわマシンラーニング@ウフル @pco2699
自己紹介 ・高山 和幸 ・@pco2699 <- follow me! ・趣味: プログラミングと電子工作
自己紹介 ・高山 和幸 ・@pco2699 <- follow me! ・趣味: プログラミングと電子工作 ・enebular
エバンジェリスト
こういうことしてます ちょっとしたご縁でenebular周りでハンズオン講師などを やらせていただいています。
enebularとは • https://enebular.com • Node-REDというライブラリがベース • うねうねをつなげるだけでいろいろ作れる • ワイがすごいと思っているところ Web上で簡単にAPIが作れる!
「ゆるふわマシンラーニング」にちなんで enebularでマシンラーニングやっていき
やりたいこと enebularで ノンコーディング&爆速で 機械学習API作成
イメージ なんかのCSV 学習 学習フェーズ
イメージ なんかのデータ リクエスト 推論結果 レスポンス 推論フェーズ
イメージ LT中のワイ みんな
イメージ LT中のワイ みんな すごい!あの人 2分で機械学習のAPI作ってる!
絶対に行けると思った 相棒(enebular)となら こいつ
やっていき
enebular × Machine Learning の可能性を調査
enebularで行えるML/AI関連機能 1. enebular AI Models 2. node-red-contrib-machine-learning 3. JSの機械学習ライブラリを無理やり動かす
enebularで行えるML/AI関連機能 1. enebular AI Models 2. node-red-contrib-machine-learning 3. JSの機械学習ライブラリを無理やり動かす
enebular AI Models • enebularの有償版の機能 • enebularを使って ラズパイやJetsonにML/DLのモデルが置ける! こういうケースに向いてる! •
エッジデバイスに機械学習のモデルを デプロイして推論したい
enebular AI Models こういうケースに向いてない • 学習してモデルは作れない -> 別途 作成する必要 •
WebAPI(Heroku, Lambda)ではAI Modelsが動かない
node-red-contrib-machine-learning • GabrieleMaurina/node-red-contrib-machine-learning • 機械学習の機能をパッケージングした Node-REDのノード • Pythonのラッパーなので Pythonが入ってないenebularにはどだい無理だった
node-red-contrib-machine-learning • GabrieleMaurina/node-red-contrib-machine-learning • 機械学習の機能をパッケージングした Node-REDのノード • Pythonのラッパーなので Pythonが入ってないenebularにはどだい無理だった
パ イ ソ ン の 壁 enebularにはPythonの壁がある
パ イ ソ ン の 壁 enebularにはPythonの壁がある Node.jsの機械学習ライブラリ があればいい
実は最近 JavaScriptの機械学習ライブラリが増えてきている
machinelearnjs • https://www.machinelearnjs.com/ • JavaScriptだけで実装された機械学習ライブラリ こいつをenebularで動かせばAPIができる
無理やり動かした
簡単なデモ 身長・体重データで 単回帰の機械学習APIを作ってみる
まとめ • enebularで学習・推論を行えるWebAPI爆速開発 ◦ AI Modelsはエッジ専用 ◦ node-red-contrib-machine-learningはPython必要 • 最近JSで機械学習ライブラリが増えている
◦ machinelearnjsと組み合わせて 無理やり爆速開発できた ◦ Node-REDのノードを作れば さらにスムーズに爆速開発できるかも