Run manager parameters #521
sdhiscocks
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In discussion with @gbellantuono, wondering what types of parameters that run manager should support.
So basic types, like
int
(e.g. number of particles) andfloat
(e.g. noise coefficients). Boolean as well.I'm not sure where
str
would be useful, as more than likely if it is a parameter to change for example the choice of an internal method, this should be aEnum
.datetime.timedelta
would be useful, as a parameter that is used in many places. This could simply be represented as seconds, such acts like float with min/max, etc.For things like,
tuple
andlist
and NumPy arrays, in particularStateVector
andCovarianceMatrix
types, you may only want to vary a subset of the values, or all of them. I thinkCovarianceMatrix
has a special case where you may only want to vary the diagonal elements.I can also see use case where you may want to change an entire component, e.g. swapping out two different transition models. However, this may also require changing out other variables (e.g. change from CV to CA model, you'll need to modify prior to include acceleration). Considering these as completely different configurations may be easier initially.
When varying parameters, I could see it useful to have a way to choose how that value varies. Simple case is a min and max value, with a number of steps, or step size. But what also would be useful is random sampling, or quasi-random sampling. I can also see use case where you may have min and max value, but may want to step in log/exp scale.
Beta Was this translation helpful? Give feedback.
All reactions