Heavy Cartesian preset mixing tuned PLS, tuned Ridge, tuned AOM-PLS, tuned LightGBM, and TabPFN.
unvalidatedHeavy Cartesian preset mixing tuned PLS, tuned Ridge, tuned AOM-PLS, tuned LightGBM, and TabPFN.
Imported unchanged from the Studio classification preset. Complexity: 10/10.
This recipe has not been evaluated by the repository.
{
"pipeline": [
{
"_cartesian_": [
{
"_or_": [
null,
"nirs4all.operators.transforms.scalers.StandardNormalVariate",
"nirs4all.operators.transforms.nirs.MultiplicativeScatterCorrection",
{
"class": "nirs4all.operators.transforms.nirs.ExtendedMultiplicativeScatterCorrection",
"params": {
"degree": 1
}
},
"nirs4all.operators.transforms.nirs.ExtendedMultiplicativeScatterCorrection"
]
},
{
"_or_": [
null,
{
"class": "nirs4all.operators.transforms.nirs.SavitzkyGolay",
"params": {
"polyorder": 2,
"deriv": 1
}
},
{
"class": "nirs4all.operators.transforms.nirs.SavitzkyGolay",
"params": {
"window_length": 15,
"polyorder": 2,
"deriv": 1
}
},
{
"class": "nirs4all.operators.transforms.nirs.SavitzkyGolay",
"params": {
"window_length": 21,
"polyorder": 2,
"deriv": 1
}
},
{
"class": "nirs4all.operators.transforms.nirs.SavitzkyGolay",
"params": {
"window_length": 31,
"polyorder": 2,
"deriv": 1
}
},
{
"class": "nirs4all.operators.transforms.nirs.SavitzkyGolay",
"params": {
"window_length": 15,
"deriv": 2
}
},
{
"class": "nirs4all.operators.transforms.nirs.SavitzkyGolay",
"params": {
"window_length": 21,
"deriv": 2
}
},
{
"class": "nirs4all.operators.transforms.nirs.SavitzkyGolay",
"params": {
"window_length": 31,
"deriv": 2
}
},
{
"class": "nirs4all.operators.transforms.signal.Gaussian",
"params": {
"order": 0
}
},
{
"class": "nirs4all.operators.transforms.signal.Gaussian",
"params": {
"order": 0,
"sigma": 2
}
}
]
},
{
"_or_": [
null,
"nirs4all.operators.transforms.nirs.ASLSBaseline",
"nirs4all.operators.transforms.signal.Detrend"
]
},
{
"_or_": [
null,
"nirs4all.operators.transforms.orthogonalization.OSC",
{
"class": "nirs4all.operators.transforms.orthogonalization.OSC",
"params": {
"n_components": 2
}
},
{
"class": "nirs4all.operators.transforms.orthogonalization.OSC",
"params": {
"n_components": 3
}
}
]
}
],
"count": 90
},
{
"class": "sklearn.model_selection._split.StratifiedKFold",
"params": {
"n_splits": 3,
"shuffle": true,
"random_state": 42
}
},
{
"class": "sklearn.preprocessing._data.StandardScaler",
"params": {
"with_std": false
}
},
{
"model": "nirs4all.operators.models.sklearn.plsda.PLSDA",
"name": "PLSDA-Finetuned",
"finetune_params": {
"n_trials": 35,
"sampler": "binary",
"model_params": {
"n_components": [
"int",
1,
30
]
}
}
},
{
"model": "sklearn.linear_model._ridge.RidgeClassifier",
"name": "RidgeClassifier-Finetuned",
"finetune_params": {
"n_trials": 40,
"sampler": "tpe",
"model_params": {
"alpha": [
"log_float",
1e-05,
10000.0
],
"fit_intercept": [
"categorical",
[
true,
false
]
]
}
}
},
{
"model": {
"class": "lightgbm.LGBMClassifier",
"params": {
"random_state": 42,
"verbose": -1
}
},
"name": "LightGBM-Finetuned",
"finetune_params": {
"n_trials": 30,
"sampler": "tpe",
"model_params": {
"n_estimators": [
"int",
100,
600
],
"max_depth": [
"int",
3,
12
],
"learning_rate": [
"log_float",
0.01,
0.2
],
"num_leaves": [
"int",
15,
127
],
"subsample": [
"float",
0.7,
1.0
]
}
}
},
{
"model": "nirs4all.operators.models.sklearn.aom_pls_classifier.AOMPLSClassifier",
"name": "AOM-PLS-Finetuned",
"finetune_params": {
"n_trials": 30,
"sampler": "tpe",
"model_params": {
"n_components": [
"int",
1,
25
]
}
}
},
{
"model": {
"class": "tabpfn.TabPFNClassifier",
"params": {
"ignore_pretraining_limits": true
}
},
"name": "TabPFN"
}
]
}
# Python
import nirs4all_repository as n4r
pipe = n4r.get("studio_ultra_slow_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_ultra_slow_classification/pipeline.json