Skip to content

Commit

Permalink
update default_factory
Browse files Browse the repository at this point in the history
  • Loading branch information
ourownstory committed Aug 30, 2024
1 parent 7c62682 commit 31828fc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions neuralprophet/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,9 +508,8 @@ def __post_init__(self):

@dataclass
class ConfigLaggedRegressors:
layers: Optional[List[int]] = (
[]
) # List of hidden layers for shared NN across LaggedReg. The default value is ``[]``, which initializes no hidden layers.
layers: Optional[List[int]] = field(default_factory=list)
# List of hidden layers for shared NN across LaggedReg. The default value is ``[]``, which initializes no hidden layers.
regressors: OrderedDict[LaggedRegressor] = field(init=False)

# def __post_init__(self):
Expand Down

0 comments on commit 31828fc

Please sign in to comment.