repository
catalogue / studio_fast_result_classification

Fast Result (Classification)

Quick SPXY-oriented preset with simple preprocessing, AOM-PLS, and TabPFN for fast first results.

unvalidated

Overview

Fast Result

Quick SPXY-oriented preset with simple preprocessing, AOM-PLS, and TabPFN for fast first results.

Imported unchanged from the Studio classification preset. Complexity: 2/10.

This recipe has not been evaluated by the repository.

Recipe

{
  "pipeline": [
    {
      "_or_": [
        "nirs4all.operators.transforms.scalers.StandardNormalVariate",
        "nirs4all.operators.transforms.nirs.MultiplicativeScatterCorrection",
        {
          "class": "nirs4all.operators.transforms.nirs.SavitzkyGolay",
          "params": {
            "window_length": 15,
            "polyorder": 2,
            "deriv": 1
          }
        }
      ]
    },
    {
      "class": "sklearn.model_selection._split.StratifiedKFold",
      "params": {
        "n_splits": 3,
        "shuffle": true,
        "random_state": 42
      }
    },
    {
      "model": {
        "class": "nirs4all.operators.models.sklearn.aom_pls_classifier.AOMPLSClassifier",
        "params": {
          "n_components": 12
        }
      },
      "name": "AOM-PLS"
    },
    {
      "model": {
        "class": "tabpfn.TabPFNClassifier",
        "params": {
          "ignore_pretraining_limits": true
        }
      },
      "name": "TabPFN"
    }
  ]
}

Use it

# Python
import nirs4all_repository as n4r
pipe = n4r.get("studio_fast_result_classification")
config = pipe.to_nirs4all()  # ready for nirs4all.run() / predict()
# any language: read the index, fetch + verify
curl https://repository.nirs4all.org/data/index.json
curl https://repository.nirs4all.org/data/pipelines/studio_fast_result_classification/pipeline.json

Metadata

framework
nirs4all
kind
recipe
task
classification
version
1.0.0
license
CeCILL-2.1 OR AGPL-3.0-or-later
trust
community
tags
studio_preset, fast_result, classification
authors
Gregory Beurier
reference
—

Expected metrics

no expected metrics

Provenance

—

Download

recipe
pipeline.json
descriptor
descriptor.yaml