Skip to content

How can I specify a constant in an ensemble model? #6146

Answered by dyastremsky
greaber asked this question in Q&A
Discussion options

You must be logged in to vote

Is there a way for your model itself to do this logic? An ensemble is just a pipeline of models. If you know the value will always be 16, you can just build that into the model.

If you mean that you would like to set a value (that is not always the same) one time at model load time based on the config, you could do that with a custom backend or use the Python backend. You can see how to get a model configuration parameter in your model here.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@greaber
Comment options

Answer selected by greaber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants