orthrus.model_selection namespace

Submodules

orthrus.model_selection.partitioning module

This module defines various partitioning classes which partitions samples in batches of training and test split. These classes must have the sklearn equivalent of a split method. The split method returns a list of train-test partitions; one for each fold in the experiment. See sklearn.model_selection.KFold for an example partitioner.

class orthrus.model_selection.partitioning.TrainPartitioner

Bases: object

split(X=None, y=None)
class orthrus.model_selection.partitioning.TrainTestPartitioner(train_idx, test_idx)

Bases: object

split(X=None, y=None)