# Time Series Utilities

This page lists all the utility functions and classes that can be used for Time Series based models.

Most of those are only useful if you are studying the code of the time series models or you wish to add to the collection of distributional output classes.

## Distributional Output[[transformers.time_series_utils.NormalOutput]]

<div class="docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8">


<docstring><name>class transformers.time_series_utils.NormalOutput</name><anchor>transformers.time_series_utils.NormalOutput</anchor><source>https://github.com/huggingface/transformers/blob/v4.57.0/src/transformers/time_series_utils.py#L179</source><parameters>[{"name": "dim", "val": ": int = 1"}]</parameters></docstring>

Normal distribution output class.


</div>

<div class="docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8">


<docstring><name>class transformers.time_series_utils.StudentTOutput</name><anchor>transformers.time_series_utils.StudentTOutput</anchor><source>https://github.com/huggingface/transformers/blob/v4.57.0/src/transformers/time_series_utils.py#L164</source><parameters>[{"name": "dim", "val": ": int = 1"}]</parameters></docstring>

Student-T distribution output class.


</div>

<div class="docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8">


<docstring><name>class transformers.time_series_utils.NegativeBinomialOutput</name><anchor>transformers.time_series_utils.NegativeBinomialOutput</anchor><source>https://github.com/huggingface/transformers/blob/v4.57.0/src/transformers/time_series_utils.py#L193</source><parameters>[{"name": "dim", "val": ": int = 1"}]</parameters></docstring>

Negative Binomial distribution output class.


</div>

<EditOnGithub source="https://github.com/huggingface/transformers/blob/main/docs/source/en/internal/time_series_utils.md" />