Real Time Branch - Implementation of 2020/21 Summer Research#5
Open
sorenia wants to merge 8 commits intoddempsey:real-timefrom
Open
Real Time Branch - Implementation of 2020/21 Summer Research#5sorenia wants to merge 8 commits intoddempsey:real-timefrom
sorenia wants to merge 8 commits intoddempsey:real-timefrom
Conversation
Earthquake Filter & uncertainty analysis
To prevent immediate errors with current forecasters I added back Ncl. - Once everyone hardcodes or works around this can remove from train.
The exclude dates in the ForecastModel call is only used to calculate 'zsc_X' - It is solely used to hide TEST data when calculatig the z score, - otherwise the eruption that was supposed to be "hidden" would skew the z score - ensure that if 'zsc_X' is in datastream MUST have necessary exclude_dates in ForecastModel() call - The same exclude_dates should be used in .train() USAGE: fm = ForecastModel(..., data_streams=['zsc_rsam'], exclude_dates=[[tei,tef],], ... ) fm.train(..., exclude_dates=[[tei,tef],], ...) NOTE: This is part of Annie Li's summer research 2020/21
By changing the __init__() remember to make changes to .hires_forecast() - a ForecastModel is created using positional arguments NOTE: Consider updating .hires_forecast() with name based arguments
- sig_params in forecast, hires_forecast to represent a and b - sigmoid() function - Return the calibrated probability by applying the sigmoid function to the model consensus. - plot_forecast_calibrated for probability version of plot_forecast - changes to y limits and threshold - similarly plot_hires_forecast_calibrated for plot_hires_forecast - important changes to compute_CI implementation
- same paradigm as forecast_dec2019() - sig_params calculated in s_calibration branch
* allows for stacking of ensemble mean and probability
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Key developments to whakaari code