Giter Site home page Giter Site logo

m-msilva / predict-nba-player-points_end-to-end-project Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 9.47 MB

End-to-end project to predict basketball player points. (regression problem)

Home Page: https://m-msilva-predict-nba-player-po-deploypredictpointswebapp-5cybb6.streamlitapp.com/

License: MIT License

Python 0.61% Procfile 0.01% Shell 0.02% Jupyter Notebook 99.36%
webscraping nba end-to-end website deploy nba-visualization datascience data-analysis colab-notebook cloud-computing

predict-nba-player-points_end-to-end-project's Introduction

Predict-NBA-player-Points_End-to-end-Project ๐Ÿ‘จโ€๐Ÿ”ฌ ๐Ÿค— ๐Ÿ’ป

screem.png

Important notes about the project

This project was built with numerous tools and technologies, this is a summary document. Therefore, if you want to obtain more statistical and computational information see Google Colaboratory, to read about the conclusions found about the project, analyze the Report. You can also access application created in Web App and see how I collected the data with Web Scraping ๐Ÿ™„.

About this project

The objective of this project is to predict the points of a basketball player, in addition we answer some businesses questions that are grounded on the jupyter notebook. Also, this is a complete project as we go through several steps of a usual data science project such as web scraping (data collection), feature engineering, data cleansing, data transformation, data visualization, data analysis, data, modeling and cloud deployment.

Applications

The current project can be used to help an athlete in his training to know how many points he would make based on some information, and it can also be used in competitions and betting. Although this program is part of my personal portfolio, feel free to use it for studies, repairs and improvements. ๐Ÿค™

Motivation

This project was developed to be part of my personal portfolio and served both to test my skills and for my learning, since countless technologies could be used in it. Despite being an end-to-end project, it still needs some future improvements, such as having a larger and more diverse dataset. ๐Ÿ˜ƒ

Functionalities

Developed Web APPs:

  • Enter athlete data and the like;
  • Find out how many points an athlete would have.

Web APP included by Streamlit

  • Rerun;
  • Automatically update the app when the underlying code is updated;
  • Enable wide mode so the app takes up the entire width of the screen;
  • Choose by dark or light theme;
  • Record a video or audio of the screen;
  • Report a bug;
  • Get Help;
  • About.

Instructions to run and/or compile the code

Initial Requirements

The application is already running and it is not necessary to install anything on your machine, however, if you want to run the application locally, you must install the Python language on your machine. In addition, you must have the libraries listed below on your machine.

Built With

Hosted In:

  • Streamlit

Running the Code

The installations of the libraries are already explained in the links above, but if you want to be in the same versions I do:

pip install scikit-learn==1.0.2
pip install streamlit==1.6.0
pip install numpy==1.22.2
pip install pickle-mixin==1.0.2
pip install pandas==1.4.1
pip install imblearn==0.0
pip install xgboost==0.90
pip install matplotlib==3.2.2
pip install scipy==1.7.3

done, go to the Deploy folder and type:

streamlit run PredictPointsWebAPP.py

and see the application run on your machine. ๐Ÿ˜ฎ

Contributing

Criticism, doubts and suggestions feel free to send me:

e-mail: [email protected]

LinkedIn: https://www.linkedin.com/in/marcos-matheus-silva-089699b3/ ๐Ÿค—

Author

Marcos Matheus de Paiva Silva

Credits

Web scraping was done from https://www.nbastuffer.com/player-stats/. The code written in Google Colaboratory was based on the steps of the book Aurelien Geron - hands on machine learning-2019. In addition, this code was developed based on everything I learned from: Jesse E.Agbe, Siddhardhan, Lucas Grassano Lattari, Shashank Kalanithi, Walisson Silva, Israel Dryer, Fernando Nakamuta, Alex Freberg.

License

This project is licensed under the MIT License - see the file LICENSE for more details.

predict-nba-player-points_end-to-end-project's People

Stargazers

 avatar

Watchers

 avatar

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.