This message was deleted.
# neural-forecast
s
This message was deleted.
c
Hi @Raul Gherman! For what hyperparameter are you trying to use tune.randn? Can you show your line of code please?
r
Copy code
LSTMConfing = {
    "encoder_hidden_size": tune.randint(10, 190),
    "encoder_n_layers": tune.randint(1, 4),
    "context_size": tune.randint(5, 20),
    "decoder_hidden_size": tune.randint(16, 256),
    "learning_rate": tune.uniform(1e-4, 1e-2),
    "max_steps": tune.randint(50, 250),
    "batch_size": tune.randint(16, 32),
    "input_size": 16,
    "hist_exog_list": [
        "FedInterest",
        "High",
        "Low",
        "Open",
        "SMA_1M",
        "SMA_1W",
        "SMA_3M",
        "SMA_V_1M",
        "SMA_V_1W",
        "SMA_V_3M",
        "Volume",
        "Week Number",
        "Week Number Average",
    ],

}
c
The config seems correct. Can you show the complete output of the error for "OverflowError: Range exceeds valid bounds"? To see which part of the architecture is causing the issue. tune.uniform will produce float values, so you cant use it for int only hyperparameters such as
context_size
or number of layers.