Skip to main content

Reinforcement Learning for Agriculture

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

farmworld-0.0.3.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

farmworld-0.0.3-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file farmworld-0.0.3.tar.gz.

File metadata

  • Download URL: farmworld-0.0.3.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.8.10 Linux/5.15.74.2-microsoft-standard-WSL2

File hashes

Hashes for farmworld-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f73717e533904203ee47f6359c13d1f8f42d677b2ce3230c3151101fe4572cc9
MD5 3ed600b27a15613bbacabc9dbb09452c
BLAKE2b-256 59a1d2f4a79d8bd71871f805beccc4e25c879213c24cf2936c732134717f02c6

See more details on using hashes here.

File details

Details for the file farmworld-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: farmworld-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.8.10 Linux/5.15.74.2-microsoft-standard-WSL2

File hashes

Hashes for farmworld-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4e5eaf8b76989d8e232121143d3a3f4ddd1641faca65aa47dbfe351c8b75b559
MD5 f0d2dda33ca6385bc5fadfb4bc6d0be7
BLAKE2b-256 0fe061a3000a45980698b367284c3d43bab31dc1d4c53a17ed6f58cfaf72e60b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page