lenskit.tuning.RayPipelineTuner#

class lenskit.tuning.RayPipelineTuner(spec, out_dir=None, rng=None)#

Bases: lenskit.tuning._base.BasePipelineTuner

Base class for hyperparameter tuning.

Parameters:
tuner: ray.tune.Tuner#
setup()#

Set up to run the trainer. After this method completes, the tuner is ready.

run()#

Run the tuning job.

Saves the results in results, and also returns them.

Return type:

RayTuneResults

search_space()#

Get the Ray search space.

setup_harness()#
property metric#
create_tuner()#

Create a Ray tuner for the search.

Return type:

ray.tune.Tuner