0% found this document useful (0 votes)
36 views51 pages

Assignment#1

The document describes the process for predicting football match results including scraping historical data from websites, preprocessing the data by handling missing values and scaling features, and using dimensionality reduction techniques like PCA before training a machine learning model and evaluating its performance on test data.

Uploaded by

Usama Mustafa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views51 pages

Assignment#1

The document describes the process for predicting football match results including scraping historical data from websites, preprocessing the data by handling missing values and scaling features, and using dimensionality reduction techniques like PCA before training a machine learning model and evaluating its performance on test data.

Uploaded by

Usama Mustafa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 51

PREDICTING FOOTBALL MATCH RESULTS

Measuring Device Pre-Processing Dimensionality Reduction


Scraping subject league historical After parsing the data using Reduce the number of features to
data from Fbref/ Kaggle using beautiful soup, transform data, enhance model performance e.g.,
requests library for downloading handle missing values, such as apply Principal Component
the data replacing missing scores with Analysis (PCA) to identify key
average scores, encoding categorical performance metrics, like goals
features like team names, and scored and conceded, and use
scaling numerical data to bring all them as input for the model.
features to a common scale e.g.,
Team Statistics

Analysis Result
Model Improvement & Error Analysis Model Testing Model Learning
e.g., Analyze the model's predictions Evaluate the model's performance
and performance metrics to draw Train a machine learning model
using test data, measuring metrics
insights about its accuracy and potential using scikit-learn to predict EPL
like accuracy & precision to assess
areas for improvement. For instance, match winners based on the
its predictive capability.
identify if the model is better at preprocessed data. For instance,
predicting certain teams’ results use a Decision Tree Classifier.
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
now we want the URLs for all the teams in the league.
For that we will use the anchor tags which will be represented by <a and for that
we will parse the HTML through the use of Beautiful Soup
MEASURING DEVICE
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats
MEASURING DEVICE
• Web Scraping under mentioned URL
https://fbref.com/en/comps/9/Premier-League-Stats

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy