Skip to content

traffic_la

Bases: time_series_dataloader

Source code in tinybig/data/time_series_dataloader.py
class traffic_la(time_series_dataloader):
    def __init__(
        self,
        name: str = TRAFFIC_LA_DATA_PROFILE['name'],
        x_len: int = 10,
        y_len: int = 1,
        xy_gap: int = 1,
        coverage_year_range: int = 1,
        time_granularity: str = 'minutely',
        target_attributes: str = 'All',
        *args, **kwargs
    ):
        super().__init__(
            name=name,
            data_profile=TRAFFIC_LA_DATA_PROFILE,
            x_len=x_len, y_len=y_len, xy_gap=xy_gap,
            coverage_year_range=coverage_year_range,
            time_granularity=time_granularity,
            target_attributes=target_attributes,
            *args, **kwargs
        )