Skip to content

mingeon21/KBO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

KBO

Demo

Overview

My project is centered on using the past 20 years of baseball statistics from the Korean Baseball Association. By utilizing graphical methods and the vast data, I aim to display players' performances on a yearly basis, transforming statistical data into a user-friendly graphical model, which displays the correlations of different baseball statistical values. This service aims to provide a more engaging understanding of baseball statistics for both existing fans and newcomers to the sport. My appreciation for baseball and its rich statistical depth and story drove my interest. While baseball's statistics offered an intricate perspective on players' performances, the decreasing popularity of the Korean Baseball League provoked my desire to emulate successful U.S. baseball prediction websites. I aspire to introduce Korean fans to the captivating realm of baseball predictions, merging my passion for the sport with a solution for a prevailing gap in the Korean baseball community.

Data

Development Environment

  • OS: MacOS Ventura 13.4.1
  • Programming Language: Python3.11, HTML, CSS, Javascript
  • Framework: Django 4.2.2

Run

cd KBO/demo/kbo_demo
python3.11 manage.py runserver ${PORT} 

Results

Screenshot 2023-10-04 at 22 35 48

Adjusting the 3 tabs at the top left corner, users can alter the x and y statistics and the year of which the users want to analyze. The according graph will be displayed below the tabs. Below the graph will be a display of a table, where the chosen x and y statistics and the team and name of the player who has the smallest and the largest x-axis statistic value

Machine Learning

  • Approach: Linear Regression

DEMO

Overview

By leveraging machine learning algorithms, more specifically, Linear Regression, I aim to predict players' performances on a yearly basis, transforming statistical data into a user-friendly prediction model, especially since the Korean Baseball Organization lacks such a platform. The primary goal is to bridge the gap in Korea's baseball analytics by creating a user-friendly baseball prediction service using machine learning algorithms.

Data

Development Environment

  • OS: MacOS Ventura 13.4.1
  • Programming Language: Python3.11, HTML, CSS, Javascript
  • Framework: Django 4.2.2

Run

cd KBO/modeling
python3.11 predict.py 

Results

Screenshot 2023-10-04 at 22 52 39

The machine learning tab only fixed number of statistical values. IP, ERA, and WHIP. When the user inputs the value of IP, machine learning algorithm will output the most likely values of ERA and WHIP for pitchers who threw inputed amount of IP.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages