reagent.ope.datasets package

Submodules

reagent.ope.datasets.logged_dataset module

class reagent.ope.datasets.logged_dataset.BanditsDataset

Bases: abc.ABC

Base class for logged, aka behavior, dataset

abstract property actions
Returns

all actions in the dataset as numpy array

abstract property features
Returns

all features in the dataset as numpy array

abstract property num_actions
Returns

number of total possible actions

abstract property num_features
Returns

number of features

abstract property rewards
Returns

all rewards in the dataset as numpy array

Module contents