Closed levaphenyl closed 2 years ago
@levaphenyl, could you provide an example dataset that is large enough to fail without this fix? Thanks, Zeke
Here's a test file with 1M rows filesdummy-input-length-1e+06.csv.zip
Closing in favor of https://github.com/Geocene/trainset/issues/117, whose solution is more elegant.
When uploading a time series that is too large, the upload fails with error
RangeError: Maximum call stack size exceeded
. This is due to the use offilter(...).map(...)
in the getMinMax function, as it fills the call stack with small function calls. Possibly related to https://github.com/Geocene/trainset/issues/109