forked from elastic/ml-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Fix potential use of unintialised value when minimising lowess r…
…egression function (elastic#2268) If for any reason the extrapolation range for lowess regression returns zero then globalMinimize, to find the function minimum, would be supplied an empty collection of points and fail. This would then lead to minimum returning a uninitialised value for the minimum. This shouldn't normally happen in our usage of it, but we have seen the error message associated with supplying an empty collection to globalMinimize in our QA suite.
- Loading branch information
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters