Enviar búsqueda
Cargar
AIWolfPy v0.4.9
•
3 recomendaciones
•
3,168 vistas
Harada Kei
Seguir
Pythonで人狼知能大会に参加するためのパッケージ"AIWolfPy"のドキュメントです
Leer menos
Leer más
Tecnología
Denunciar
Compartir
Denunciar
Compartir
1 de 33
Descargar ahora
Descargar para leer sin conexión
Recomendados
プログラミングコンテストでの乱択アルゴリズム
プログラミングコンテストでの乱択アルゴリズム
Takuya Akiba
色々なダイクストラ高速化
色々なダイクストラ高速化
yosupo
Halo2 におけるHFSM(階層型有限状態マシン) 【ビヘイビアツリー解説】
Halo2 におけるHFSM(階層型有限状態マシン) 【ビヘイビアツリー解説】
Youichiro Miyake
様々な全域木問題
様々な全域木問題
tmaehara
C++ マルチスレッドプログラミング
C++ マルチスレッドプログラミング
Kohsuke Yuasa
20分くらいでわかった気分になれるC++20コルーチン
20分くらいでわかった気分になれるC++20コルーチン
yohhoy
一般グラフの最大マッチング
一般グラフの最大マッチング
HCPC: 北海道大学競技プログラミングサークル
[DL輪読会]Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasets
[DL輪読会]Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasets
Deep Learning JP
Recomendados
プログラミングコンテストでの乱択アルゴリズム
プログラミングコンテストでの乱択アルゴリズム
Takuya Akiba
色々なダイクストラ高速化
色々なダイクストラ高速化
yosupo
Halo2 におけるHFSM(階層型有限状態マシン) 【ビヘイビアツリー解説】
Halo2 におけるHFSM(階層型有限状態マシン) 【ビヘイビアツリー解説】
Youichiro Miyake
様々な全域木問題
様々な全域木問題
tmaehara
C++ マルチスレッドプログラミング
C++ マルチスレッドプログラミング
Kohsuke Yuasa
20分くらいでわかった気分になれるC++20コルーチン
20分くらいでわかった気分になれるC++20コルーチン
yohhoy
一般グラフの最大マッチング
一般グラフの最大マッチング
HCPC: 北海道大学競技プログラミングサークル
[DL輪読会]Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasets
[DL輪読会]Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasets
Deep Learning JP
勉強か?趣味か?人生か?―プログラミングコンテストとは
勉強か?趣味か?人生か?―プログラミングコンテストとは
Takuya Akiba
Union find(素集合データ構造)
Union find(素集合データ構造)
AtCoder Inc.
サーバサイドの並行プログラミング〜かんたんマルチスレッドプログラミング〜
サーバサイドの並行プログラミング〜かんたんマルチスレッドプログラミング〜
gree_tech
深層生成モデルと世界モデル(2020/11/20版)
深層生成モデルと世界モデル(2020/11/20版)
Masahiro Suzuki
DeepLearningTutorial
DeepLearningTutorial
Takayoshi Yamashita
Lua文化の伝承!? WFSにおけるイベントスクリプト活用術〜すべてはより良いコンテンツ制作のために〜
Lua文化の伝承!? WFSにおけるイベントスクリプト活用術〜すべてはより良いコンテンツ制作のために〜
gree_tech
カーネル法:正定値カーネルの理論
カーネル法:正定値カーネルの理論
Daiki Tanaka
ゲームAI製作のためのワークショップ(III)
ゲームAI製作のためのワークショップ(III)
Youichiro Miyake
オブジェクト指向できていますか?
オブジェクト指向できていますか?
Moriharu Ohzu
競技プログラミングにおけるコードの書き方とその利便性
競技プログラミングにおけるコードの書き方とその利便性
Hibiki Yamashiro
大規模グラフアルゴリズムの最先端
大規模グラフアルゴリズムの最先端
Takuya Akiba
動画認識サーベイv1(メタサーベイ )
動画認識サーベイv1(メタサーベイ )
cvpaper. challenge
OCamlでWebアプリケーションを作るn個の方法
OCamlでWebアプリケーションを作るn個の方法
Hiroki Mizuno
ユークリッド最小全域木
ユークリッド最小全域木
理玖 川崎
Nimで競技プログラミングを始めた話(1ヶ月)
Nimで競技プログラミングを始めた話(1ヶ月)
tattaka_sun
最適輸送入門
最適輸送入門
joisino
正則化項について
正則化項について
Arata Honda
平面グラフと交通ネットワークのアルゴリズム
平面グラフと交通ネットワークのアルゴリズム
Takuya Akiba
オープンワールド認識 (第34回全脳アーキテクチャ若手の会 勉強会)
オープンワールド認識 (第34回全脳アーキテクチャ若手の会 勉強会)
Takuma Yagi
【Unite 2017 Tokyo】ゲームAI・ゲームデザインから考えるゲームの過去・現在・未来
【Unite 2017 Tokyo】ゲームAI・ゲームデザインから考えるゲームの過去・現在・未来
Unity Technologies Japan K.K.
AIWolf programming guide
AIWolf programming guide
Hirotaka Osawa
Aiwolf seminar20180630
Aiwolf seminar20180630
Atom Sonoda
Más contenido relacionado
La actualidad más candente
勉強か?趣味か?人生か?―プログラミングコンテストとは
勉強か?趣味か?人生か?―プログラミングコンテストとは
Takuya Akiba
Union find(素集合データ構造)
Union find(素集合データ構造)
AtCoder Inc.
サーバサイドの並行プログラミング〜かんたんマルチスレッドプログラミング〜
サーバサイドの並行プログラミング〜かんたんマルチスレッドプログラミング〜
gree_tech
深層生成モデルと世界モデル(2020/11/20版)
深層生成モデルと世界モデル(2020/11/20版)
Masahiro Suzuki
DeepLearningTutorial
DeepLearningTutorial
Takayoshi Yamashita
Lua文化の伝承!? WFSにおけるイベントスクリプト活用術〜すべてはより良いコンテンツ制作のために〜
Lua文化の伝承!? WFSにおけるイベントスクリプト活用術〜すべてはより良いコンテンツ制作のために〜
gree_tech
カーネル法:正定値カーネルの理論
カーネル法:正定値カーネルの理論
Daiki Tanaka
ゲームAI製作のためのワークショップ(III)
ゲームAI製作のためのワークショップ(III)
Youichiro Miyake
オブジェクト指向できていますか?
オブジェクト指向できていますか?
Moriharu Ohzu
競技プログラミングにおけるコードの書き方とその利便性
競技プログラミングにおけるコードの書き方とその利便性
Hibiki Yamashiro
大規模グラフアルゴリズムの最先端
大規模グラフアルゴリズムの最先端
Takuya Akiba
動画認識サーベイv1(メタサーベイ )
動画認識サーベイv1(メタサーベイ )
cvpaper. challenge
OCamlでWebアプリケーションを作るn個の方法
OCamlでWebアプリケーションを作るn個の方法
Hiroki Mizuno
ユークリッド最小全域木
ユークリッド最小全域木
理玖 川崎
Nimで競技プログラミングを始めた話(1ヶ月)
Nimで競技プログラミングを始めた話(1ヶ月)
tattaka_sun
最適輸送入門
最適輸送入門
joisino
正則化項について
正則化項について
Arata Honda
平面グラフと交通ネットワークのアルゴリズム
平面グラフと交通ネットワークのアルゴリズム
Takuya Akiba
オープンワールド認識 (第34回全脳アーキテクチャ若手の会 勉強会)
オープンワールド認識 (第34回全脳アーキテクチャ若手の会 勉強会)
Takuma Yagi
【Unite 2017 Tokyo】ゲームAI・ゲームデザインから考えるゲームの過去・現在・未来
【Unite 2017 Tokyo】ゲームAI・ゲームデザインから考えるゲームの過去・現在・未来
Unity Technologies Japan K.K.
La actualidad más candente
(20)
勉強か?趣味か?人生か?―プログラミングコンテストとは
勉強か?趣味か?人生か?―プログラミングコンテストとは
Union find(素集合データ構造)
Union find(素集合データ構造)
サーバサイドの並行プログラミング〜かんたんマルチスレッドプログラミング〜
サーバサイドの並行プログラミング〜かんたんマルチスレッドプログラミング〜
深層生成モデルと世界モデル(2020/11/20版)
深層生成モデルと世界モデル(2020/11/20版)
DeepLearningTutorial
DeepLearningTutorial
Lua文化の伝承!? WFSにおけるイベントスクリプト活用術〜すべてはより良いコンテンツ制作のために〜
Lua文化の伝承!? WFSにおけるイベントスクリプト活用術〜すべてはより良いコンテンツ制作のために〜
カーネル法:正定値カーネルの理論
カーネル法:正定値カーネルの理論
ゲームAI製作のためのワークショップ(III)
ゲームAI製作のためのワークショップ(III)
オブジェクト指向できていますか?
オブジェクト指向できていますか?
競技プログラミングにおけるコードの書き方とその利便性
競技プログラミングにおけるコードの書き方とその利便性
大規模グラフアルゴリズムの最先端
大規模グラフアルゴリズムの最先端
動画認識サーベイv1(メタサーベイ )
動画認識サーベイv1(メタサーベイ )
OCamlでWebアプリケーションを作るn個の方法
OCamlでWebアプリケーションを作るn個の方法
ユークリッド最小全域木
ユークリッド最小全域木
Nimで競技プログラミングを始めた話(1ヶ月)
Nimで競技プログラミングを始めた話(1ヶ月)
最適輸送入門
最適輸送入門
正則化項について
正則化項について
平面グラフと交通ネットワークのアルゴリズム
平面グラフと交通ネットワークのアルゴリズム
オープンワールド認識 (第34回全脳アーキテクチャ若手の会 勉強会)
オープンワールド認識 (第34回全脳アーキテクチャ若手の会 勉強会)
【Unite 2017 Tokyo】ゲームAI・ゲームデザインから考えるゲームの過去・現在・未来
【Unite 2017 Tokyo】ゲームAI・ゲームデザインから考えるゲームの過去・現在・未来
Similar a 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 a 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
Más de 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
Más de 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
Último
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
LoriGlavin3
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
LoriGlavin3
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
Bernd Ruecker
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Alkin Tezuysal
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
Wes McKinney
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
itnewsafrica
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
IES VE
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
Mydbops
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
Nathaniel Shimoni
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Pixlogix Infotech
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
LoriGlavin3
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
LoriGlavin3
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
Knoldus Inc.
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
panagenda
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
Curtis Poe
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
Kaya Weers
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
LoriGlavin3
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
LoriGlavin3
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Mark Goldstein
Último
(20)
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
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
Descargar ahora