I have come to the conclusion that MuyGPyS has too many procedural conditionals to be maintainable. We need to refactor much of the library to functionally construct MuyGPs processes in a way that is set at object creation time. In particular, we need to break MuyGPS.regress into MuyGPS.posterior_mean() and MuyGPS.posterior_variance(). Rather than writing these methods as normal member functions, they should be defined at object creation time based upon model choices - e.g. homo/heterscedasticity, variance form, etc. There are other examples that I will document in this thread as they arise.
I have come to the conclusion that MuyGPyS has too many procedural conditionals to be maintainable. We need to refactor much of the library to functionally construct MuyGPs processes in a way that is set at object creation time. In particular, we need to break
MuyGPS.regress
intoMuyGPS.posterior_mean()
andMuyGPS.posterior_variance()
. Rather than writing these methods as normal member functions, they should be defined at object creation time based upon model choices - e.g. homo/heterscedasticity, variance form, etc. There are other examples that I will document in this thread as they arise.