zpzim / SCAMP

The fastest way to compute matrix profiles on CPU and GPU!
http://www.cs.ucr.edu/~eamonn/MatrixProfile.html
MIT License
155 stars 35 forks source link

Adjust Flatness epsilon for single precision compute #120

Open zpzim opened 2 years ago

zpzim commented 2 years ago

The flatness epsilon is currently hardcoded to 1e-13. For single precision computation, we should set this to a much larger value like 1e-5 or something so that we produce more accurate results.

Will need to do some testing to evaluate options. Perhaps we can make this epsilon configurable as an input option.