CustomSplitter
Ancestors
vectorbtpro.generic.splitting.base.Splittervectorbtpro.generic.analyzable.Analyzablevectorbtpro.base.wrapping.Wrappingvectorbtpro.utils.config.Configuredvectorbtpro.utils.config.HasSettingsvectorbtpro.utils.caching.Cacheablevectorbtpro.utils.checks.Comparablevectorbtpro.utils.pickling.Pickleablevectorbtpro.utils.formatting.Prettifiedvectorbtpro.utils.chaining.Chainablevectorbtpro.base.wrapping.HasWrappervectorbtpro.base.indexing.ExtPandasIndexervectorbtpro.base.indexing.PandasIndexervectorbtpro.base.indexing.IndexingBasevectorbtpro.utils.params.ItemParamablevectorbtpro.utils.params.Itemablevectorbtpro.utils.params.Paramablevectorbtpro.base.indexes.IndexAppliervectorbtpro.utils.attr_.AttrResolverMixinvectorbtpro.generic.stats_builder.StatsBuilderMixinvectorbtpro.generic.plots_builder.PlotsBuilderMixinvectorbtpro.utils.base.Base
Static methods
from_custom_rolling
Splitter instance from a rolling range of fixed length.
Superset Splitter.from_rolling by adding the first (if backwards is sorted)
or last remaining split. Creates a rolling sequence of slices based on the provided index.
The first slice uses a length defined by length, and each subsequent
slice begins after an offset from the previous slice’s right boundary.
Uses Splitter.from_splits to generate an array of splits and
corresponding labels, and then construct the Splitter instance. See Splitter.from_rolling for further informations.
Parameters:
Raises:
Returns:
from_custom_expanding
Splitter instance from an expanding range.
Creates an expanding sequence of slices based on the provided index.
The first slice uses a minimum length defined by min_length, and each
subsequent slice begins after an offset from the previous slice’s right
boundary.
Uses Splitter.from_expanding by adding the last remaining split. See Splitter.from_expanding for further informations.
Parameters:
Raises:
Returns:

