Skip to contents

Loads the trained full outcome prediction model for a given format. The full model uses all available features including player skills, team skills, and venue skills for maximum prediction accuracy.

Usage

load_full_model(format = c("t20", "odi", "test"), model_dir = NULL)

Arguments

format

Character. Format type: "t20", "odi", or "test"

model_dir

Character. Directory where models are stored. If NULL (default), automatically finds bouncerdata/models directory.

Value

Loaded XGBoost model object (xgb.Booster)

Details

The full model uses all available features:

  • Context: over, ball, wickets, runs_diff, phase, innings, format, gender

  • Player skills: batter/bowler scoring/survival/economy/strike rate

  • Team skills: batting/bowling team runs/wicket skill

  • Venue skills: run rate, wicket rate, boundary rate, dot rate

This is the model used for match simulation where maximum accuracy is needed.