Splitter
Repeat
Add repetitions to a splitter, element-wise or sequence-wise.
Quickstart
python
from sktime.split.compose import Repeat
estimator = Repeat(splitter, times=1, mode='entry', random_repeat=False)Parameters(4)
- splittersktime splitter object, BaseSplitter descendant instance
- splitter to repeat
- timesint, default=1
- number of times to repeat the splitter
- modestr, one of “entry” and “sequence”, default=”entry”
mode of repetition “entry” repeats each entry of the split
timestimes “sequence” repeats the entire sequence of splitstimestimes- random_repeatbool, default=False
whether repetitions should be exact or independent pseudo-random If False, repetitions are exact (default) If True, repetitions are random,
splitteris cloned for each repetition. Note: if a random seed is set insplitter, the effect is the same as settingrandom_repeatto False, even ifrandom_repeatis True.