vsavram / AM205-Project

0 stars 0 forks source link

Compute MSE for LUNA, NLM, FF #6

Open msbutler opened 3 years ago

msbutler commented 3 years ago

Creating this issue to document updates on computing MSE for the three models

msbutler commented 3 years ago

@vsavram @jscuds @mecunha @mcembalest you can now compute the log likelihood of luna and nlm objects after training. see the NLMdemo.ipynb for an example

object.get_log_l(x_train,y_train,x_valid,y_valid)

You can get the log likelhood of a feed forward object by calling

nn.objective_trace.min()
msbutler commented 3 years ago

One more thought here: given that an NLM (and LUNA) are two step algorithms (i.e. fit a NN, then fit a bayesian linear model), when evaluating the fit of a model there are two metrics to consider:

The last general performance metric to consider is epistemic uncertainty. Aside from creating nice plots, we're still trying to figure out how to calculate that (EDIT: i believe it's just standard deviation of posterior predictive samples within gap and outside gap). I don't think it's as important for the 205 paper though.