Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
機械学習って何? 5分で解説頑張ってみる
Search
Kazuki Ishikawa
June 04, 2025
Programming
630
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
機械学習って何? 5分で解説頑張ってみる
大規模言語モデルや画像処理モデルに使われている機械学習。
原理を知らない人向けに、5分間で解説した際のスライドです。
Kazuki Ishikawa
June 04, 2025
Transcript
18 slides
機械学習って何? 5分で解説頑張ってみる 石川和樹 1
自己紹介 2 経歴 2024年 4月 WED株式会社に新卒入社 MLエンジニア バック・フロント・インフラ・ネイティブもちょっと 趣味 ゲーム、パズル、謎解き
推し 猫又おかゆ (Hololive) 石川和樹 @ishi2ki @kuroneko2828
機械学習の分類 3 教師あり学習 強化学習 教師なし学習 機械学習
機械学習の分類 4 強化学習 教師なし学習 機械学習 教師あり学習
5 突然ですが、クイズです
6 1 3 2 5 7 6 6 4 13
25 76 ?
7 + 1 3 + 2 5 + 7 6
+ 6 4 x10 x10 x10 x10 x1 x1 x1 x1 13 25 76 64
8 機械学習モデル
パーセプトロン 9 + a b x Wa x Wb c
c = Wa×a + Wb×b となる、Wa, Wbを (a, b, c) の3つ組データ から探す (a, b, c) = (1, 3, 13), (2, 5, 25), (7, 6, 76), (11, 1, 111), (53, 1, 531), (-1, 1, 99), (5, -3, 47), (0, 2, 2) 機械学習モデルの最小単位 c = 10×a + 1×b だ!! (Wa, Wb) = (1, 1)...ちがう、 (2, 1)...ちがう、(0, 0)...ちがう、 (-1, 3)...ちがう、(7, 8)...ちがう、 …………. (10, 1)...
10 それが大きくなって ... + + x W(1,1) x W(1,2) x
W(2,1) x W(2,2)
11 大きくなって大きくなって ... + + + +
もっと大きくなって ...! 12 ・・・ ・・・ ・・・ ・・・
機械学習モデル 13 入力配列 出力配列 モデル 大量の入力・出力ペアから、 全ての重み (Wa, Wb, …)
を学習する 学習が充分にされていれば、未知のデータ でも正しく推論可能!
14 タスク例
自然言語処理 (Text to Text) 15 1204, 911, 5044, 1035 モデル
これはペンです これ, は, ペン, です 5730, 5024, 5046, 8305 This, is, a, pen ① ② ③ ④ ① 文をトークン (≒単語) に分割する ② トークンを対応する数値に変換する ③ モデルで推論を行う (出力は数値) ④ 数値をトークンに変換する ⑤ トークンを結合する ⑤ This is a pen
画像処理 (クラス分類 ) 16 猫 or 犬 の分類タスク [ [[255,
250, 198], [255, 253, 208], …], [[......... [[......... ] R G B R G B ① 画像を数値の配列に変換
画像処理 (クラス分類 ) 17 [ [[255, 250, 198], [255, 253,
208], …], [[......... [[......... ] モデル 0 (0: 猫, 1: 犬) ① ② ① 画像を数値の配列に変換 ② モデルで推論を行う (「0: 猫, 1: 犬」のように、 ラベルと数値を1:1対応させる)
まとめ • 機械学習モデルの実態は大量の計算式! • モデルの学習=「入出力のデータに合うように、 重みを更新すること」 • 文字や画像も、数値に変換すれば扱える! • 機械学習の実装は結構簡単!
◦ iris (アヤメの分類) ◦ MNIST (手書き数字の分類) 18
More Decks by Kazuki Ishikawa
See All by Kazuki Ishikawa
Docker imageを軽くしたい!!
kuroneko2828
0
63
NGレシート検知モデルの作成
kuroneko2828
0
58
Other Decks in Programming
See All in Programming
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
240
Performance Optimization With LLMs
xleitix
0
260
PyConTW 2026 - AI Coding 不只是工具升級, 區域醫院醫療資訊系統協作開發與資訊團隊轉型實踐
cclai999
0
250
flutter_test のその先へ — Flutter アプリの LLM 機能に「評価」という品質保証を
kosukesaigusa
0
200
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
310
Vue.jsで作る空間解析アプリとCapacitorプラグインのData Bridge
hal_spidernight
1
170
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.4k
Distance field of Julia set
kinakomoti321
0
320
Web Framework Benchmark Battle 2026, Any%
a_matsuda
3
3.2k
Next.js: The final boss of Web Performance
guaca
0
410
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
180
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
210
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
50
15k
The Curse of the Amulet
leimatthew05
4
17k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Designing Powerful Visuals for Engaging Learning
tmiket
1
650
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
690
Ruling the World: When Life Gets Gamed
codingconduct
0
440
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Navigating Team Friction
lara
192
16k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
4 Signs Your Business is Dying
shpigford
187
23k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
エンジニアに許された特別な時間の終わり
watany
109
250k