Skip to contents

The completion probability model for passes whose air yards are known, scored in place of cfb_cp_model where air_yards is available.

Usage

cfb_cp_air_yards_model

Format

A raw vector representation of an 'xgboost' model (binary:logistic). Features, in order: down, distance, yards_to_goal, score_diff, seconds_remaining, is_home, period, passing_down, air_yards, pass_is_middle, qb_hurry.

Source

The cfb_model_artifacts release of https://github.com/sportsdataverse/sportsdataverse-data.

Examples

model <- xgboost::xgb.load.raw(cfb_cp_air_yards_model)
xgboost::getinfo(model, "feature_name")
#>  [1] "down"              "distance"          "yards_to_goal"    
#>  [4] "score_diff"        "seconds_remaining" "is_home"          
#>  [7] "period"            "passing_down"      "air_yards"        
#> [10] "pass_is_middle"    "qb_hurry"