FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Annual Auto-Retraining for NPB Baseball Predictions with GitHub Actions
How-ToProgramming Languages

Annual Auto-Retraining for NPB Baseball Predictions with GitHub Actions

via Dev.to PythonYMori1mo ago

Background I built a Japanese professional baseball (NPB) player performance prediction system. → Previous article: Why Marcel Beat LightGBM: Building an NPB Player Performance Prediction System After getting it working, I realized I was running python ml_projection.py manually every November. That meant all of this was manual: Web scraping (data fetch) Model retraining Prediction CSV update Checking whether accuracy improved year-over-year So I automated it with GitHub Actions, and added model artifact saving and accuracy logging. → GitHub : https://github.com/yasumorishima/npb-prediction 3 Things I Added Feature What I did Model saving joblib → .pkl files in data/models/ , one per year Metrics logging Marcel vs ML MAE saved to JSON + FastAPI /metrics endpoint Auto-run GitHub Actions cron, every November 1st ① Save Models with joblib After training, save each model to a .pkl file: import joblib from pathlib import Path MODELS_DIR = Path ( " data/models " ) MODELS_DIR . mkdir ( parents

Continue reading on Dev.to Python

Opens in a new tab

Read Full Article
81 views

Related Articles

How-To

Why New Bug Bounty Hunters Get Stuck — And How to Fix It

Medium Programming • 9h ago

Beyond the Code: Why the 7-Step Development Lifecycle is Your Competitive Advantage.‍
How-To

Beyond the Code: Why the 7-Step Development Lifecycle is Your Competitive Advantage.‍

Medium Programming • 10h ago

HadisKu Is Now Ad-Free: Why I Removed Ads From My Islamic App
How-To

HadisKu Is Now Ad-Free: Why I Removed Ads From My Islamic App

Dev.to • 12h ago

How-To

How To Be Productive — its not all about programming :)

Medium Programming • 12h ago

Welcome Thread - v371
How-To

Welcome Thread - v371

Dev.to • 12h ago

Discover More Articles