Generates a prediction for a match using a trained model and pre-match features.
Usage
predict_match_outcome(
match_id,
model,
conn,
model_version = "v1.0",
model_type = "xgboost"
)Examples
if (FALSE) { # \dontrun{
conn <- get_db_connection()
model <- xgboost::xgb.load("path/to/model.ubj")
prediction <- predict_match_outcome("1234567", model, conn)
} # }
