You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
), have a bunch of loading in the __init__. This is discuraged in the context of tpcp/sklearn and similar frameworks, as the idea is that parameters can be modified even after the init (using set_params) and the assumption is that creating an instance is "cheap" and it is hence done under the hood often (e.g. via .clone).
All logic should be put where it is first needed (aka in detect or train method)
The text was updated successfully, but these errors were encountered:
I saw that at least in one of the algorithms implemented here (
eargait/eargait/gait_sequence_detection/gait_sequence_detector.py
Line 93 in ffd8336
__init__
. This is discuraged in the context of tpcp/sklearn and similar frameworks, as the idea is that parameters can be modified even after the init (usingset_params
) and the assumption is that creating an instance is "cheap" and it is hence done under the hood often (e.g. via.clone
).All logic should be put where it is first needed (aka in detect or train method)
The text was updated successfully, but these errors were encountered: