Package mvpa :: Package datasets :: Module splitters :: Class HalfSplitter
[hide private]
[frames] | no frames]

Class HalfSplitter

source code


Split a dataset into two halves of the sample attribute.

The splitter yields to splits: first (1st half, 2nd half) and second (2nd half, 1st half).



Instance Methods [hide private]
 
__init__(self, **kwargs)
Cheap init.
source code
 
_getSplitConfig(self, uniqueattrs)
Huka chaka!
source code
 
__str__(self)
String summary over the object
source code

Inherited from Splitter: __call__, setNPerLabel, splitDataset, splitcfg

Inherited from Splitter (private): _setStrategy

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Class Variables [hide private]
  __doc__ = enhancedDocString('HalfSplitter', locals(), Splitter)

Inherited from Splitter: strategy

Inherited from Splitter (private): _NPERLABEL_STR, _STRATEGIES

Instance Variables [hide private]

Inherited from Splitter: count

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, **kwargs)
(Constructor)

source code 
Cheap init.
Overrides: Splitter.__init__

_getSplitConfig(self, uniqueattrs)

source code 
Huka chaka!
Overrides: Splitter._getSplitConfig

__str__(self)
(Informal representation operator)

source code 
String summary over the object
Overrides: Splitter.__str__