mljs / ml-pipe

https://mljs.github.io/ml-pipe/
MIT License
2 stars 0 forks source link

Take care about Number.MIN_VALUE #17

Closed lpatiny closed 2 years ago

lpatiny commented 2 years ago

This is the smallest value that can be stored in a number (5e-324)

You probably want Number.NEGATIVE_INFINITY

https://github.com/mljs/ml-pipe/blob/189305832c878c849761b9897d50db917dc22e61/src/utils/colStat.ts#L18