nicholasjclark / MRFcov

Markov random fields with covariates
23 stars 5 forks source link

Add wrapper function for using caret confusionMatrix or other functions to assess fit to test data #16

Closed nicholasjclark closed 4 years ago

nicholasjclark commented 5 years ago

At this point models are fitted using cv of the entire dataset, but it may be more appropriate to allow users to automatically with-hold a test set that is never seen by the model to be used for out-of-bag prediction. This could incorporate some useful caret functions for assessing fit, such as confusionMatrix