├── .gitignore ├── .travis.yml ├── LICENSE ├── Pipfile ├── Pipfile.lock ├── README.md ├── data ├── dataset_participants.csv ├── dataset_participants2.csv ├── dataset_verification.csv └── verification_results.csv ├── docker ├── 32 │ ├── Dockerfile │ ├── dataset │ │ ├── dataset_participants2.csv │ │ └── dataset_verification.csv │ ├── model │ │ └── role_identification_model_32bits.sav │ ├── readme.md │ └── train.py ├── 64 │ ├── Dockerfile │ ├── dataset │ │ ├── dataset_participants2.csv │ │ └── dataset_verification.csv │ ├── model │ │ └── role_identification_model_64bits.sav │ ├── readme.md │ └── train.py └── README.md ├── exploration ├── Role ML.ipynb ├── VerificationSet.ipynb ├── dataset_participants.csv ├── dataset_participants2.csv ├── dataset_verification.csv ├── items_update.ipynb ├── role_identification_model.sav ├── tree.dot ├── tree.png ├── tree2 ├── tree2.dot ├── tree2.png └── verification_results.csv ├── requirements.txt ├── roleml ├── __init__.py ├── data │ ├── __init__.py │ ├── constants.json │ ├── load_constants.py │ ├── role_identification_model_32bits.sav │ ├── role_identification_model_64bits.sav │ └── role_identification_model_64bits_39.sav ├── exceptions │ ├── __init__.py │ └── exceptions.py ├── features.py └── roleml.py ├── setup.py ├── tests ├── conftest.py ├── data │ ├── EUW-3692606327.json │ ├── EUW-3692606327_features.csv │ ├── EUW-4151988491.json │ ├── EUW-4233525244.json │ ├── EUW-4236896092.json │ ├── EUW-4458819927.json │ ├── EUW-4664197701.json │ ├── NA-3023745286.json │ ├── NA-3023745286_features.csv │ └── TR1-266041574.json ├── test_cass.py ├── test_fix_frame.py ├── test_fix_game.py ├── test_get_features.py ├── test_get_stats.py ├── test_old_game.py ├── test_positions.py ├── test_predict.py └── test_role_formatting.py └── tox.ini /.gitignore: -------------------------------------------------------------------------------- 1 | .ipynb_checkpoints 2 | __pycache__ 3 | .idea/ 4 | *.egg-info/ 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/LICENSE -------------------------------------------------------------------------------- /Pipfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/Pipfile -------------------------------------------------------------------------------- /Pipfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/Pipfile.lock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/README.md -------------------------------------------------------------------------------- /data/dataset_participants.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/data/dataset_participants.csv -------------------------------------------------------------------------------- /data/dataset_participants2.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/data/dataset_participants2.csv -------------------------------------------------------------------------------- /data/dataset_verification.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/data/dataset_verification.csv -------------------------------------------------------------------------------- /data/verification_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/data/verification_results.csv -------------------------------------------------------------------------------- /docker/32/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/docker/32/Dockerfile -------------------------------------------------------------------------------- /docker/32/dataset/dataset_participants2.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/docker/32/dataset/dataset_participants2.csv -------------------------------------------------------------------------------- /docker/32/dataset/dataset_verification.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/docker/32/dataset/dataset_verification.csv -------------------------------------------------------------------------------- /docker/32/model/role_identification_model_32bits.sav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/docker/32/model/role_identification_model_32bits.sav -------------------------------------------------------------------------------- /docker/32/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/docker/32/readme.md -------------------------------------------------------------------------------- /docker/32/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/docker/32/train.py -------------------------------------------------------------------------------- /docker/64/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/docker/64/Dockerfile -------------------------------------------------------------------------------- /docker/64/dataset/dataset_participants2.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/docker/64/dataset/dataset_participants2.csv -------------------------------------------------------------------------------- /docker/64/dataset/dataset_verification.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/docker/64/dataset/dataset_verification.csv -------------------------------------------------------------------------------- /docker/64/model/role_identification_model_64bits.sav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/docker/64/model/role_identification_model_64bits.sav -------------------------------------------------------------------------------- /docker/64/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/docker/64/readme.md -------------------------------------------------------------------------------- /docker/64/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/docker/64/train.py -------------------------------------------------------------------------------- /docker/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/docker/README.md -------------------------------------------------------------------------------- /exploration/Role ML.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/exploration/Role ML.ipynb -------------------------------------------------------------------------------- /exploration/VerificationSet.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/exploration/VerificationSet.ipynb -------------------------------------------------------------------------------- /exploration/dataset_participants.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/exploration/dataset_participants.csv -------------------------------------------------------------------------------- /exploration/dataset_participants2.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/exploration/dataset_participants2.csv -------------------------------------------------------------------------------- /exploration/dataset_verification.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/exploration/dataset_verification.csv -------------------------------------------------------------------------------- /exploration/items_update.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/exploration/items_update.ipynb -------------------------------------------------------------------------------- /exploration/role_identification_model.sav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/exploration/role_identification_model.sav -------------------------------------------------------------------------------- /exploration/tree.dot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/exploration/tree.dot -------------------------------------------------------------------------------- /exploration/tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/exploration/tree.png -------------------------------------------------------------------------------- /exploration/tree2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/exploration/tree2 -------------------------------------------------------------------------------- /exploration/tree2.dot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/exploration/tree2.dot -------------------------------------------------------------------------------- /exploration/tree2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/exploration/tree2.png -------------------------------------------------------------------------------- /exploration/verification_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/exploration/verification_results.csv -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | scikit-learn == 0.23.0 2 | numpy >= 1.16.2 3 | shapely 4 | pandas 5 | joblib 6 | -------------------------------------------------------------------------------- /roleml/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/roleml/__init__.py -------------------------------------------------------------------------------- /roleml/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /roleml/data/constants.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/roleml/data/constants.json -------------------------------------------------------------------------------- /roleml/data/load_constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/roleml/data/load_constants.py -------------------------------------------------------------------------------- /roleml/data/role_identification_model_32bits.sav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/roleml/data/role_identification_model_32bits.sav -------------------------------------------------------------------------------- /roleml/data/role_identification_model_64bits.sav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/roleml/data/role_identification_model_64bits.sav -------------------------------------------------------------------------------- /roleml/data/role_identification_model_64bits_39.sav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/roleml/data/role_identification_model_64bits_39.sav -------------------------------------------------------------------------------- /roleml/exceptions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/roleml/exceptions/__init__.py -------------------------------------------------------------------------------- /roleml/exceptions/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/roleml/exceptions/exceptions.py -------------------------------------------------------------------------------- /roleml/features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/roleml/features.py -------------------------------------------------------------------------------- /roleml/roleml.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/roleml/roleml.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/setup.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/data/EUW-3692606327.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/data/EUW-3692606327.json -------------------------------------------------------------------------------- /tests/data/EUW-3692606327_features.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/data/EUW-3692606327_features.csv -------------------------------------------------------------------------------- /tests/data/EUW-4151988491.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/data/EUW-4151988491.json -------------------------------------------------------------------------------- /tests/data/EUW-4233525244.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/data/EUW-4233525244.json -------------------------------------------------------------------------------- /tests/data/EUW-4236896092.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/data/EUW-4236896092.json -------------------------------------------------------------------------------- /tests/data/EUW-4458819927.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/data/EUW-4458819927.json -------------------------------------------------------------------------------- /tests/data/EUW-4664197701.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/data/EUW-4664197701.json -------------------------------------------------------------------------------- /tests/data/NA-3023745286.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/data/NA-3023745286.json -------------------------------------------------------------------------------- /tests/data/NA-3023745286_features.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/data/NA-3023745286_features.csv -------------------------------------------------------------------------------- /tests/data/TR1-266041574.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/data/TR1-266041574.json -------------------------------------------------------------------------------- /tests/test_cass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/test_cass.py -------------------------------------------------------------------------------- /tests/test_fix_frame.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/test_fix_frame.py -------------------------------------------------------------------------------- /tests/test_fix_game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/test_fix_game.py -------------------------------------------------------------------------------- /tests/test_get_features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/test_get_features.py -------------------------------------------------------------------------------- /tests/test_get_stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/test_get_stats.py -------------------------------------------------------------------------------- /tests/test_old_game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/test_old_game.py -------------------------------------------------------------------------------- /tests/test_positions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/test_positions.py -------------------------------------------------------------------------------- /tests/test_predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/test_predict.py -------------------------------------------------------------------------------- /tests/test_role_formatting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tests/test_role_formatting.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Canisback/roleML/HEAD/tox.ini --------------------------------------------------------------------------------