Skip to content

odanado/poke2vec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 

Repository files navigation

poke2vec

poke2vecは「パーティを文、ポケモンを単語」と見なすことで、word2vecを適用し、ポケモンの意味ベクトルを計算する手法です

download

python download.py top_users data gen7battlespotsingles
python download.py replay_ids data data/gen7battlespotsingles_top_users.json
python download.py battle_logs data data/gen7battlespotsingles_replay_ids.json

parse_logs

python parse_logs.py data data/gen7vgc2018_battle_logs.json

preprocess

python poke2vec.py preprocess data data/gen7battlespotsingles_parsed_battle_logs.json

train

python poke2vec.py train data/gen7battlespotsingles_dataset.json 256