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.
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.
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.