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.1rc2.tar.gz (1.3 MB view details)

Uploaded Source

File details

Details for the file pottok-0.1rc2.tar.gz.

File metadata

  • Download URL: pottok-0.1rc2.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.10

File hashes

Hashes for pottok-0.1rc2.tar.gz
Algorithm Hash digest
SHA256 57ec309ea86848f6cac29aea28fb58618987ce4d7c5a22f8f967c2e6aee1421b
MD5 138af51406b83d7e07f064abd2b4992a
BLAKE2b-256 206742170f4a1bb3e4055a48da3d153f8b092839f814f3880a16093f847b7d9c

See more details on using hashes here.

Supported by

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