Skip to content

nets apply-scaler

Fits and applies scalers to myco sample archives.


usage: nets apply-scaler [-h] [-o basename] [--dstnodata value]
                         [--transform-chunksize count] [-n]
                         scaler_type myco_sample_archive

positional arguments:
  scaler_type           Pre-fit scaler to apply to the archive data (from nets
                        fit-scaler).
  myco_sample_archive   Path to the myco sample archive to scale

optional arguments:
  -h, --help            show this help message and exit
  -o basename           Base path to output files. Filename extensions for the
                        scaler and for transformed data will be applied.
                        (default: None)
  --dstnodata value     Output nodata value (default: -99)
  --transform-chunksize count
                        Apply transformations in chunks this size. (default:
                        10000)
  -n, --no-transform    Do not apply the fitted scaler transform to the input
                        data. (default: False)