[Python] GluonTS DeepAR prediction non deterministic

Discussão em 'Python' iniciado por Stack, Maio 6, 2025.

  1. Stack

    Stack Membro Participativo

    I'm working on DeepAR using GluonTS. After I trained a model using the proper method, I got a predictor that i named predictor. Then, I used this to perform a prediction like in this case:

    predictor.predict(
    ListDataset([{"start": ..., "target": ...}], freq='120min')
    )


    I noticed that executing this codes multiple time produces different predictions. I also tryed to set a seed with the function of random module but it didn't work. Do you have ideas? Thanks in advance

    Continue reading...

Compartilhe esta Página