-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue where _create_*_transformers sometimes would not return a…
… value
- Loading branch information
1 parent
4689f9e
commit cd14bd9
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd14bd9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is returning a list instead of setting self.transformers as the list OK for this HybridModel class? The function docstring specifically describes the way it works (overwrite transformers), but this is apparently different than the way other model classes work. Need to double check that whatever is calling this function is also rectified to receive the list and set the transformers there.
cd14bd9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it's supposed to return transformers now. I haven't had time to go back and update the documentation yet.
AMPL/atomsci/ddm/pipeline/model_wrapper.py
Line 379 in a40dffa
You can see there that the returned list of transformers gets assigned to the correct fold in the calling function.