farmworld

Reinforcement Learning for Agriculture


Keywords
reinforcement, machine, learning, farming, agriculture
Install
pip install farmworld==0.0.3

Documentation

FarmWorld

A reinforcement learning library for agriculture.

HOWTO

pip install farmworld

Install from source

make venv
make install

Build/Publish

Put a new release on Github

poetry build
poetry publish

Test

PYTHONPATH=. python test/test_env.py

Current Status

DQN basically solves it after 100k steps.

  • Normalized the easy way using vecnormalize.
  • Added a zeroth action and trimmed the action space a bit

TODO

  • complicate the problem! multiple crops, and they need to start dieing off at some point

make env realistic -- add different plants

fix planting density

add different plants which have different maturities, weather needs etc.

plus weather forecast, soil quality(split into attributes)