PyProphetWeightApplier

class pyprophet.scoring.runner.PyProphetWeightApplier(apply_weights: str, config: RunnerIOConfig)[source]

Bases: PyProphetRunner

Applies pre-trained weights to full/new datasets.

This class extends PyProphetRunner to include functionality for loading pre-trained weights and applying them to input data.

__init__(apply_weights: str, config: RunnerIOConfig)[source]
run_algo()[source]

Runs the algorithm to apply pre-trained weights.

Returns:

A tuple containing the result, scorer, and weights.

Return type:

tuple