| LDL_ML_predict | R Documentation |
This function predicts and returns predictions, based on the model previously trained.
LDL_ML_predict(model, data)
model |
The model with which the predictions will be made. |
data |
The data with which the predictions will be made, can either be a single set of (CHOL,HDL,TG) values or a data table of sets of said values. |
The predicted LDL value(s).
modelPrediction = LDL_ML_predict(model$model,data.table::data.table(CHOL=170.5,HDL=35.12,TG=175))