top of page

Machine learning sports prediction

  • Writer: Park Daniel
    Park Daniel
  • Jun 7, 2023
  • 1 min read

Updated: Aug 10, 2023

The steps to machine learning

  1. select & prepare the data set

  2. implement the desired algorithm and train data

  3. identify model metrics

Select & Prepare data set



In the above code, we are fetching and processing data for model input and the output can be seen below



  • Function fetches data for all NCAAB teams and then split data in the 'Feature' (X) and 'target' (y)

  • The feature data will contain game statistics that will help predict wins and losses


  • The model is trained to predict what will happen in next game based on past games and form


Build and train ML model


  • Fit model on training data



  • I have been trying to run these code which visualizes the model


Commenti


Drop Me a Line, Let Me Know What You Think

Thanks for submitting!

© 2023 by Train of Thoughts. Proudly created with Wix.com

bottom of page