Getting and setting the internal state of the Statistics and Regression object in order to resolve issue #4. I renamed the methods to get_state and set_state instead of get_params and set_params because we are saving the internal state while in Scikit-Learn the parameters are really the initialization parameters.
As shown in the unit tests those methods allow storing the current state of the aforementioned objects for later usage.
Some minor PEP8 related changes were also done.
Getting and setting the internal state of the
Statistics
andRegression
object in order to resolve issue #4. I renamed the methods toget_state
andset_state
instead ofget_params
andset_params
because we are saving the internal state while in Scikit-Learn the parameters are really the initialization parameters. As shown in the unit tests those methods allow storing the current state of the aforementioned objects for later usage. Some minor PEP8 related changes were also done.