[Question] Numerical Instability when using double as input
- Dominant language
- C++
- Stars
- 55
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
I used tl2cgen to compile my model file, it is a really nice tool!
But since there's no missing value and qvalue needed in my case, i changed function input parameter to `double* data`, however, I found there's some stability issue that <1% of predict results can not match the one generated by LightGBM boosting api, btw, our tree is really sensitive to precision (the node threshold are small value with many decimal place). The problem is finally fixed by changing the input parameter to `const double* data`, But I am pretty sure that I am not changing the data anywhere.
Anyone has idea about the reason?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.