How do I initialize a StackedModel properly? #6120
VanBuren77
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
First off - great Library, huge fan! I'm very confused about proper model instantiation in Python for Stacked Models. It looks like there's a StackedFitter() included in one of the Python stacked files in the main but it doesn't return the inner models correctly
When I pickle this model in Orange:
Load it as a pickled object into python, I see the following:
How can I re-create this init process in python?
I have the following code to attempt this:
`
def _get_model():
n_learners = 1 # no dunder fields ->
sub_stack_count = 1
nets_per_sub_stack = 3
What is returned is not the object I pickled and loaded above
Thanks,
Evan
All reactions