Skip to content

Commit

Permalink
🐛 Added Union for type hinting instead of the | operator for python…
Browse files Browse the repository at this point in the history
… 3.9.
  • Loading branch information
Adjorn committed Dec 19, 2024
1 parent 0a00de6 commit 105dea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sam/models/mlp_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def __init__(
use_diff_of_y: bool = False,
timecol: str = None,
y_scaler: TransformerMixin = None,
feature_engineer: BaseFeatureEngineer | Pipeline = None,
feature_engineer: Union[BaseFeatureEngineer, Pipeline] = None,
n_neurons: int = 200,
n_layers: int = 2,
batch_size: int = 16,
Expand Down

0 comments on commit 105dea8

Please sign in to comment.