Machine learning sports prediction
- Park Daniel
- Jun 7, 2023
- 1 min read
Updated: Aug 10, 2023
The steps to machine learning
select & prepare the data set
implement the desired algorithm and train data
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