lenskit.tuning.RayPipelineTuner#
- class lenskit.tuning.RayPipelineTuner(spec, out_dir=None, rng=None)#
Bases:
lenskit.tuning._base.BasePipelineTunerBase class for hyperparameter tuning.
- Parameters:
spec (lenskit.schemas.tuning.TuningSpec) – The tuning specification.
out_dir (pathlib.Path | None)
rng (lenskit.random.RNGInput)
- tuner: ray.tune.Tuner#
- run()#
Run the tuning job.
Saves the results in
results, and also returns them.- Return type:
- search_space()#
Get the Ray search space.
- setup_harness()#
- property metric#
- create_tuner()#
Create a Ray tuner for the search.
- Return type: