Open clarype opened 1 year ago
Oh wait -- no, it would be better to do it right when it's written: in ltop.py / runLTversionsHelper, right when we get the rmse -- check to see if it's zero, and if so, then do the calculation right there. Like, right afer line 410.
Originally posted by @ramblingrek in https://github.com/eMapR/LTOP_FTV_Py/issues/6#issuecomment-1331591243
NOTE: None of this solves the other problem we have -- which is that if there are multiple tied runs, we always take the zeroth one.
I don't think we want to randomly select one. We want something that we can replicate.
So, if we don't do it randomly, and we don't want to always pick the zeroth one, we have two options.
One would be to try different points within the same cluster (rather than just one), and keep adding points until we get to the point where one particular recipe wins the most often.
The other would be to simply apply some rules: rules to handle if there are multiple recipes of, say, recovery threshold, how to choose the one we want. I could just decree these rules based on simple logic -- like, always take the parameter choice that should lead to more complicated fits.
I suspect the second way would be easier to implement.
Originally posted by @ramblingrek in https://github.com/eMapR/LTOP_FTV_Py/issues/6#issuecomment-1331598460
Second way would for sure be easier to implement...
_Originally posted by @brobertspierel in https://github.com/eMapR/LTOP_FTV_Py/issues/6#issuecomment-1332465341_
So, @brobertspierel has been spearheading this, and added some functionality to replace the zero RMSE values using in script RMSE calculations from the source and fitted data arrays. However, when testing at locations where we do have RMSE values from LandTrendr these RMSE values do not match but there are close. @ramblingrek says that is okay, and possibly makes sense from how GEE runs Landtrendr on the back end. I am awaiting the final results before closing this issue.
_Originally posted by @ramblingrek in https://github.com/eMapR/LTOP_FTV_Py/issues/6#issuecomment-1331590190_