This function takes the (1) type of model ("TREE" for Tree,"GLM" for Logreg), (2) the pre-fitted model for use in prediction, and (3) the test set to run predictions on
1 |
type |
The type of statistical method being used. "TREE" for CART or "GLM" for Logistic Regression. |
model |
The actual fit model to calculate predict() on |
test |
The test set for predictions to be made on |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.