https://github.com/nixtla logo
#neural-forecast
Title
# neural-forecast
t

Tyler Blume

11/09/2023, 7:31 PM
hey everyone, is there a way to turn off writing files when using autonhits, specifically the lightning_logs file?
j

José Morales

11/09/2023, 7:39 PM
Can you try setting
logger=False
in the constructor? e.g.
NHITS(..., logger=False)
t

Tyler Blume

11/09/2023, 7:40 PM
__init__() got an unexpected keyword argument 'logger'
This is for the AUTONHITS class
nf = NeuralForecast(
models=[
AutoNHITS(h=24, config=config_nhits, num_samples=5)
],
freq='M'
)
snippet I copied from the documentation, fails with logger=False
j

José Morales

11/09/2023, 7:43 PM
ah for the auto you need to provide it in the config
so
config={**config_nhits, 'logger': False}
t

Tyler Blume

11/09/2023, 7:54 PM
oh awesome works like a charm! Thanks @José Morales
👍 1