Git Product home page Git Product logo

mlb_prediction's Introduction

MLB_prediction

Is it possible to boil down a team sport to a few predictive elements and consistently predict the outcome of competetion? Every game is different - the mental and physical state of ach player, weather, venue conditions, policitcal climate, expectations. Is it possible?

It would appear that it is - at least 70% of the time

Methodology:

I used data compiled from every game of the past 58 seasons of professional baseball in the United States (MLB) to build predictive models. Models include: logistic regression, random forest, adaboost, ensemble voting (of the prevoius three), and an artificial neural net.

I processed and modeled the data in a the Jupyter notebook using python.

Results

All models essentially returned the same reuslt - 70% accuracy.

References

youtube video with explanation my approach: https://youtu.be/qv5KKVciZeQ

A similar project, which I used as a benchmark for success: http://cs229.stanford.edu/proj2013/JiaWongZeng-PredictingTheMajorLeagueBaseballSeason.pdf

mlb_prediction's People

Contributors

whrg avatar wesbh avatar

Stargazers

BZEIX avatar DevRabb avatar Robin C. Hoffpauir avatar Jose Acosta avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar K.G. Miller avatar

Watchers

Jose Acosta avatar BZEIX avatar

mlb_prediction's Issues

how to predict future match with this?

hello, I really enjoy your project and I try to use your project to predict match with the model created by.
however, I don't know how to input real home team and real visiting team to model to get the output of who wins.
can you help me with it? I really appreciate your work

Does this still work

Could you put up some installation instructions and a walk through on how to use this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.