Tuning the number of constants #883
Answered
by
MilesCranmer
mikhmed-nabiev
asked this question in
Q&A
-
|
Hi! I wonder whether it is possible to fix the desired number of constants in a tree when initializing a model? Can it be done in case of template expressions too? |
Beta Was this translation helpful? Give feedback.
Answered by
MilesCranmer
Mar 30, 2025
Replies: 1 comment
-
|
I guess you could set the complexity of constants to a very high number, and pass parameters in a template expression. Or you could write a custom complexity mapping that counts the number of constants and compares that number to some value. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mikhmed-nabiev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I guess you could set the complexity of constants to a very high number, and pass parameters in a template expression. Or you could write a custom complexity mapping that counts the number of constants and compares that number to some value.