-
Notifications
You must be signed in to change notification settings - Fork 3
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
Define data types for sample value
minimum and maximum properties
#37
Comments
I'm going to answer your question with ones of my own. Doesn't the enum array specify that the types will be either double or integer? I guess in practice, I could envision for a categorical target there being "samples" that would be the character strings of one of the category labels. But it seems like here the vision has been that samples would only be numeric and the minimum and maximum would specify the range of allowable values. More broadly, I wonder if there shouldn't be some fields in the target_metadata that specifies something like the allowable range of the variable, which might depend on the target type? E.g. it seems that this would be the place to specify a numeric range for a discrete or continuous target, or allowable categories for a categorical target? |
Leaving related documentation about target types and output types from Zoltar documentation: https://docs.zoltardata.com/targets/#valid-prediction-types-by-target-type |
A few more thoughts on this.
|
I think this is worth a chat at the next meeting as suggested on slack. What I'd particularly like to better understand (and document in On another note, the zoltar documentation has a lot of great content on targets that could be a great source for some more detailed documentation on targets in |
Regarding the original question, if we need flexibility for this particular argument, perhaps we could just add the |
Working and v1.0.0 I noticed that the schema for
sample
value
minimum
andmaximum
properties only has a description with no type or other specification.https://github.com/Infectious-Disease-Modeling-Hubs/schemas/blob/c73b02de6dc44af4251c90a239e47505e7a40f91/v1.0.0/tasks-schema.json#L946-L966
Could I get some clarity on what the value column for sample output types will hold? Is it target dependant?
The text was updated successfully, but these errors were encountered: