In one data analysis project, I want to do an analysis on different models, one Parametric and the other NonParametric. But there are issues caused by the fact that we've got additional public methods in the NonParametric class, which aren't in the Parametric class. So this needs to be refactored, so that they both have the same public methods.
Being more rigorous about a specific public interface for all concrete subclasses of Model will aid in doing eventual model comparisons (e.g. #80).
In the Model class
[x] Define abstract methods (public) that subclasses of Model must implement. Use a methods (Abstract) block
In the NonParametric class
[ ] sort out the getExperimentData and extractDiscountFunctionSamples methods
In the Parametric class
[ ] Implement plot_discount_functions_in_grid method, see #170
In one data analysis project, I want to do an analysis on different models, one
Parametric
and the otherNonParametric
. But there are issues caused by the fact that we've got additional public methods in theNonParametric
class, which aren't in theParametric
class. So this needs to be refactored, so that they both have the same public methods.Being more rigorous about a specific public interface for all concrete subclasses of
Model
will aid in doing eventual model comparisons (e.g. #80).In the
Model
classmethods (Abstract)
blockIn the
NonParametric
classgetExperimentData
andextractDiscountFunctionSamples
methodsIn the
Parametric
classplot_discount_functions_in_grid
method, see #170