Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 707 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 707 Bytes

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