TreeMama / iSeaTree-React-Prototype

Prototype for the iSeaTree (a mobile app which creates compatible data collection for the iTree project).
MIT No Attribution
15 stars 9 forks source link

v 4+ Add the species/genus that was the final pick for TreeBot (and its percentage) #517

Closed TreeMama closed 1 year ago

TreeMama commented 1 year ago

As of our current build - the (awesome) work @dceu did in #419 is live.

After talking to our other admin - we only need one more (small) edit. The current list of items in 'other_ai' ONLY includes the TreeBot results that WERE NOT selected. We need to also inlude the result that WAS selected. For example:

Pinus radiata was selected by TreeBot as the most likely winner - which means it should show up in 'other_ai' as an item (along with its probability).

pinus

Forcing the winning entry to ALWAYS be entry index = 0 might be helpful.....BUT because we do / should have fallback options (and we don't let LOW ranking matches be selected) its really not going to be a big deal.

Just having the entry in there with the percentage is likely good enough.

ALSO be aware there is another fallback option - where we select the genus entry (tree spp.) IF our species.json DOES NOT include the entry that TreeBot is trying to match too.

This is an example of one of those times that TreeBot pulled up 2 Celtis species (that we didn't have in the species.json) and therefor the result became Celtis spp. (the genus). case_where_it_was_a_genus

ToDO: Have the 'winning' TreeBot choice ALSO included in the 'other_ai' list.

TreeMama commented 1 year ago

@bestw07 can you take a look - this is for PR #519 (also I think this pr is behind the current /develop/ we might need to sync)

TreeMama commented 1 year ago

closing