Dummy Regressor#

Regressor that guesses output values based on a user-defined guessing Strategy. Dummy Regressor is useful to provide a sanity check and to compare performance against actual Regressors.

Interfaces: Estimator, Learner, Persistable

Data Type Compatibility: Categorical, Continuous, Resource


# Param Default Type Description
1 strategy Mean Continuous The guessing strategy to employ when making predictions.


use Rubix\ML\Regressors\DummyRegressor;
use Rubix\ML\Other\Strategies\Percentile;

$estimator = new DummyRegressor(new Percentile(56.5, 0.1));

Additional Methods#

This estimator does not have any additional methods.