Enviar pesquisa
Carregar
AIWolfPy v0.4.9
•
3 gostaram
•
3,169 visualizações
Harada Kei
Seguir
Pythonで人狼知能大会に参加するためのパッケージ"AIWolfPy"のドキュメントです
Leia menos
Leia mais
Tecnologia
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 33
Baixar agora
Baixar para ler offline
Recomendados
人狼知能プログラミング演習資料2015
人狼知能プログラミング演習資料2015
Kosuke Shinoda
Extreme Learning Machine
Extreme Learning Machine
Yoshiaki Sakakura
Go入門
Go入門
Takuya Ueda
Aiwolf seminar20180630
Aiwolf seminar20180630
Atom Sonoda
Marp for VS Code で作る PowerPoint スライド
Marp for VS Code で作る PowerPoint スライド
Iosif Takakura
GoによるWebアプリ開発のキホン
GoによるWebアプリ開発のキホン
Akihiko Horiuchi
Djangoのエントリポイントとアプリケーションの仕組み
Djangoのエントリポイントとアプリケーションの仕組み
Shinya Okano
PEGで構文解析をする
PEGで構文解析をする
jiro4989
Recomendados
人狼知能プログラミング演習資料2015
人狼知能プログラミング演習資料2015
Kosuke Shinoda
Extreme Learning Machine
Extreme Learning Machine
Yoshiaki Sakakura
Go入門
Go入門
Takuya Ueda
Aiwolf seminar20180630
Aiwolf seminar20180630
Atom Sonoda
Marp for VS Code で作る PowerPoint スライド
Marp for VS Code で作る PowerPoint スライド
Iosif Takakura
GoによるWebアプリ開発のキホン
GoによるWebアプリ開発のキホン
Akihiko Horiuchi
Djangoのエントリポイントとアプリケーションの仕組み
Djangoのエントリポイントとアプリケーションの仕組み
Shinya Okano
PEGで構文解析をする
PEGで構文解析をする
jiro4989
Gocon2017:Goのロギング周りの考察
Gocon2017:Goのロギング周りの考察
貴仁 大和屋
失敗から学ぶゲーム開発(ドラゴンジェネシス〜聖戦の絆〜の場合)
失敗から学ぶゲーム開発(ドラゴンジェネシス〜聖戦の絆〜の場合)
Yuki Tamura
忙しい人の5分で分かるDocker 2017年春Ver
忙しい人の5分で分かるDocker 2017年春Ver
Masahito Zembutsu
動的計画法の並列化
動的計画法の並列化
Proktmr
強力なグラフィック機能を備えた組版処理システムTwightの開発
強力なグラフィック機能を備えた組版処理システムTwightの開発
WadaYuto
Glibc malloc internal
Glibc malloc internal
Motohiro KOSAKI
Java8でRDBMS作ったよ
Java8でRDBMS作ったよ
なおき きしだ
FridaによるAndroidアプリの動的解析とフッキングの基礎
FridaによるAndroidアプリの動的解析とフッキングの基礎
ken_kitahara
async/await のしくみ
async/await のしくみ
信之 岩永
30分で分かる!OSの作り方
30分で分かる!OSの作り方
uchan_nos
Linuxにて複数のコマンドを並列実行(同時実行数の制限付き)
Linuxにて複数のコマンドを並列実行(同時実行数の制限付き)
Hiro H.
golang profiling の基礎
golang profiling の基礎
yuichiro nakazawa
オブジェクト指向できていますか?
オブジェクト指向できていますか?
Moriharu Ohzu
C++ マルチスレッドプログラミング
C++ マルチスレッドプログラミング
Kohsuke Yuasa
ASP.NET Core の パフォーマンスを支える I/O Pipeline と Channel
ASP.NET Core の パフォーマンスを支える I/O Pipeline と Channel
Joni
Marp Tutorial
Marp Tutorial
Rui Watanabe
PostgreSQL:行数推定を読み解く
PostgreSQL:行数推定を読み解く
Hiroya Kabata
開発速度が速い #とは(LayerX社内資料)
開発速度が速い #とは(LayerX社内資料)
mosa siru
その文字列検索、std::string::findだけで大丈夫ですか?【Sapporo.cpp 第8回勉強会(2014.12.27)】
その文字列検索、std::string::findだけで大丈夫ですか?【Sapporo.cpp 第8回勉強会(2014.12.27)】
Hiro H.
【Unite Tokyo 2018】さては非同期だなオメー!async/await完全に理解しよう
【Unite Tokyo 2018】さては非同期だなオメー!async/await完全に理解しよう
Unity Technologies Japan K.K.
AIWolf programming guide
AIWolf programming guide
Hirotaka Osawa
Beyond php - it's not (just) about the code
Beyond php - it's not (just) about the code
Wim Godden
Mais conteúdo relacionado
Mais procurados
Gocon2017:Goのロギング周りの考察
Gocon2017:Goのロギング周りの考察
貴仁 大和屋
失敗から学ぶゲーム開発(ドラゴンジェネシス〜聖戦の絆〜の場合)
失敗から学ぶゲーム開発(ドラゴンジェネシス〜聖戦の絆〜の場合)
Yuki Tamura
忙しい人の5分で分かるDocker 2017年春Ver
忙しい人の5分で分かるDocker 2017年春Ver
Masahito Zembutsu
動的計画法の並列化
動的計画法の並列化
Proktmr
強力なグラフィック機能を備えた組版処理システムTwightの開発
強力なグラフィック機能を備えた組版処理システムTwightの開発
WadaYuto
Glibc malloc internal
Glibc malloc internal
Motohiro KOSAKI
Java8でRDBMS作ったよ
Java8でRDBMS作ったよ
なおき きしだ
FridaによるAndroidアプリの動的解析とフッキングの基礎
FridaによるAndroidアプリの動的解析とフッキングの基礎
ken_kitahara
async/await のしくみ
async/await のしくみ
信之 岩永
30分で分かる!OSの作り方
30分で分かる!OSの作り方
uchan_nos
Linuxにて複数のコマンドを並列実行(同時実行数の制限付き)
Linuxにて複数のコマンドを並列実行(同時実行数の制限付き)
Hiro H.
golang profiling の基礎
golang profiling の基礎
yuichiro nakazawa
オブジェクト指向できていますか?
オブジェクト指向できていますか?
Moriharu Ohzu
C++ マルチスレッドプログラミング
C++ マルチスレッドプログラミング
Kohsuke Yuasa
ASP.NET Core の パフォーマンスを支える I/O Pipeline と Channel
ASP.NET Core の パフォーマンスを支える I/O Pipeline と Channel
Joni
Marp Tutorial
Marp Tutorial
Rui Watanabe
PostgreSQL:行数推定を読み解く
PostgreSQL:行数推定を読み解く
Hiroya Kabata
開発速度が速い #とは(LayerX社内資料)
開発速度が速い #とは(LayerX社内資料)
mosa siru
その文字列検索、std::string::findだけで大丈夫ですか?【Sapporo.cpp 第8回勉強会(2014.12.27)】
その文字列検索、std::string::findだけで大丈夫ですか?【Sapporo.cpp 第8回勉強会(2014.12.27)】
Hiro H.
【Unite Tokyo 2018】さては非同期だなオメー!async/await完全に理解しよう
【Unite Tokyo 2018】さては非同期だなオメー!async/await完全に理解しよう
Unity Technologies Japan K.K.
Mais procurados
(20)
Gocon2017:Goのロギング周りの考察
Gocon2017:Goのロギング周りの考察
失敗から学ぶゲーム開発(ドラゴンジェネシス〜聖戦の絆〜の場合)
失敗から学ぶゲーム開発(ドラゴンジェネシス〜聖戦の絆〜の場合)
忙しい人の5分で分かるDocker 2017年春Ver
忙しい人の5分で分かるDocker 2017年春Ver
動的計画法の並列化
動的計画法の並列化
強力なグラフィック機能を備えた組版処理システムTwightの開発
強力なグラフィック機能を備えた組版処理システムTwightの開発
Glibc malloc internal
Glibc malloc internal
Java8でRDBMS作ったよ
Java8でRDBMS作ったよ
FridaによるAndroidアプリの動的解析とフッキングの基礎
FridaによるAndroidアプリの動的解析とフッキングの基礎
async/await のしくみ
async/await のしくみ
30分で分かる!OSの作り方
30分で分かる!OSの作り方
Linuxにて複数のコマンドを並列実行(同時実行数の制限付き)
Linuxにて複数のコマンドを並列実行(同時実行数の制限付き)
golang profiling の基礎
golang profiling の基礎
オブジェクト指向できていますか?
オブジェクト指向できていますか?
C++ マルチスレッドプログラミング
C++ マルチスレッドプログラミング
ASP.NET Core の パフォーマンスを支える I/O Pipeline と Channel
ASP.NET Core の パフォーマンスを支える I/O Pipeline と Channel
Marp Tutorial
Marp Tutorial
PostgreSQL:行数推定を読み解く
PostgreSQL:行数推定を読み解く
開発速度が速い #とは(LayerX社内資料)
開発速度が速い #とは(LayerX社内資料)
その文字列検索、std::string::findだけで大丈夫ですか?【Sapporo.cpp 第8回勉強会(2014.12.27)】
その文字列検索、std::string::findだけで大丈夫ですか?【Sapporo.cpp 第8回勉強会(2014.12.27)】
【Unite Tokyo 2018】さては非同期だなオメー!async/await完全に理解しよう
【Unite Tokyo 2018】さては非同期だなオメー!async/await完全に理解しよう
Semelhante a AIWolfPy v0.4.9
AIWolf programming guide
AIWolf programming guide
Hirotaka Osawa
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
MongoDB for Analytics
MongoDB for Analytics
MongoDB
Semelhante a AIWolfPy v0.4.9
(20)
AIWolf programming guide
AIWolf programming guide
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
MongoDB for Analytics
MongoDB for Analytics
Mais 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
Mais 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
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Malak Abu Hammad
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
XfilesPro
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Katpro Technologies
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Ridwan Fadjar
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Maria Levchenko
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Alan Dix
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
shyamraj55
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
ThousandEyes
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Puma Security, LLC
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Safe Software
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
carlostorres15106
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
AndikSusilo4
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Allon Mureinik
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
OnBoard
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Sinan KOZAK
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
HostedbyConfluent
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
BookNet Canada
Último
(20)
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
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
Baixar agora