Skip to content

Phase1 v5 foundation - #5

Open
Ajay03299 wants to merge 27 commits into
mainfrom
phase1-v5-foundation
Open

Phase1 v5 foundation#5
Ajay03299 wants to merge 27 commits into
mainfrom
phase1-v5-foundation

Conversation

@Ajay03299

Copy link
Copy Markdown
Owner

version 5 model enrichment

Scoring fixes (fantasy_points_v5.py):
- Added SR bonus tiers +6/+4/+2 (v0-v4 only had penalties, missing bonuses)
- Added LBW + bowled bonus +8 each (2729 rows now scoring correctly)
- Added 3-catch bonus +4 (186 rows)
- Added 30-run milestone +4 (2531 rows)
- Full economy bonus scale +6/+4/+2 (4115 bonus rows, was 0 before)
- v5 mean: 38.44 vs v4 mean: 36.86, std: 33.16 vs 30.27

Feature engineering (build_feature_table_v5.py):
- Smart role-based imputation replaces fillna(0)
  cold-start career_avg now 39.33 mean (was 0.0)
- form_slope_last5: linear trend over last 5 matches (25703 non-zero)
- days_since_last_match: freshness/rust signal (median 3, max 180)
- pts_above_role_avg: relative form vs role peers
- 98 features, 0 NaNs, 25714 rows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant