SlideShare a Scribd company logo
1 of 13
Download to read offline
Gundam 2 Vec
ガンダム と ザク から
ハイザック ができるのか?
@zaoriku0
Word2Vecの応用
前回
ガンコミのすすめ!
MS 2 Vec
Gundam 2 Vec ( MS 2 Vec )
MS基本情報
身長
重量
エンジン出力
ビームサーベル
バルカン
…
Word2Vecの応用
・単語の特徴を文章から抽出
・AIでベクトル化
テキスト
技術文
解説文
“King” ― ”Man” +”Woman” = ”Queen”
男
王
女 女
男 男
王
女
3
4
0
3
0
0
0
0
3
0
4
3
MSどうしを合成
するとどうなるのか!
2
3
0
Prince
イメージ
男
王
女
モビルスーツ
キャラ
NNでベクトル化
実際には、より多次元の
抽象ベクトルの分散表現
=+―
http://idli.group/Natural-Language-Processing-using-Vectoriziation.html
Natural Language Processing using Word2Vec
Python
gensim モジュール
MSのベクトル化:
Doc2Vec
キャラのベクトル化:
Word2Vec
Model パラメタ(基本デフォルトw)
‘alpha’: 0.025, 初期学習率
‘batch_words’: 10000, 学習時バッチサイズ
‘cbow_mean’: 1, 平均ベクトル計算
'corpus_count': 1343,
'corpus_total_words': 442234,
‘epochs’: 30, エポック
‘min_alpha’: 0.0001, 変動学習率の収束ポイント
'min_alpha_yet_reached': 0.0001197766195085645,
'model_trimmed_post_training': False,
‘negative’: 5, NS:ネガティブサンプリング語数
'ns_exponent': 0.75, NS分布の形状を変更するパラ
'running_training_loss': 0.0,
‘sg’: 0, C-BOW
'total_train_time': 26.375918278869502,
'train_count': 1,
‘vector_size’: 300 or 500,
'window': 10,
'workers': 3,
ここの単語を当てるように
中間層を学習
Data
英語
作品は
宇宙世紀
テクニカル
ヒストリー
テキスト情報
スクレイピング
失敗で取れて
ない作品や
宇宙世紀以外も
ある orz
RX-78-2 500次元
0 0.903 RX-77-2 Guncannon
1 0.887 RX-79(G) Gundam Ground Type
2 0.884 RX-78NT-1 Gundam NT-1 Alex
3 0.88 MS-07B Gouf
4 0.872 RX-78-5 Gundam 5th
5 0.87 RX-78-4 Gundam 4th
6 0.867 OMS-07RF RF Gouf
7 0.863 FA-78-1 Full Armor Gundam
8 0.863 OMS-14SRF
9 0.861 MS-07W Gouf Combination Test Type
MS-06 500次元
0 0.942 MS-05 Zaku I (Thunderbolt Sector)
1 0.939 MS-06W Worker Zaku
2 0.937 MS-05S Char's Zaku I
3 0.92 MS-06FS Zaku II FS
4 0.907 MSZ-006E Zeta plus E
5 0.902 MS-06C Zaku II
6 0.901 Petite Mobile Suit
7 0.901 YRMS-106 Hi-Zack
8 0.896 SRf-06 Dahle
9 0.892 MS-06V Zaku Tank
ガンダムに
特徴が似てるMS
ザクに
特徴が似てるMS
グフはGと
濃厚接触多い
ガンダム + ザクII!
'RX-78-2++MS-06'
1 0.937 MSM-07E Z'Gok Experiment
2 0.934 MSM-06 Jurick
3 0.929 MS-05S Char's Zaku I
4 0.923 MSM-04G Juaggu
5 0.918 MS-06FZ Zaku II FZ
6 0.917 RMS-009 Septem
7 0.917 YMS-07A Prototype Gouf
8 0.914 MSA-005S Methuss Kai
9 0.913 MSM-10 Zock
10 0.908 MS-06K Zaku Cannon
11 0.908 RX-160 Byarlant
12 0.905 Hi-Mock
13 0.905 MSM-04 Acguy
14 0.904 EMS-06-P Arana Batalla
15 0.903 Med
16 0.903 MSM-08 Zogok
17 0.901 MSM-07N Ram Z'Gok
18 0.901 MSK-008R Rick Dijeh
19 0.901 MSM-04N Agg Guy
え!?
え!?
なんかジョニーライデンの帰還
の設定集にもでてた…
'RGM-79++MS-06‘
1 0.95 MSK-008R Rick Dijeh
2 0.943 MSM-07E Z'Gok Experiment
3 0.922 F90I Gundam F9
4 0.918 MSM-04 Acguy
5 0.914 MSM-07N Ram Z'Gok
6 0.913 RMS-099S Rick Dias II
7 0.911 Jegan RGM-89 cc
8 0.91 MSM-06 Jurick
9 0.909 MS-14BR Gelgoog R
10 0.909 MAM-07 Grublo
11 0.904 RMS-009G Septem Custom
12 0.903 MS-07H-4 Gouf Flight Type
13 0.903 XM-08 Zondo-Gei
14 0.902 RMS-009 Septem
15 0.9 Daughtapp DT-9600 x
16 0.896 MS-06A Zaku II
17 0.894 RGM-79KC GM Intercept Custom
18 0.892 MSJ-06II-SP Tieren Taozi
19 0.89 MSM-08 Zogok
GM + ザクII! (中間500次元)
中間的MS
ではある
ムーンG系
ガンダム + エルメス!
'RX-78-2++MAN-08'
1 0.923 MRX-010 Psycho Gundam Mk-II
2 0.906 RX-78GP02A Gundam GP02A Physalis
3 0.906 RX-78NT-1 Gundam NT-1 Alex
4 0.899 Gerbera-Tetra AGX-04 00
5 0.893 Jegan RGM-89 cc
6 0.882 MRX-009 Psycho Gundam
7 0.882 RX-139 Hambrabi
8 0.874 MSM-03C Hy-Gogg
9 0.871 PMX-000 Messala
10 0.87 MSZ-006C4 Zeta plus C4
11 0.865 RX-79(G) Gundam Ground Type
12 0.865 RX-160 Byarlant
13 0.865 MS-07W Gouf Combination Test Type
14 0.863 MS-14G Gelgoog
15 0.858 RX-78-4 Gundam 4th
16 0.858 MS-21C Dra-C
17 0.856 MS-07B-3 Gouf Custom
18 0.856 R-Jarja AMX-104 z
19 0.855 MS-14JG Gelgoog
20 0.852 OMS-07RF RF Gouf
割と良い!
サイコミュを獲得!
GMクゥィル + ザクII
'RGM-79Q++MS-06'
1 0.925 RMS-106CS Hi-Zack Custom
2 0.908 MSM-10 Zock
3 0.908 SE-DJ-1R Dijeh SE-R
4 0.906 MSM-07N Ram Z'Gok
5 0.904 MS-05L Zaku I Sniper Type
6 0.9 MP-02A Oggo
7 0.896 MS-05S Char's Zaku I
8 0.89 MS-06JK Zaku Half Cannon
9 0.889 Gattle
10 0.881 MS-06G Zaku II
11 0.88 MS-06FZ Zaku II FZ
12 0.878 MS-06E Recon Type Zaku
13 0.878 MSZ-006R (RGZ-006) Zeta plus R
14 0.878 MS-06W Worker Zaku
15 0.876 MS-06RP Zaku II RP
16 0.876 MSM-08 Zogok
17 0.876 YMS-15E Gyan EOS
18 0.875 MS-05Q Norris Packard's Zaku I
19 0.871 MSZ-007 Mass Prod
20 0.87 MS-06M (MSM-01) Zaku Marine Type
+
キャー!
ほぼビンゴ!
'RMS-106--RX-78-2'
1 0.542 MSZ-006AIB Zeta plus AIB
2 0.496 MS-06R-AB Zaku Amazing
3 0.495 NRS-P701 Gozzo
4 0.494 RMS-106CS Hi-Zack Custom
5 0.483 Middle Mobile Suit
6 0.479 MS-10 Pezun Dowadge
7 0.475 MS-06RP Zaku II RP
8 0.466 EMS-10 Pez Batalla
9 0.462 MS-06BR Ballistic Zaku
10 0.458 CMS-223Z Zila
11 0.456 SRf-06 Dahle
12 0.454 YMS-11 Act Zaku (Kycilia's Forces)
13 0.451 MSJ-06II-ED Tieren Zhizhu
14 0.45 ZGMF-X3000Q Providence ZAKU
15 0.445 YRMS-106 Hi-Zack
16 0.442 MS-14D Desert Gelgoog
17 0.441 MS-06 Zaku II (Thunderbolt Sector)
18 0.438 Rhinoceros Type B
19 0.436 MS-06C-6/R6 Zaku II
20 0.434 MSZ-006E Zeta plus
ハイザック – ガンダム
MS-06
がザク違い!
実は、
引くと良いw
アムロ + シャア!
'Amuro++char'
1 glemy 0.7776623964309692
2 peace 0.7774108052253723
3 chara 0.7633609771728516
4 toto 0.7509177327156067
5 renown 0.7505320906639099
6 incognito 0.74438917636871
7 Electronics 0.739150404930
8 billy 0.7387216091156006
9 aznable 0.7319433093070984
10 sahalin 0.72983437776565
11 Berg 0.7275558710098267
12 Ray 0.7233127355575562
13 Developed 0.7219407558441
14 oliver 0.7210784554481506
15 loyalist 0.71684408187866
16 aznable 0.71481907367706
17 zabi's 0.7113059163093567
18 Bajeena 0.710997581481933
19 zabi 0.7101002931594849
20 Kayra 0.709430456161499
アムロの金髪版に見え
なくもないけど、画像
処理ではありません
ムーンG系
アーガマに
濃厚接触だからかも
そういえば
親誰?W
ご清聴ありがとうございました~ @zaoriku0
課題
・スクレイピングとデータの整理
・特徴ベクトルの調整
ココイチのガンダム・
スプーン当たりました!
やってみてほしい合成あったらどうぞ!
3体とか複数体の演算もできます。

More Related Content

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

ガンダムとザクからハイザックができるのか? Gundam2vec

  • 1. Gundam 2 Vec ガンダム と ザク から ハイザック ができるのか? @zaoriku0 Word2Vecの応用 前回 ガンコミのすすめ! MS 2 Vec
  • 2.
  • 3. Gundam 2 Vec ( MS 2 Vec ) MS基本情報 身長 重量 エンジン出力 ビームサーベル バルカン … Word2Vecの応用 ・単語の特徴を文章から抽出 ・AIでベクトル化 テキスト 技術文 解説文 “King” ― ”Man” +”Woman” = ”Queen” 男 王 女 女 男 男 王 女 3 4 0 3 0 0 0 0 3 0 4 3 MSどうしを合成 するとどうなるのか! 2 3 0 Prince イメージ 男 王 女 モビルスーツ キャラ NNでベクトル化 実際には、より多次元の 抽象ベクトルの分散表現 =+―
  • 4. http://idli.group/Natural-Language-Processing-using-Vectoriziation.html Natural Language Processing using Word2Vec Python gensim モジュール MSのベクトル化: Doc2Vec キャラのベクトル化: Word2Vec Model パラメタ(基本デフォルトw) ‘alpha’: 0.025, 初期学習率 ‘batch_words’: 10000, 学習時バッチサイズ ‘cbow_mean’: 1, 平均ベクトル計算 'corpus_count': 1343, 'corpus_total_words': 442234, ‘epochs’: 30, エポック ‘min_alpha’: 0.0001, 変動学習率の収束ポイント 'min_alpha_yet_reached': 0.0001197766195085645, 'model_trimmed_post_training': False, ‘negative’: 5, NS:ネガティブサンプリング語数 'ns_exponent': 0.75, NS分布の形状を変更するパラ 'running_training_loss': 0.0, ‘sg’: 0, C-BOW 'total_train_time': 26.375918278869502, 'train_count': 1, ‘vector_size’: 300 or 500, 'window': 10, 'workers': 3, ここの単語を当てるように 中間層を学習
  • 6. RX-78-2 500次元 0 0.903 RX-77-2 Guncannon 1 0.887 RX-79(G) Gundam Ground Type 2 0.884 RX-78NT-1 Gundam NT-1 Alex 3 0.88 MS-07B Gouf 4 0.872 RX-78-5 Gundam 5th 5 0.87 RX-78-4 Gundam 4th 6 0.867 OMS-07RF RF Gouf 7 0.863 FA-78-1 Full Armor Gundam 8 0.863 OMS-14SRF 9 0.861 MS-07W Gouf Combination Test Type MS-06 500次元 0 0.942 MS-05 Zaku I (Thunderbolt Sector) 1 0.939 MS-06W Worker Zaku 2 0.937 MS-05S Char's Zaku I 3 0.92 MS-06FS Zaku II FS 4 0.907 MSZ-006E Zeta plus E 5 0.902 MS-06C Zaku II 6 0.901 Petite Mobile Suit 7 0.901 YRMS-106 Hi-Zack 8 0.896 SRf-06 Dahle 9 0.892 MS-06V Zaku Tank ガンダムに 特徴が似てるMS ザクに 特徴が似てるMS グフはGと 濃厚接触多い
  • 7. ガンダム + ザクII! 'RX-78-2++MS-06' 1 0.937 MSM-07E Z'Gok Experiment 2 0.934 MSM-06 Jurick 3 0.929 MS-05S Char's Zaku I 4 0.923 MSM-04G Juaggu 5 0.918 MS-06FZ Zaku II FZ 6 0.917 RMS-009 Septem 7 0.917 YMS-07A Prototype Gouf 8 0.914 MSA-005S Methuss Kai 9 0.913 MSM-10 Zock 10 0.908 MS-06K Zaku Cannon 11 0.908 RX-160 Byarlant 12 0.905 Hi-Mock 13 0.905 MSM-04 Acguy 14 0.904 EMS-06-P Arana Batalla 15 0.903 Med 16 0.903 MSM-08 Zogok 17 0.901 MSM-07N Ram Z'Gok 18 0.901 MSK-008R Rick Dijeh 19 0.901 MSM-04N Agg Guy え!? え!? なんかジョニーライデンの帰還 の設定集にもでてた…
  • 8. 'RGM-79++MS-06‘ 1 0.95 MSK-008R Rick Dijeh 2 0.943 MSM-07E Z'Gok Experiment 3 0.922 F90I Gundam F9 4 0.918 MSM-04 Acguy 5 0.914 MSM-07N Ram Z'Gok 6 0.913 RMS-099S Rick Dias II 7 0.911 Jegan RGM-89 cc 8 0.91 MSM-06 Jurick 9 0.909 MS-14BR Gelgoog R 10 0.909 MAM-07 Grublo 11 0.904 RMS-009G Septem Custom 12 0.903 MS-07H-4 Gouf Flight Type 13 0.903 XM-08 Zondo-Gei 14 0.902 RMS-009 Septem 15 0.9 Daughtapp DT-9600 x 16 0.896 MS-06A Zaku II 17 0.894 RGM-79KC GM Intercept Custom 18 0.892 MSJ-06II-SP Tieren Taozi 19 0.89 MSM-08 Zogok GM + ザクII! (中間500次元) 中間的MS ではある ムーンG系
  • 9. ガンダム + エルメス! 'RX-78-2++MAN-08' 1 0.923 MRX-010 Psycho Gundam Mk-II 2 0.906 RX-78GP02A Gundam GP02A Physalis 3 0.906 RX-78NT-1 Gundam NT-1 Alex 4 0.899 Gerbera-Tetra AGX-04 00 5 0.893 Jegan RGM-89 cc 6 0.882 MRX-009 Psycho Gundam 7 0.882 RX-139 Hambrabi 8 0.874 MSM-03C Hy-Gogg 9 0.871 PMX-000 Messala 10 0.87 MSZ-006C4 Zeta plus C4 11 0.865 RX-79(G) Gundam Ground Type 12 0.865 RX-160 Byarlant 13 0.865 MS-07W Gouf Combination Test Type 14 0.863 MS-14G Gelgoog 15 0.858 RX-78-4 Gundam 4th 16 0.858 MS-21C Dra-C 17 0.856 MS-07B-3 Gouf Custom 18 0.856 R-Jarja AMX-104 z 19 0.855 MS-14JG Gelgoog 20 0.852 OMS-07RF RF Gouf 割と良い! サイコミュを獲得!
  • 10. GMクゥィル + ザクII 'RGM-79Q++MS-06' 1 0.925 RMS-106CS Hi-Zack Custom 2 0.908 MSM-10 Zock 3 0.908 SE-DJ-1R Dijeh SE-R 4 0.906 MSM-07N Ram Z'Gok 5 0.904 MS-05L Zaku I Sniper Type 6 0.9 MP-02A Oggo 7 0.896 MS-05S Char's Zaku I 8 0.89 MS-06JK Zaku Half Cannon 9 0.889 Gattle 10 0.881 MS-06G Zaku II 11 0.88 MS-06FZ Zaku II FZ 12 0.878 MS-06E Recon Type Zaku 13 0.878 MSZ-006R (RGZ-006) Zeta plus R 14 0.878 MS-06W Worker Zaku 15 0.876 MS-06RP Zaku II RP 16 0.876 MSM-08 Zogok 17 0.876 YMS-15E Gyan EOS 18 0.875 MS-05Q Norris Packard's Zaku I 19 0.871 MSZ-007 Mass Prod 20 0.87 MS-06M (MSM-01) Zaku Marine Type + キャー! ほぼビンゴ!
  • 11. 'RMS-106--RX-78-2' 1 0.542 MSZ-006AIB Zeta plus AIB 2 0.496 MS-06R-AB Zaku Amazing 3 0.495 NRS-P701 Gozzo 4 0.494 RMS-106CS Hi-Zack Custom 5 0.483 Middle Mobile Suit 6 0.479 MS-10 Pezun Dowadge 7 0.475 MS-06RP Zaku II RP 8 0.466 EMS-10 Pez Batalla 9 0.462 MS-06BR Ballistic Zaku 10 0.458 CMS-223Z Zila 11 0.456 SRf-06 Dahle 12 0.454 YMS-11 Act Zaku (Kycilia's Forces) 13 0.451 MSJ-06II-ED Tieren Zhizhu 14 0.45 ZGMF-X3000Q Providence ZAKU 15 0.445 YRMS-106 Hi-Zack 16 0.442 MS-14D Desert Gelgoog 17 0.441 MS-06 Zaku II (Thunderbolt Sector) 18 0.438 Rhinoceros Type B 19 0.436 MS-06C-6/R6 Zaku II 20 0.434 MSZ-006E Zeta plus ハイザック – ガンダム MS-06 がザク違い! 実は、 引くと良いw
  • 12. アムロ + シャア! 'Amuro++char' 1 glemy 0.7776623964309692 2 peace 0.7774108052253723 3 chara 0.7633609771728516 4 toto 0.7509177327156067 5 renown 0.7505320906639099 6 incognito 0.74438917636871 7 Electronics 0.739150404930 8 billy 0.7387216091156006 9 aznable 0.7319433093070984 10 sahalin 0.72983437776565 11 Berg 0.7275558710098267 12 Ray 0.7233127355575562 13 Developed 0.7219407558441 14 oliver 0.7210784554481506 15 loyalist 0.71684408187866 16 aznable 0.71481907367706 17 zabi's 0.7113059163093567 18 Bajeena 0.710997581481933 19 zabi 0.7101002931594849 20 Kayra 0.709430456161499 アムロの金髪版に見え なくもないけど、画像 処理ではありません ムーンG系 アーガマに 濃厚接触だからかも そういえば 親誰?W