Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 715 Bytes

Readme.md

File metadata and controls

22 lines (20 loc) · 715 Bytes

Random forest demo

  • Source Code rf_stack.py
  • S2 image and BCGW groundref are in stack.tar.gz which rf_stack.py will auto-extract (isn't it fun to read data without a driver?)
  • 20% of pixels were selected for training
  • seven estimators were used
  • surprisingly, the qualitative features of some of the ground-ref data seem to be decently recovered..

To run:

python3 -m "pip install scikit-learn"
python3 rf_stack.py

BROADLEAF CONIFER CUTBL EXPOSED HERB_GRAS MIXED RIVER SHRUB WATER