sotastream.pipelines.default module
- class sotastream.pipelines.default.DefaultPipeline(parallel_data, **kwargs)[source]
Bases:
Pipeline- classmethod get_data_sources_default_weights()[source]
A list of floats corresponding to the number of data sources and specifying the mixture weights among them. These will be provided to the argparse subcommand as the default values for the –mix-weights argument. To get the actual instantiated values, use self.mix_weights. The function is named in an overly explicit way to avoid confusion between these two sources.
- classmethod get_data_sources_for_argparse()[source]
This returns a list of (name, description) pairs for each data source. This is used to instantiate the argparse subcommand with named positional arguments. These are not the actual instantiated data paths; for that, each class has The function name is quite verbose in order to minimize confusion.
- Returns:
List[Tuple]: List of (name, description)