avalanche.benchmarks.scenarios.ClassificationStream
- class avalanche.benchmarks.scenarios.ClassificationStream(name: str, benchmark: TGenericCLClassificationScenario, *, slice_ids: Optional[List[int]] = None)[source]
- __init__(name: str, benchmark: TGenericCLClassificationScenario, *, slice_ids: Optional[List[int]] = None)[source]
Methods
__init__(name, benchmark, *[, slice_ids])count(value)drop_previous_experiences(to_exp)Drop the reference to experiences up to a certain experience ID (inclusive).
index(value, [start, [stop]])Raises ValueError if the value is not present.
Attributes
scenarioThis property is DEPRECATED, use self.benchmark instead.
nameThe name of the stream (for instance: "train", "test", "valid", ...).
benchmarkA reference to the benchmark.
slice_idsDescribes which experiences are contained in the current stream slice.