Tessera-eval, the evaluation toolkit for the Tessera geospatial model, now includes a command-line tool that runs its tutorial workflow from the terminal. The tool covers data loading, cross-validation, learning curves, and a spatial split for more realistic accuracy estimates.
Features
-
Command-line workflow: A new tessera-eval command runs the tutorial steps—loading data, cross-validation, and learning curves—without opening a notebook. This saves setup time when re-running experiments or testing a new model.
-
Embedding cache: The load step downloads Tessera embeddings (pre-computed feature vectors) once and saves them to a local file, so later runs skip the download. This cuts wait time on repeated experiments, especially on slow connections.
-
Cross-validation: The kfold subcommand reports classification or regression metrics alongside a per-class accuracy breakdown. You can compare several models in a single run to see which generalises best.
-
Learning curves: The learning-curve subcommand shows how accuracy changes as the share of labelled training data grows, helping you judge whether more labels would still improve the model. It supports classification only; regression tasks produce a clear error.
-
Spatial hold-out: A spatial split option trains on the western half of the study area and tests on the eastern half. This avoids the optimistic bias of a random split, where nearby points leak information between train and test sets.
Compatibility
- geotessera dependency: The load and spatial-hold-out paths require the geotessera package. Install it by adding the geotessera extra to your pip install command.