-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use paradox for Filter settings #14
Comments
I started this in #16, but there is still a lot missing:
|
All filters now have a ParamSet. The hyperparameters abs, perc or thresh and not included there (yet). |
Moving this to the top in the prio list. The ParamSet of each filter should contain the hyperpars (mutually exclusive)
and any possible arguments that can be passed down to the filter. In the end, it should be possible to specify the ParamSet during construction so that @mb706 Is this correct or did I overlook something? |
It is probably good if the
|
1 + 2: I think we need to see this in practice. I would not say that users will never use the Maybe this is too much meta talk and we should first implement all of it and then get a feeling for everything. I will first add a ParamSet focusing on manual execution of the filter by specifying the underlying filter options and then go ahead adding the process-based hyperpars (n.feat, n.perc). |
Blocked until I know how to condition Param Limits on tasks and specify params without default. |
@mb706 I documented the first ParamSet locally just now. These generic hyperpars will be defined in the ParamSet next to the filter specific hyperpars. filter$param_set
ParamSet:
id class lower upper levels default value
1: k ParamInt 1 Inf 3
2: threads ParamInt 0 Inf 0
3: abs ParamInt 1 Inf <NoDefault>
4: perc ParamDbl 0 1 <NoDefault>
5: thresh ParamDbl -Inf Inf <NoDefault> Setting them during construction via |
I don't like the old names. "perc" implies a value that goes from 0 to 100 instead of 0 to 1; "abs" sounds like we are talking about the absolute value ( |
What behaviour is this giving if one sets |
These are only used if their specific member fun is used (
Ok, let's change them! |
We agreed to change the names as the old ones were suboptimal |
Implemented in 363e96a. |
If
Filter
objects had an associatedParamSet
(and used its$values
slot etc.), then the parameter values could more easily be tuned over. Having aParamSet
with good type and range information would also be informative for the user.The text was updated successfully, but these errors were encountered: