Closed ebgoldstein closed 4 years ago
A key first step here is to have an archive serve images in a random order. This is important for some time-sequence data in the archive now... @ShahNafisRafique , do you have any thoughts on how we could accomplish this?
In v1 of the labeler, the random sequence was the same for every user. We do not neccesarily need this to be the case here in v2. Also the random sequence does not need to be fixed from session to session.. It would also be ok if the randomness was done on the fly — hopefully in the future there will be some computation to determine what image to serve the user..
Could there be a field in Catalog collection of the Production Schema that would be something like: {ImageFeed: } and it could be 'sequential', 'random', etc ?
Yes that sounds the best, it can be something like
{
//rest of the catalogs stuff
imageServeOrder :{
"type":"random"// or sequential
}
}
I would just make it a json object just incase in the future we want to add options on top of that (like random selection, but only on the middle 50% or something)
I can go ahead and try this now, or wait.
cool, that is a good implementation. this would be good to add 'now', and by 'now' i mean in this version of the labeler...
Okay I can work on it now then
@ebgoldstein The random assignment works, atleast for the dev schema, should we implement for the production schema?
also the system will default to sequential if there is no imageServeOrder
@somyamohanty — I'm looping you into this issue... this is where a recommender based on clustering could fit in..
this has been closed for the time being... more complicated imageServeOrder
's are being planned
random server order ,sequential server order (with random as backup if an archive doesn't have sequential order) is done
If we ever wanted to alter image order, we would look @ L276-L289 of
Coastal-Image-Labeler/src/dashboard/_server/controllers/v1/user.ts
i.e., for active learning, etc..