https://github.com/aqtech-ca/mcts4py

mctreesearch4j implementation on Python

https://github.com/aqtech-ca/mcts4py

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (4.1%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

mctreesearch4j implementation on Python

Basic Info
  • Host: GitHub
  • Owner: aqtech-ca
  • Language: Python
  • Default Branch: main
  • Size: 125 KB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 4
  • Open Issues: 4
  • Releases: 0
Created about 4 years ago · Last pushed over 1 year ago
Metadata Files
Readme

Readme.md

MCTS library in Python

Requirements

  • Python 3.9+

Samples

To run samples: - run pip install -e . in the root directory - run python main.py in the sample directory

To install from PyPI,

python3 -m pip install --index-url https://test.pypi.org/simple/ mcts4py

Running the MENTSsolver vs UCTsolver Comparison in Gym Environments

Install Requirements:

python3 -m pip install .

python3 -m pip install ".[gym_samples]"

Set the Python Path:

export PYTHONPATH=/path/to/mcts4py:$PYTHONPATH

Run the Comparisons: - CartPole: python3 samples/gym/cartPole/CartPole.py - Frozen Lake: python3 samples/gym/frozenLake/FrozenLake.py

The explorationconstant can be adjusted directly in the evaluatesolver method located in the respective scripts.

Owner

  • Name: aqtech-ca
  • Login: aqtech-ca
  • Kind: organization

GitHub Events

Total
  • Push event: 12
  • Pull request event: 1
  • Pull request review comment event: 4
  • Pull request review event: 6
  • Create event: 2
Last Year
  • Push event: 12
  • Pull request event: 1
  • Pull request review comment event: 4
  • Pull request review event: 6
  • Create event: 2

Dependencies

requirements.txt pypi
  • numpy ==1.23.2
setup.py pypi