Submit Search
Upload
AIWolfPy v0.4.9
•
3 likes
•
3,169 views
Harada Kei
Follow
Pythonで人狼知能大会に参加するためのパッケージ"AIWolfPy"のドキュメントです
Read less
Read more
Technology
Report
Share
Report
Share
1 of 33
Download now
Download to read offline
Recommended
最適化計算の概要まとめ
最適化計算の概要まとめ
Yuichiro MInato
これからの Vision & Language ~ Acadexit した4つの理由
これからの Vision & Language ~ Acadexit した4つの理由
Yoshitaka Ushiku
明日使えないすごいビット演算
明日使えないすごいビット演算
京大 マイコンクラブ
(研究会輪読) Weight Uncertainty in Neural Networks
(研究会輪読) Weight Uncertainty in Neural Networks
Masahiro Suzuki
5分で分かる自己組織化マップ
5分で分かる自己組織化マップ
Daisuke Takai
異常検知と変化検知の1~3章をまとめてみた
異常検知と変化検知の1~3章をまとめてみた
Takahiro Yoshizawa
なぜベイズ統計はリスク分析に向いているのか? その哲学上および実用上の理由
なぜベイズ統計はリスク分析に向いているのか? その哲学上および実用上の理由
takehikoihayashi
文字認識はCNNで終わるのか?
文字認識はCNNで終わるのか?
Seiichi Uchida
Recommended
最適化計算の概要まとめ
最適化計算の概要まとめ
Yuichiro MInato
これからの Vision & Language ~ Acadexit した4つの理由
これからの Vision & Language ~ Acadexit した4つの理由
Yoshitaka Ushiku
明日使えないすごいビット演算
明日使えないすごいビット演算
京大 マイコンクラブ
(研究会輪読) Weight Uncertainty in Neural Networks
(研究会輪読) Weight Uncertainty in Neural Networks
Masahiro Suzuki
5分で分かる自己組織化マップ
5分で分かる自己組織化マップ
Daisuke Takai
異常検知と変化検知の1~3章をまとめてみた
異常検知と変化検知の1~3章をまとめてみた
Takahiro Yoshizawa
なぜベイズ統計はリスク分析に向いているのか? その哲学上および実用上の理由
なぜベイズ統計はリスク分析に向いているのか? その哲学上および実用上の理由
takehikoihayashi
文字認識はCNNで終わるのか?
文字認識はCNNで終わるのか?
Seiichi Uchida
Rあんなときこんなとき(tokyo r#12)
Rあんなときこんなとき(tokyo r#12)
Shintaro Fukushima
動的計画法を極める!
動的計画法を極める!
HCPC: 北海道大学競技プログラミングサークル
プログラミングコンテストでのデータ構造 2 ~平衡二分探索木編~
プログラミングコンテストでのデータ構造 2 ~平衡二分探索木編~
Takuya Akiba
Divisor
Divisor
oupc
画像処理基礎
画像処理基礎
大貴 末廣
Stand alone self attention in vision models
Stand alone self attention in vision models
harmonylab
Anomaly detection 系の論文を一言でまとめた
Anomaly detection 系の論文を一言でまとめた
ぱんいち すみもと
【Unite Tokyo 2019】大量のオブジェクトを含む広いステージでも大丈夫、そうDOTSならね
【Unite Tokyo 2019】大量のオブジェクトを含む広いステージでも大丈夫、そうDOTSならね
UnityTechnologiesJapan002
猫でも分かるVariational AutoEncoder
猫でも分かるVariational AutoEncoder
Sho Tatsuno
距離とクラスタリング
距離とクラスタリング
大貴 末廣
高速な倍精度指数関数expの実装
高速な倍精度指数関数expの実装
MITSUNARI Shigeo
プログラミングコンテストでの動的計画法
プログラミングコンテストでの動的計画法
Takuya Akiba
3D CNNによる人物行動認識の動向
3D CNNによる人物行動認識の動向
Kensho Hara
NLP2021 AI王 解法紹介 8
NLP2021 AI王 解法紹介 8
Takamichi Toda
パターン認識 第10章 決定木
パターン認識 第10章 決定木
Miyoshi Yuya
主成分分析
主成分分析
大貴 末廣
強化学習その1
強化学習その1
nishio
SSII2021 [OS2-01] 転移学習の基礎:異なるタスクの知識を利用するための機械学習の方法
SSII2021 [OS2-01] 転移学習の基礎:異なるタスクの知識を利用するための機械学習の方法
SSII
スパース性に基づく機械学習 2章 データからの学習
スパース性に基づく機械学習 2章 データからの学習
hagino 3000
SSII2022 [TS1] Transformerの最前線〜 畳込みニューラルネットワークの先へ 〜
SSII2022 [TS1] Transformerの最前線〜 畳込みニューラルネットワークの先へ 〜
SSII
AIWolf programming guide
AIWolf programming guide
Hirotaka Osawa
Aiwolf seminar20180630
Aiwolf seminar20180630
Atom Sonoda
More Related Content
What's hot
Rあんなときこんなとき(tokyo r#12)
Rあんなときこんなとき(tokyo r#12)
Shintaro Fukushima
動的計画法を極める!
動的計画法を極める!
HCPC: 北海道大学競技プログラミングサークル
プログラミングコンテストでのデータ構造 2 ~平衡二分探索木編~
プログラミングコンテストでのデータ構造 2 ~平衡二分探索木編~
Takuya Akiba
Divisor
Divisor
oupc
画像処理基礎
画像処理基礎
大貴 末廣
Stand alone self attention in vision models
Stand alone self attention in vision models
harmonylab
Anomaly detection 系の論文を一言でまとめた
Anomaly detection 系の論文を一言でまとめた
ぱんいち すみもと
【Unite Tokyo 2019】大量のオブジェクトを含む広いステージでも大丈夫、そうDOTSならね
【Unite Tokyo 2019】大量のオブジェクトを含む広いステージでも大丈夫、そうDOTSならね
UnityTechnologiesJapan002
猫でも分かるVariational AutoEncoder
猫でも分かるVariational AutoEncoder
Sho Tatsuno
距離とクラスタリング
距離とクラスタリング
大貴 末廣
高速な倍精度指数関数expの実装
高速な倍精度指数関数expの実装
MITSUNARI Shigeo
プログラミングコンテストでの動的計画法
プログラミングコンテストでの動的計画法
Takuya Akiba
3D CNNによる人物行動認識の動向
3D CNNによる人物行動認識の動向
Kensho Hara
NLP2021 AI王 解法紹介 8
NLP2021 AI王 解法紹介 8
Takamichi Toda
パターン認識 第10章 決定木
パターン認識 第10章 決定木
Miyoshi Yuya
主成分分析
主成分分析
大貴 末廣
強化学習その1
強化学習その1
nishio
SSII2021 [OS2-01] 転移学習の基礎:異なるタスクの知識を利用するための機械学習の方法
SSII2021 [OS2-01] 転移学習の基礎:異なるタスクの知識を利用するための機械学習の方法
SSII
スパース性に基づく機械学習 2章 データからの学習
スパース性に基づく機械学習 2章 データからの学習
hagino 3000
SSII2022 [TS1] Transformerの最前線〜 畳込みニューラルネットワークの先へ 〜
SSII2022 [TS1] Transformerの最前線〜 畳込みニューラルネットワークの先へ 〜
SSII
What's hot
(20)
Rあんなときこんなとき(tokyo r#12)
Rあんなときこんなとき(tokyo r#12)
動的計画法を極める!
動的計画法を極める!
プログラミングコンテストでのデータ構造 2 ~平衡二分探索木編~
プログラミングコンテストでのデータ構造 2 ~平衡二分探索木編~
Divisor
Divisor
画像処理基礎
画像処理基礎
Stand alone self attention in vision models
Stand alone self attention in vision models
Anomaly detection 系の論文を一言でまとめた
Anomaly detection 系の論文を一言でまとめた
【Unite Tokyo 2019】大量のオブジェクトを含む広いステージでも大丈夫、そうDOTSならね
【Unite Tokyo 2019】大量のオブジェクトを含む広いステージでも大丈夫、そうDOTSならね
猫でも分かるVariational AutoEncoder
猫でも分かるVariational AutoEncoder
距離とクラスタリング
距離とクラスタリング
高速な倍精度指数関数expの実装
高速な倍精度指数関数expの実装
プログラミングコンテストでの動的計画法
プログラミングコンテストでの動的計画法
3D CNNによる人物行動認識の動向
3D CNNによる人物行動認識の動向
NLP2021 AI王 解法紹介 8
NLP2021 AI王 解法紹介 8
パターン認識 第10章 決定木
パターン認識 第10章 決定木
主成分分析
主成分分析
強化学習その1
強化学習その1
SSII2021 [OS2-01] 転移学習の基礎:異なるタスクの知識を利用するための機械学習の方法
SSII2021 [OS2-01] 転移学習の基礎:異なるタスクの知識を利用するための機械学習の方法
スパース性に基づく機械学習 2章 データからの学習
スパース性に基づく機械学習 2章 データからの学習
SSII2022 [TS1] Transformerの最前線〜 畳込みニューラルネットワークの先へ 〜
SSII2022 [TS1] Transformerの最前線〜 畳込みニューラルネットワークの先へ 〜
Similar to AIWolfPy v0.4.9
AIWolf programming guide
AIWolf programming guide
Hirotaka Osawa
Aiwolf seminar20180630
Aiwolf seminar20180630
Atom Sonoda
Beyond php - it's not (just) about the code
Beyond php - it's not (just) about the code
Wim Godden
Clean Code Development
Clean Code Development
Peter Gfader
Nullcon HackIM 2012 Solutions
Nullcon HackIM 2012 Solutions
Nilanjan De
Beyond php it's not (just) about the code
Beyond php it's not (just) about the code
Wim Godden
From clever code to better code
From clever code to better code
Dror Helper
Beyond php - it's not (just) about the code
Beyond php - it's not (just) about the code
Wim Godden
Beyond php - it's not (just) about the code
Beyond php - it's not (just) about the code
Wim Godden
Python for High School Programmers
Python for High School Programmers
Siva Arunachalam
Python slide
Python slide
Kiattisak Anoochitarom
MouthMouse
MouthMouse
Ruben Flores
Automated Design Validation The Solid Works Api
Automated Design Validation The Solid Works Api
Razorleaf Corporation
Shell Scripting
Shell Scripting
dcarneir
Fast REST APIs Development with MongoDB
Fast REST APIs Development with MongoDB
MongoDB
If you give a mouse a clickhouse, by Alex Hofsteede, Sentry
If you give a mouse a clickhouse, by Alex Hofsteede, Sentry
Altinity Ltd
Codestrong 2012 breakout session hacking titanium
Codestrong 2012 breakout session hacking titanium
Axway Appcelerator
Zabbixconf2016(2)
Zabbixconf2016(2)
Fábio Santos
Introduction to Python3 Programming Language
Introduction to Python3 Programming Language
Tushar Mittal
Beyond PHP - It's not (just) about the code
Beyond PHP - It's not (just) about the code
Wim Godden
Similar to AIWolfPy v0.4.9
(20)
AIWolf programming guide
AIWolf programming guide
Aiwolf seminar20180630
Aiwolf seminar20180630
Beyond php - it's not (just) about the code
Beyond php - it's not (just) about the code
Clean Code Development
Clean Code Development
Nullcon HackIM 2012 Solutions
Nullcon HackIM 2012 Solutions
Beyond php it's not (just) about the code
Beyond php it's not (just) about the code
From clever code to better code
From clever code to better code
Beyond php - it's not (just) about the code
Beyond php - it's not (just) about the code
Beyond php - it's not (just) about the code
Beyond php - it's not (just) about the code
Python for High School Programmers
Python for High School Programmers
Python slide
Python slide
MouthMouse
MouthMouse
Automated Design Validation The Solid Works Api
Automated Design Validation The Solid Works Api
Shell Scripting
Shell Scripting
Fast REST APIs Development with MongoDB
Fast REST APIs Development with MongoDB
If you give a mouse a clickhouse, by Alex Hofsteede, Sentry
If you give a mouse a clickhouse, by Alex Hofsteede, Sentry
Codestrong 2012 breakout session hacking titanium
Codestrong 2012 breakout session hacking titanium
Zabbixconf2016(2)
Zabbixconf2016(2)
Introduction to Python3 Programming Language
Introduction to Python3 Programming Language
Beyond PHP - It's not (just) about the code
Beyond PHP - It's not (just) about the code
More from Harada Kei
輪講 20190711 keiharada_人狼知能プロジェクトの紹介
輪講 20190711 keiharada_人狼知能プロジェクトの紹介
Harada Kei
Kaggle meetup tokyo #6 スポンサーセッション
Kaggle meetup tokyo #6 スポンサーセッション
Harada Kei
Analyst meetup 0410_harada
Analyst meetup 0410_harada
Harada Kei
Devsumi 2018summer
Devsumi 2018summer
Harada Kei
Math meets datascience
Math meets datascience
Harada Kei
最近の俺_20160219
最近の俺_20160219
Harada Kei
KDDCUP2015_Seed71_Kaggle_tokyo
KDDCUP2015_Seed71_Kaggle_tokyo
Harada Kei
Santa2016_seed71
Santa2016_seed71
Harada Kei
More from Harada Kei
(8)
輪講 20190711 keiharada_人狼知能プロジェクトの紹介
輪講 20190711 keiharada_人狼知能プロジェクトの紹介
Kaggle meetup tokyo #6 スポンサーセッション
Kaggle meetup tokyo #6 スポンサーセッション
Analyst meetup 0410_harada
Analyst meetup 0410_harada
Devsumi 2018summer
Devsumi 2018summer
Math meets datascience
Math meets datascience
最近の俺_20160219
最近の俺_20160219
KDDCUP2015_Seed71_Kaggle_tokyo
KDDCUP2015_Seed71_Kaggle_tokyo
Santa2016_seed71
Santa2016_seed71
Recently uploaded
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Neo4j
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Maria Levchenko
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Delhi Call girls
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
jfdjdjcjdnsjd
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Delhi Call girls
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Martijn de Jong
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
naman860154
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Rafal Los
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
debabhi2
Evaluating the top large language models.pdf
Evaluating the top large language models.pdf
ChristopherTHyatt
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
RTylerCroy
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
sammart93
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Remote DBA Services
Recently uploaded
(20)
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
Evaluating the top large language models.pdf
Evaluating the top large language models.pdf
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
AIWolfPy v0.4.9
1.
AIWolfPy v0.4.9 Kei Harada(cash)
2.
Table of Contents 0. 1.
Agent 2. Agent 3. 4. (python_sample) 5. 2
3.
AIWolfPy aiwolf.org python http://aiwolf.org Java TCP/IP (Java ) JSON AIWolfPy 3
4.
AIWolf AI 4
5.
Python Google for ( 10
) C 5
6.
OK Python ./hogehoge.py Agent Agent aiwolfpy.connect_parse 6
7.
Chap. 1. Agent 1.
1. 1. 2. AIWolf Server 1.3. Python Agent 7
8.
1. 1. Python python2 2.7(
2.7.12) python3 3.4 ( 3.5.2) 2.7 + numpy, spicy, pandas, scikit-learn Anaconda Java 8
9.
1.2. AIWolf Server http://aiwolf.org/server
( AIWolf- ver0.4.9) StartServer.sh, StartGUIClient.sh (Windows bat ) StartServer.sh , Connect StartGUIClient.sh JarFiles aiwolf-client.jar ( Open File ) SampleRoleAssignPlayer Connect Agent(15 14 ) 9
10.
1.3. Python Agent https://github.com/k-harada/AIWolfPy (
ver0.4.9) ./python_sample.py -h localhost -p 10000 AIWolf Server Starter Start Game Start Game python 14 Java 10
11.
Chap. 2. Agent 2.1.
method 2.1.1. 2.1.2. 2.1.3. 2.2. 2.2.1. base_info 2.2.2. diff_data 2.3. 11
12.
2.1.1. Phase (0 whisper divine
) talk: turn vote: whisper: 2 talk whisper CO attack/divine/guard: 12
13.
2.1.2. aiwolfpy.connent_parse agent aiwolfpy agent (python) JSON request base_info diff_data 13
14.
2.1.3. (1) python_simple_sample ver0.4.9 parse
connect_parse __init__(self) getName(self) initialize(self, base_info, diff_data, game_setting) __init__ Agent 14
15.
2.1.3. (2) update(self, base_info,
diff_data, request) Java request( update ) 2 1 update+ daily_finish talk update vote request == ‘DAILY_FINISH’ update 15
16.
2.1.3. (3) dayStart(self) :
return None update talk(self), whisper(self) : return (text) vote(self), attack(self), divine(self), guard(self) : return (AgentIdx) AgentIdx 0 1 finish(self) : return None 2 16
17.
2.2.1. base_info dictionary “agentIdx”: agent
ID 100 “myRole”: “roleMap”: dictionary “statusMap”: Agent dictionary “remainTalkMap”: Agent dictionary “remainWhisperMap”: Agent whisper {'statusMap': {'3': 'DEAD', '15': 'ALIVE', '1': 'DEAD', '5': 'DEAD', '7': 'DEAD', '12': 'ALIVE', '14': 'DEAD', '2': 'DEAD', '11': 'ALIVE', '9': 'ALIVE', '10': 'DEAD', '8': 'DEAD', '4': 'DEAD', '6': 'DEAD', '13': 'ALIVE'}, 'remainWhisperMap': {}, 'day': 8, 'myRole': 'VILLAGER', 'roleMap': {'15': 'VILLAGER'}, 'remainTalkMap': {'9': 10, '13': 10, '15': 10, '11': 10, '12': 10}, 'agentIdx': 15} 17
18.
2.2.2. diff_data(1) pandas DataFrame 6
[“day”, “type”, “idx”, “turn”, “agent”, “text”] “type” “initialize”, “finish” “talk”, “whisper” “vote”, “attack_vote” “execute”,“dead” “attack”, “divine”, “identify”, “guard” agent day idx text turn type 0 15 6 5 VOTE Agent[15] 0 vote 1 10 6 6 VOTE Agent[10] 0 vote 2 10 6 7 VOTE Agent[10] 0 vote 3 10 6 9 VOTE Agent[10] 0 vote 4 9 6 10 VOTE Agent[09] 0 vote 5 15 6 11 VOTE Agent[15] 0 vote 6 10 6 12 VOTE Agent[10] 0 vote 7 11 6 13 VOTE Agent[11] 0 vote 8 13 6 15 VOTE Agent[13] 0 vote 9 10 6 0 Over 0 execute 10 5 7 0 Over 0 dead 18
19.
2.2.2. diff_data(2) type =
“initialize”, “finish” agent = idx = agentIdx initialize day = 0 turn = 0 text = comingout ( COMINGOUT Agent[01] SEER) type = “talk”, “whisper” agent = day = day, idx = talk/whisper id, turn = talk/whisper turn text = agent day idx text turn type 0 3 10 3 COMINGOUT Agent[03] SEER 0 finish 1 15 10 15 COMINGOUT Agent[15] VILLAGER 0 finish 2 1 10 1 COMINGOUT Agent[01] BODYGUARD 0 finish 3 5 10 5 COMINGOUT Agent[05] VILLAGER 0 finish 4 7 10 7 COMINGOUT Agent[07] VILLAGER 0 finish 5 12 10 12 COMINGOUT Agent[12] VILLAGER 0 finish 6 14 10 14 COMINGOUT Agent[14] VILLAGER 0 finish 7 2 10 2 COMINGOUT Agent[02] MEDIUM 0 finish 8 11 10 11 COMINGOUT Agent[11] VILLAGER 0 finish 9 9 10 9 COMINGOUT Agent[09] WEREWOLF 0 finish 10 10 10 10 COMINGOUT Agent[10] VILLAGER 0 finish 11 8 10 8 COMINGOUT Agent[08] WEREWOLF 0 finish 12 4 10 4 COMINGOUT Agent[04] WEREWOLF 0 finish 13 6 10 6 COMINGOUT Agent[06] POSSESSED 0 finish 14 13 10 13 COMINGOUT Agent[13] VILLAGER 0 finish agent day idx text turn type 0 15 8 10 Over 2 talk 1 9 8 11 Skip 2 talk 2 11 8 12 Skip 2 talk 3 13 8 13 Skip 2 talk 4 12 8 14 Skip 2 talk 19
20.
2.2.2. diff_data(3) type =
“vote”, “attack_vote” agent = , idx = turn 0, 1 turn -1 text = vote attack type = “execute”( ), “dead”( ) agent = idx = 0, turn = 0 text = Over agent day idx text turn type 0 15 6 5 VOTE Agent[15] 0 vote 1 10 6 6 VOTE Agent[10] 0 vote 2 10 6 7 VOTE Agent[10] 0 vote 3 10 6 9 VOTE Agent[10] 0 vote 4 9 6 10 VOTE Agent[09] 0 vote 5 15 6 11 VOTE Agent[15] 0 vote 6 10 6 12 VOTE Agent[10] 0 vote 7 11 6 13 VOTE Agent[11] 0 vote 8 13 6 15 VOTE Agent[13] 0 vote 9 10 6 0 Over 0 execute 10 5 7 0 Over 0 dead 20
21.
2.2.2. diff_data(4) type =
“divine”, “identify”, “guard”( guard ) agent = , idx = turn = 0 text = DIVINED / IDENTIFIED / GUARDED agent 1 agent 2 agent = 2, idx = 1, text = DIVINED Agent[02] WEREWOLF type = “attack”( ) agent = idx = 0, turn = 0 text = ATTACK 21
22.
2.3. (http://aiwolf.org/resource) Agent aiwolfpy.read_log(file) aiwolfpy github notebook 22
23.
Chap. 3. 3.1. 3.2. 23
24.
3.1. java hoge python_simple_sample python_simple_sample.py myname
= ‘cash’ myname = ‘hoge’ hoge python_simple_sample.py aiwolfpy hoge hoge.zip zip 24
25.
3.2. OK Python jar/dll/zip hoge.zip python_simple_sample.py hoge OK 25
26.
Chap. 4. 4.1. aiwolfpy 4.2.
sample 4.3. Tensor5460 26
27.
4.1. aiwolfpy (1) simple_sample __init__.py
: tcpipclient.py : tcp/ip json tcpipclient_parsed.py : tcp/ip +DataFrame templatetalkfactory.py / templatewhisperfactory.py /contentbuilder.py : (contentbuilder.py ) gameinfoparser.py : pandas.DataFrame read_log.py: pandas.DataFrame 27
28.
4.1. aiwolfpy (2) python_simple_sample.py python_sample.py aiwolfpy/cash Tensor5460 Predictor notebook jupyter
notebook 28
29.
4.2. sampleagent 2 (6/24
) (GAT2016 2016 2 ) AgentId python tensor5460 notebook VOTE PP 5 29
30.
4.3.1. Tensor5460 15 3
1 5460 (15*K, 15*15*L) 5460 Agent1, 2 CO 5460 2CO Tensor5460 15 CO (15 ) 3 CO (5460*3) K 15*K 5460*3*K Agent1 Agent2 Agent1 Agent2 15*15 3*3 (5460*3*3) 15*15*L 5460*3*3*L 30
31.
4.3.2. Tensor5460 Agent __init__
__init__ (15*K, 15*15*L) Tensor5460.apply_tensor_df() 5460 DataFrame numpy.ndarray RNN, LSTM 31
32.
5. 2017 fix Agent java sample Agent Github(k-harada) python 32
33.
JSON DataFrame Feature LOG FeatureTensor Prob 33 Strategy Action
Download now