DOI-BOR / PyForecast

PyForecast is a statistical modeling tool used by Reclamation water managers and reservoir operators to train and build predictive models for seasonal inflows and streamflows. PyForecast allows users to make current water-year forecasts using models developed with the program.
Other
28 stars 12 forks source link

Consecutive regression runs crashes software #17

Open tjrocha opened 5 years ago

tjrocha commented 5 years ago

Fix issues when running consecutive regression runs. 1st regression run works fine but consecutive regression runs with the exact same settings after the first runs slower and eventually crashes the program. Might be an issue with how arrays/objects are being initialized during each regression run.

Issue can be reproduced by running any regression (MLR, PCA, ZSCORE) consecutively with any feature selection algorithm (SFFS, SFBS, BruteForce) one right after the other. Issue is most evident with the BruteForce selection algorithm.