project-walkthroughs
project-walkthroughs copied to clipboard
Data science, machine learning, and web development project code for https://www.youtube.com/c/Dataquestio .
**At line model.fit(train[predictors], train["Target"])** ValueError: Input X contains NaN. SimpleImputer does not accept missing values encoded as NaN natively. For supervised learning, you might want to consider sklearn.ensemble.HistGradientBoostingClassifier and Regressor...
Hello guys, can anyone explain me how can i writhe the code to predict future games in futball?
ML
This issue is related to footbal_matches, specifically the scraping part. data = requests.get(standings_url) soup = BeautifulSoup(data.text) --> standings_table = soup.select('table.stats_table')[0] IndexError: list index out of range For the for loop...
ln 44 predictions=backtest(kse100,model, new_predictors ) give me an error
Hello, I am getting the below error while running the script:  Any help is greatly appreciated!!
Int he football matches, prediction code, I am getting a "closed only implemented for datetimelike and offset based windows" when I run the rolling average function. Anyone have an idea...
Hi, scrape is not working. i use python 3.9 on windows 11. Can you help? --------------------------------------------------------------------------- IndexError Traceback (most recent call last) Input In [19], in () 3 data =...