Prediction#

class pytorch_forecasting.models.base_model.Prediction(output=None, x=None, index=None, decoder_lengths=None, y=None)[source]#

Bases: prediction, OutputMixIn

Create new instance of prediction(output, x, index, decoder_lengths, y)

Inherited-members:

Methods

count(value, /)

Return number of occurrences of value.

get(k[, default])

iget(idx)

Select item(s) row-wise.

items()

keys()

Attributes

decoder_lengths

Alias for field number 3

index

Alias for field number 2

output

Alias for field number 0

x

Alias for field number 1

y

Alias for field number 4