Skip to main content

Optimal Transport with raster image, including an optimal transport validation

Project description

Documentation status PyPI version Build status Downloads

Pottok - Python Optimal Transport for Terrestrial Observation Knowledge

Pottok is a python library based on POT Python Optimal Transport. It provides a grid search for POT with two different method : crossed and circular.

Classes description

The two avalable classes are :

  • pottok.OptimalTransportGridsearch : Create a gris dearch compatible with POT. The user can use the circular grid search based on the circular validation and crossed grid search based on crossed validation. This one can use scikit learn or museotoolbox GridSearchCV.
  • pottok.RasterOptimalTransport : this class is specifically for raster use.

How it works ?

Since a picture is worth more than a thousand words, we will use a concrete example to illustrate these two grid search

Add tetris draw

Pottok installation

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

pottok-0.1rc1.tar.gz (1.3 MB view hashes)

Uploaded Source

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