No video

Predict NBA Games With Python And Machine Learning

  Рет қаралды 46,956

Dataquest

Dataquest

Күн бұрын

Пікірлер: 79
@mizew9149
@mizew9149 Жыл бұрын
Would love to see one on predicting future games. Great video. Very well done
@Qhorin
@Qhorin Жыл бұрын
I would also love to see actually predicting future games. Thanks for the content!
@alexandermackenzie5891
@alexandermackenzie5891 Жыл бұрын
Really enjoyed this! I'd love to see another video on how to predict future games. Thank you for the tutorial
@ByBraiiaN
@ByBraiiaN Жыл бұрын
Wow. Would love to see one on predicting future games. Great video.
@TheDruss16
@TheDruss16 7 ай бұрын
Excellent video that shows you how to use machine learning to identify the correlated factors that determine the outcome using previous games, but is a little misleading because it doesn't actually show you how to predict outcomes of future games. Would love to know where I can find this information, even if I have to pay for it.
@artyom6230
@artyom6230 Жыл бұрын
It would be good if you can put a more detailed guide on Dataquest, to include predicting future matches using rolling averages etc. Would happily sign up just for that!
@carlossoto1466
@carlossoto1466 Жыл бұрын
I would love to see the future games please, I enjoy these videos and it helps me learn
@predictoredge_live
@predictoredge_live 7 ай бұрын
Excellent video for learning, but doesn't actually show you how you can predict future games. Future games do not have all the box score stats, which make it difficult project outcomes for the future based upon what this video is demonstrating. Some help or an additional video would be much appreciated showing how to actually use this to predict future games (or games that have not yet occurred).
@beraviousargentino9865
@beraviousargentino9865 Жыл бұрын
Same for future predictors!!! THX FOR THIS!
@pelumiadeleke-ademola2813
@pelumiadeleke-ademola2813 Жыл бұрын
another great vid, would love one on future predictions
@matthewmoore8445
@matthewmoore8445 Жыл бұрын
GREAT Video! I will be coding this and Implementing in my personal work. I would love to see a future video on how you go about predicting future games. I would also love to see something just like this for player performance, at a game by game level.
@mikekennedy7073
@mikekennedy7073 Жыл бұрын
Great walk through. Would love to see how you update the next values for home and away teams
@haydnwebtech
@haydnwebtech 7 ай бұрын
Your videos are brilliant! Horse racing would be an interesting project, using machine learning to predict which horse should win based on the stats for each runner in the race?
@tyler_russell
@tyler_russell 11 ай бұрын
Really great video. I learned some good ways to use list comprehensions in pandas to help with column names on top of the scikit learn fits. Thanks for this.
@pandithammultilingualcompu1552
@pandithammultilingualcompu1552 9 ай бұрын
Awesome explanation, I used this for my class, thank you
@tenienteale
@tenienteale Жыл бұрын
here I'm waiting the video on predicting future games... maybe someday will come
@jamesmostofi2420
@jamesmostofi2420 Жыл бұрын
Please do a predictive video for future games 🙏🏻
@shukkkursabzaliev1730
@shukkkursabzaliev1730 Жыл бұрын
Hey! Great video (complicated too, gotta watch second time) I would personally benefit very much from a video on how to use this for future matches, pleaseee!
@pauld428
@pauld428 6 ай бұрын
Great video. Please make one about predicting future games.
@meechmiliyan8965
@meechmiliyan8965 Жыл бұрын
Completed the first video, super awesome thank you!!! Does this video help with grabbing player stats and using AVG Reb, PTS, AST, etc to predict stats VS opponents ?
@norgen4
@norgen4 Жыл бұрын
Please do one for future games!!
@greenfootprint2680
@greenfootprint2680 8 ай бұрын
Amazing channel mate! Are you able to demo. how to deploy ML models into production and what we could use to fully automate this end to end? Preferably with systems/platforms that are free to use.
@dylanhaynes275
@dylanhaynes275 Жыл бұрын
Great video, would be great if you could do one but that predicts total points scored, not necessarily in basketball.
@hodlsportclub
@hodlsportclub Жыл бұрын
Great tutorial 👌🏾 by any chance did you make the video on how to up date the model
@eleftherias.3065
@eleftherias.3065 Жыл бұрын
Hi. I have two questions. a) Where did you find the data to use for your test? b) How easy is it for someone who don't know programming to learn python?
@albertlarbi6231
@albertlarbi6231 Жыл бұрын
This was a great video but I would be happy if you would do one for the prediction of future games
@Nerfgunninja
@Nerfgunninja 11 ай бұрын
stay strong, Coulibaly is going to be a star
@jordanw4822
@jordanw4822 Жыл бұрын
Please make a video on how to predict future games!!🙏🙏
@nikolaytoporkov3537
@nikolaytoporkov3537 Жыл бұрын
simply awesome, thank you
@Cris_the_coder
@Cris_the_coder Жыл бұрын
give this man move views so we get another part !!!!
@CRKHB
@CRKHB Жыл бұрын
Hi, how could I attach the season to the predictions to see how well the model did for each individual season?
@Cobbtrades
@Cobbtrades 9 ай бұрын
When you doing the one to predict the future games i.e. value of 2 in the target column? Thanks
@PjFlipStudio
@PjFlipStudio 6 ай бұрын
please make video on how to predict future games
@GoodVibesOnly1995
@GoodVibesOnly1995 6 ай бұрын
Hi there, just curious what would you say are the main things to look for when predicting games
@josechua669
@josechua669 27 күн бұрын
Having issues with the rolling averages. Recieving a value error, saw a couple other people with the same error did anybody manage to figure it out?
@adamkrasowski9181
@adamkrasowski9181 Жыл бұрын
Hey, How long will it take to run SequentialFeatureSelector with the same parameters, but using RandomForestSelector or XGBoost as a model? Couple of hours , days ?
@AbrarMuhtasim
@AbrarMuhtasim Жыл бұрын
'Customer segmentation in retail using machine learning' please make a video on this topic using real dataset.😥😥🙏🙏
@usernameispassword4023
@usernameispassword4023 Жыл бұрын
Hi, I'm curious as to why this only results in a 64% accuracy. For example, something as simple as comparing the records of the teams at the time they've played and predicting the one with higher win% to win would result in around a 68% accuracy for the 2021-22 season. Is this due to ridge classification?
@rjvaughn
@rjvaughn Жыл бұрын
When computing the rolling averages, why did you not use the 'left = X' paramater, like you did in your football predictor video? Don't your rolling averages include knowledge of the current game you are predicting?
@EzraSchroeder
@EzraSchroeder Жыл бұрын
We would really like to see a video on predicting future games in the NBA. Even though this would be a horrible use of PyTorch, I would like to see it done with PyTorch, as well as a wide variety of other machine learning models & technologies (sklearn, etc.). It would also be nice to see some work with regards to this done on Kaggle as well, for example using NBA datasets as well as NCAA datasets.
@brianbutler6672
@brianbutler6672 5 ай бұрын
I've been working with this code for about three weeks now and I have successfully scraped all of the player stats too and want to somehow add a 'lineup' feature that looks at the MP of each player and how productive they tend to be to further improve the model. Any chance you would be willing to help me with that?
@Dirty69
@Dirty69 Жыл бұрын
Great Tutorial!!!!
@Leon-nc3xk
@Leon-nc3xk Жыл бұрын
Hello, what is the algorithm used by the model and where could I get information on the logic behind the algorithm used by the model?? Thank you.
@coconutnut21
@coconutnut21 8 ай бұрын
would love to see total score predictor sir.
@haimanottiruneh2491
@haimanottiruneh2491 Жыл бұрын
How did you decide to chose ridge classifier?
@qpe04
@qpe04 Жыл бұрын
I wonder why using ridge classifier but not logist regression in the SequentialFeatureSelector
@williamrowe2296
@williamrowe2296 Жыл бұрын
How would I filter out rows of games that were in the playoffs so I just have regular season games in the dataframe?
@AlphaDoggs
@AlphaDoggs Жыл бұрын
predict future nfl games please
@nishchay89
@nishchay89 Жыл бұрын
Why do we need player stats which have max in front of them? What is the purpose of max stats ? Can anyone help clarify please?
@nishchay89
@nishchay89 Жыл бұрын
Hi! Why did we use ridge classification?
@ultieme007
@ultieme007 4 ай бұрын
at 38:48 i get an error when running the function find team averages for last 10 games, that i can not resolve. would it have something to do with the error showing in the video, the futurewarning?
@josechua669
@josechua669 27 күн бұрын
did u figure this out?
@marcyoussef3313
@marcyoussef3313 Жыл бұрын
hello Please can you show how can we select 2 teams and than the AI would chose who wins , like please write the code in the reply
@Philgob
@Philgob Жыл бұрын
I need some clarification here... The data in the training and test set contain the points scored by each teams, how can the model not predict exactly if the game is a win or a loss? It literally just has to check if the team has more points and return true if it does... I am confused
@Dataquestio
@Dataquestio Жыл бұрын
We're predicting the winner of the next game. The algorithm doesn't know what happened in the next game when it is making predictions.
@Philgob
@Philgob Жыл бұрын
@@Dataquestio facepalm
@isi6402
@isi6402 5 ай бұрын
Hi sir, Where to deploy this project.
@bhavyamehra6931
@bhavyamehra6931 Жыл бұрын
Doesnt rolling 10 include current game for rolling average? wouldnt that be a leakage?
@SMK3211
@SMK3211 4 ай бұрын
No, because you predict always the next game
@kfaslus
@kfaslus 8 ай бұрын
hello brother, can you help me with this line that is generating the following error: line: df_rolling = df[list(selected_columns) + ["won", "team", "season"]] def find_team_averages(team): rolling = team.rolling(10).media(). return rolling df_rolling = df_rolling.groupby(["team", "season"], group_keys=False).apply(find_team_averages) error: DataError: Cannot aggregate non-numeric type: object.
@SMK3211
@SMK3211 8 ай бұрын
Did you manage to solve that?
@bena.9440
@bena.9440 7 ай бұрын
I believe you need to change that line to rolling = team[selected_columns].rolling(10).mean()
@AIMadesy
@AIMadesy 7 ай бұрын
this works@@bena.9440
5 ай бұрын
@@bena.9440 Yes it is
@josechua669
@josechua669 27 күн бұрын
@@bena.9440 u saved me
@kunal6353
@kunal6353 Жыл бұрын
which ide u r using
@Dataquestio
@Dataquestio Жыл бұрын
JupyterLab
@TjSpoonManJacques
@TjSpoonManJacques Жыл бұрын
INSTANT FOLLOW!!!!
@ramfanintexas
@ramfanintexas Жыл бұрын
does this for loop need to be updated for my pc? for url in standings_pages: save_path = os.path.join(STANDINGS_DIR, url.split("/")[-1]) if os.path.exists(save_path): continue
@kadbed
@kadbed 8 ай бұрын
Is anyone facing 'Cannot aggregate non-numreic type:object' error while trying to this: df_rolling = df_rolling.groupby(["team", "season"], group_keys=False).apply(find_team_averages)
@kfaslus
@kfaslus 8 ай бұрын
I have the same problem with that error.
@akashgahlaut4078
@akashgahlaut4078 5 ай бұрын
i have solved this issue
@DaniloKacanski875
@DaniloKacanski875 5 ай бұрын
How did u solve that? @@akashgahlaut4078
@josechua669
@josechua669 27 күн бұрын
@@akashgahlaut4078 How did you resolve
@izchak333
@izchak333 Жыл бұрын
the full del in begining shuld be like this del df['index_opp'] del df['mp.1'] del df['mp_opp.1'] del df['mp_max_opp.1'] del df['mp_max.1']
@mkzzzzzzzzzz1
@mkzzzzzzzzzz1 Жыл бұрын
Unrelated, but the previous nba score scraper took like 3 days to scrape 2016-2022. OH MY DAYS.
@Dataquestio
@Dataquestio Жыл бұрын
Yeah, it has to scrape a lot of records (8500), and there is a time.sleep in the loop. Each record should take about 6 seconds to download. There's also a small chance that it will time out after 30 seconds of trying and need to retry. We can guesstimate the runtime with (8500 * 6 + 8500 * .05 * 60) / 3600 = 21.25, so it should take about 21 hours to run. You could try reducing the sleep time and timeout times for playwright, but there is a risk of getting banned by the server.
@hodlsportclub
@hodlsportclub Жыл бұрын
How do I add to the date selection line this new season from October to now
Weather Prediction With Python And Machine Learning [W/Code]
45:06
Web Scraping NBA Games With Python [Full Walkthrough W/Code]
1:19:10
Schoolboy Runaway в реальной жизни🤣@onLI_gAmeS
00:31
МишАня
Рет қаралды 4 МЛН
Kids' Guide to Fire Safety: Essential Lessons #shorts
00:34
Fabiosa Animated
Рет қаралды 17 МЛН
Oh No! My Doll Fell In The Dirt🤧💩
00:17
ToolTastic
Рет қаралды 10 МЛН
OMG what happened??😳 filaretiki family✨ #social
01:00
Filaretiki
Рет қаралды 13 МЛН
Predict The Stock Market With Machine Learning And Python
35:55
Dataquest
Рет қаралды 671 М.
Python + Baseball Savant Introduction
23:53
Jon Anderson
Рет қаралды 1,2 М.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Boris Meinardus
Рет қаралды 282 М.
The NBA Data Scientist
8:06
Bloomberg Originals
Рет қаралды 546 М.
Football Betting Algorithm in Python Explained
8:12
Liam Hartley
Рет қаралды 74 М.
Predict Football Match Winners With Machine Learning And Python
44:43
Predict Baseball Stats using Machine Learning and Python
54:59
PREDICT NBA Games With Probability | Excel Tutorial
51:08
Excel LADZ
Рет қаралды 39 М.
Schoolboy Runaway в реальной жизни🤣@onLI_gAmeS
00:31
МишАня
Рет қаралды 4 МЛН