nirs4all.api.public_tuning module

Common native generation and resumable Methods HPO frontends.

nirs4all.api.public_tuning.generate_variants(choices: dict[str, list[Any]], **kwargs: Any) → list[dict[str, Any]][source]

Enumerate constrained native variants or a seeded random subset.

nirs4all.api.public_tuning.load_native_tuning(directory: Any, **kwargs: Any) → Any[source]

Reload the native selected model and signed optimizer options.

nirs4all.api.public_tuning.resume_native_tuning(checkpoint: Any, data: Any, **kwargs: Any) → Any[source]

Extend the total native history budget from a closed archive checkpoint.

nirs4all.api.public_tuning.tune_native(data: Any, **kwargs: Any) → Any[source]

Tune PLS components 1..3 and scaling with native OOF selection and refit.