MuseoToolBox Logo
latest
  • MuseoToolBox documentation

Examples gallery

  • Gallery
  • Artificial Intelligence
    • Sequential Forward Feature Selection (SFFS)
    • Learn with Random-Forest and compare Cross-Validation methods
    • Learn algorithm and customize your input raster without writing it on disk
    • Learn with Random-Forest and Random Sampling 50% (RS50)
  • Charts
    • Plot confusion matrix
    • Plot confusion matrix from Cross-Validation with F1
    • Plot confusion matrix with User/Producer accuracy
  • Cross-Validation
    • Train test split with every kind of cross-validation
    • Stratified-K-Fold
    • Leave-One-SubGroup-Out (LOSGO)
    • Spatial Leave-One-Out (SLOO)
    • Spatial Leave-One-SubGroup-Out (SLOSGO)
    • Generate a cross-validation and/or save each fold to a vector file
    • Leave-P-SubGroup-Out (LPSGO)
    • Spatial Leave-Aside-Out (SLAO)
    • Leave One Out Per Class (LOOPC)
  • Processing
    • Raster mask from vector
    • Read fields from vector
    • Extract raster values from vector file
    • Basics to use rasterMath
    • Copy raster values in vector fields then read vector
    • Modal class and number of agreements
    • rasterMath with custom block size, mask, and in 3 dimensions
    • rasterMath with several rasters as inputs
    • Using rasterMath with 3d block or 2d block
    • rasterMath with custom window/block size (and with 3 dimensions)
  • Stats
    • Compute quality index from confusion matrix
    • Compute quality index from confusion matrix
    • Compute Moran’s I with different lags from raster

Documentation API

  • API Reference
  • Changelog
  • How to contribute to this package
MuseoToolBox
  • Docs »
  • Gallery
  • Edit on GitHub

Gallery¶

Here you will find all the examples related to museotoolbox library.

Artificial Intelligence¶

Examples related to the museotoolbox.ai module.

Sequential Forward Feature Selection (SFFS)

Sequential Forward Feature Selection (SFFS)¶

Learn with Random-Forest and compare Cross-Validation methods

Learn with Random-Forest and compare Cross-Validation methods¶

Learn algorithm and customize your input raster without writing it on disk

Learn algorithm and customize your input raster without writing it on disk¶

Learn with Random-Forest and Random Sampling 50% (RS50)

Learn with Random-Forest and Random Sampling 50% (RS50)¶

Charts¶

Examples related to the museotoolbox.charts module.

Plot confusion matrix

Plot confusion matrix¶

Plot confusion matrix from Cross-Validation with F1

Plot confusion matrix from Cross-Validation with F1¶

Plot confusion matrix with User/Producer accuracy

Plot confusion matrix with User/Producer accuracy¶

Cross-Validation¶

Examples related to the museotoolbox.cross_validation module.

Train test split with every kind of cross-validation

Train test split with every kind of cross-validation¶

Stratified-K-Fold

Stratified-K-Fold¶

Leave-One-SubGroup-Out (LOSGO)

Leave-One-SubGroup-Out (LOSGO)¶

Spatial Leave-One-Out (SLOO)

Spatial Leave-One-Out (SLOO)¶

Spatial Leave-One-SubGroup-Out (SLOSGO)

Spatial Leave-One-SubGroup-Out (SLOSGO)¶

Generate a cross-validation and/or save each fold to a vector file

Generate a cross-validation and/or save each fold to a vector file¶

Leave-P-SubGroup-Out (LPSGO)

Leave-P-SubGroup-Out (LPSGO)¶

Spatial Leave-Aside-Out (SLAO)

Spatial Leave-Aside-Out (SLAO)¶

Leave One Out Per Class (LOOPC)

Leave One Out Per Class (LOOPC)¶

Processing¶

Examples related to the dedicated raster and vector museotoolbox.processing module.

Raster mask from vector

Raster mask from vector¶

Read fields from vector

Read fields from vector¶

Extract raster values from vector file

Extract raster values from vector file¶

Basics to use rasterMath

Basics to use rasterMath¶

Copy raster values in vector fields then read vector

Copy raster values in vector fields then read vector¶

Modal class and number of agreements

Modal class and number of agreements¶

rasterMath with custom block size, mask, and in 3 dimensions

rasterMath with custom block size, mask, and in 3 dimensions¶

rasterMath with several rasters as inputs

rasterMath with several rasters as inputs¶

Using rasterMath with 3d block or 2d block

Using rasterMath with 3d block or 2d block¶

rasterMath with custom window/block size (and with 3 dimensions)

rasterMath with custom window/block size (and with 3 dimensions)¶

Stats¶

Examples related to the museotoolbox.stats module.

Compute quality index from confusion matrix

Compute quality index from confusion matrix¶

Compute quality index from confusion matrix

Compute quality index from confusion matrix¶

Compute Moran's I with different lags from raster

Compute Moran’s I with different lags from raster¶

Download all examples in Python source code: auto_examples_python.zip

Download all examples in Jupyter notebooks: auto_examples_jupyter.zip

Gallery generated by Sphinx-Gallery

Next Previous

© Copyright 2019, Nicolas Karasiak Revision 1b170592.

Built with Sphinx using a theme provided by Read the Docs.