We are passing the model settings dictionary into the constructor. We should just use self.model_settings when passing the settings to GaussianModel instead of having to pass them get_aggregate_prediction_intervals when the function is called.
Task: Remove model_settings as a parameter for all implementations of get_aggregate_prediction_intervals.
Note: I also made these changes within the Nonparametric election model in order to ensure that combined unit tests run smoothly.
Description
We are passing the model settings dictionary into the constructor. We should just use
self.model_settings
when passing the settings to GaussianModel instead of having to pass themget_aggregate_prediction_intervals
when the function is called.Task: Remove model_settings as a parameter for all implementations of
get_aggregate_prediction_intervals
.Note: I also made these changes within the Nonparametric election model in order to ensure that combined unit tests run smoothly.
Jira Ticket
https://arcpublishing.atlassian.net/browse/ELEX-2264
Test Steps
pip install elex-model
pip install -r requirements.txt
pip install -r requirements-dev.txt
Create a .env file with the variables specified in README
tox