kevinmarlis opened a new pull request, #209:
URL: https://github.com/apache/incubator-sdap-nexus/pull/209

   This PR fixes a bug in the `/timeSeriesSpark` algorithm that would return 
NaNs in the comparison stats dictionary when comparing two datasets with only 
one overlapping date. 
   
   ex: Under certain conditions there can be only a single date matchup between 
DS1 and DS2 which results in the linear regression algorithm used to compute 
the comparison stats returning NaNs. 
   
   The fix (for now) is to check for NaNs in the results of the linear 
regression algorithm and set the comparison stats to an empty dictionary, 
following the precedent set when there are no matching dates. 
   
   This has been tested in SLCP's deployment.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sdap.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to