opendataval.dataval.RandomEvaluator#
- class opendataval.dataval.RandomEvaluator(*args, **kwargs)#
Completely Random DataEvaluator for baseline comparison purposes.
Generates Random data values from Uniform[0.0, 1.0].
Parameters#
- random_stateRandomState, optional
Random initial state, by default None
- __init__(random_state: RandomState | None = None)#
Methods
__init__
([random_state])evaluate_data_values
()Return random data values for each training data point.
input_data
(x_train, y_train, x_valid, y_valid)Store and transform input data for DataEvaluator.
input_fetcher
(fetcher)Input data from a DataFetcher object.
setup
(fetcher[, pred_model, metric])Inputs model, metric and data into Data Evaluator.
train
(fetcher[, pred_model, metric])Store and transform data, then train model to predict data values.
train_data_values
(*args, **kwargs)RandomEval does not train to find the data values.
Attributes
Evaluators
data_values
Cached data values.