-
Notifications
You must be signed in to change notification settings - Fork 27
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
type classification #247
Comments
Here is the model we use for animal classification: {
"classificationDate": "2021-09-23T00:00:00.000Z",
"body": {
"score": 60,
"foreEndWidth": 1,
"chestDepth": 1,
"topline": 2,
"rumpAngle": 3,
"rumpLength": 4,
"rumpWidth": 3,
"harmony": 2,
"stature": 99
},
"muscularity": {
"score": 60,
"chineWidth": 1,
"loinWidth": 2,
"backLength": 77,
"thighsWidth": 2,
"thighsInside": 3,
"thighsDepth": 4,
"thighsMuscularity": 2
},
"legs": {
"score": 60,
"rearLegsSideView": 1,
"pasternAngle": 2,
"rearLegsRearView": 1,
"foreLegsFrontView": 3,
"boneQuality": 2
},
"beefButtockDistance": 1,
"locomotion": 2,
"navelDisorder": 3,
"bodyConditionScore": 3,
"totalScore": 60,
} So as you see resource is divided into the several composite traits - body, muscularity, legs - together with some common linear traits (BCS, locomotion). Each composite trait contains linear traits + area score calculated from the trait scores. Also model has total score which is a classification score from ill the inputs. |
I would prefer something like this: GET /locations/{location-scheme}/{location-id}/type-classifications response: array of
to distinguish better between linear and composites we could decide to have two arrays
|
My post was only an example what we use at the moment, but for ADE I would prefer more generic solution for sure :) |
In my opinion there has to be one, a regular type classification always consist of scoring the new heifers, so always a number of animals on one day. There is surely a use case to request the type classifications based on a classification date. |
I think we should initially define the event in a way that is consistent with the rest of the animal events - with each event being for an Individual. If you want to deliver data for a set of heifers classified on a single day you can always post them as a /batch :-) To me the first step would to be to define a Composite Score event that define the composite score (which can be calculated or overriden by the inspector). This Composite Score event could potentially (but not necessarily) contain an array of the Linear Score events (which we already have - see Then the second step if you wanted would be to define an overall Inspection event which could have an array of Composite Score Events and an array of Linear Score events. The reason for separating these (and not just coding the Linear Score values as in @ahokkonen's example is that different species, countries, and breed organisations may record a variety of different scores. |
Type classification for sets of classification scores, including calculated scores. Resolves #247
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Resolved by #269 |
We have an API description for a conformation score event.
Herdbooks are doing type classifications = scoring a number of linear traits and composite traits (thes might be calculated from linear traits) at once for a number of animal on a location
So we might consider an extra API : type-classifications. This would then comprise in one event an array of linear and an array of composite traits.
The text was updated successfully, but these errors were encountered: