Skip to content

Beta 1.1.0 — Spatial evaluation, hyperparameter sweep

Pre-release
Pre-release

Choose a tag to compare

@sk818 sk818 released this 06 Apr 11:44
· 315 commits to main since this release

What's New

Spatial train/test split

  • Draw train (blue), test (yellow), and map (green) bounding boxes on the satellite map
  • Training points sampled from train areas only; test set is fixed from test areas
  • Avoids spatial autocorrelation for more realistic accuracy estimates
  • Bounding boxes saved in config files
  • Warning when test set is too small (<100 pixels)

Hyperparameter sweep

  • Click "+" next to any classifier's parameters to add variants
  • Each variant gets its own learning curve (e.g., "MLP (v1)", "MLP (v2)")
  • Config file supports list format: "mlp": [{"hidden_layers": "64,32"}, {"hidden_layers": "256,128,64"}]
  • Variant-aware chart colors (lighter/darker shades) and labels

Performance improvements

  • Vectorized point extraction from tiles (~100x faster per tile)
  • GDF filtered by tile bbox before CRS reprojection (~40x faster)
  • Max pixel samples now controls actual sampling budget

UI improvements

  • Crosshair cursor when drawing rectangles
  • Auto-draw: selecting area type starts drawing immediately
  • Map dragging disabled while drawing (no pan/draw conflict)
  • Config file includes inline documentation of choices

Bug fixes

  • Spatial MLP IndexError: separate data pool for spatial classifiers
  • UnboundLocalError for spatial_labels on cache hit
  • Deploy script: kill -9 for reliable process termination

Deployment

# Hosted server
docker pull sk818/tee:stable
sudo ./manage.sh   # option 7

# Compute server
./scripts/deploy-compute.sh gpu-box