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
The config_dict changes when used over and over (passed to various class instances - FeatureSelection, Training, etc.), and when the variables are used, they are being modified in the original file. I try to use dict.copy() anytime it's used, but this is a soft copy and modifies the config.
copy.deepcopy() works, but requires that another library is imported.
To do
Decide whether to go forward with deepcopy or to encapsulate config_dict (and perhaps other settings) in a class.
The text was updated successfully, but these errors were encountered:
The
config_dict
changes when used over and over (passed to various class instances -FeatureSelection
,Training
, etc.), and when the variables are used, they are being modified in the original file. I try to usedict.copy()
anytime it's used, but this is a soft copy and modifies the config.copy.deepcopy()
works, but requires that another library is imported.To do
Decide whether to go forward with deepcopy or to encapsulate config_dict (and perhaps other settings) in a class.
The text was updated successfully, but these errors were encountered: