alibi.tests.utils module
- class alibi.tests.utils.MockPredictor(out_dim, out_type='proba', model_type=None, seed=None)[source]
Bases:
object
A class the mimicks the output of a classifier or regressor to allow testing of functionality that depends on it without inference overhead.