Skip to content

em-oaken/path-finding_stochastic-reinforcement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Path-finding with Stochastic reinforcement

This is an experience of automated learning by using a strategy driven by stochastic generation of solution and positive reinforcement.

Example of path-finding

Framework & Usage

It takes the analogy of cars driving on a pre-defined track. 3 classes make this framework:

  • The track, class name TheRightRoute
  • The strategy, example class name FinderStrategy_1. This is a basic strategy that can be refined. Feel free to suggest additional ones.
  • The experiment manager, class name PathFinder

To run the experience:

python -m pathfinder

To get help:

python -m pathfinder --help

Command line --help; And run of experience

Or open the main notebook and run the cell.

Requirements

Developed on Python 3.10. Conda environment can be imported from env.yml.

Non-standard packages used:

  • numpy
  • pandas
  • tqdm
  • shapely
  • matplotlib
  • geopandas
  • ipywidgets (for notebook usage only)

Contributing

You found this repo and you like it? Feel free to get in touch or to raise an issue! Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

An experiment on path-finding by using positive reinforcement.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published