NHL App

This is an NHL (National Hockey League) application that provides information about the games and results of the 2022-2023 season. Users can search for games by team and view all the games played by a specific team. The app also includes detailed game statistics, including Expected Goals (xG) and videos of goals.

Features

  • View season 2022-2023 games and results
  • Search for games by team
  • View all games played by a specific team
  • Detailed game statistics, including xG
  • Videos of xG goals

Technologies Used

  • Frontend: Svelte
  • Backend: Strapi (headless CMS)
  • Download game data use this
  • Xgs calculations is in this poroject
  • Machine Learning Algorithm: GradientBoostingClassifier

xG Calculation

The xG (Expected Goals) calculation in this app is performed using a GradientBoostingClassifier machine learning algorithm. The classifier has been trained using five seasons of games data. The variables used for training the model are as follows:

  • Distance
  • Angle
  • Last Event Number
  • Last Distance
  • Shot Number
  • Last Shot
  • Time Difference

These variables contribute to predicting the expected goal probability based on historical data.

Setup and Installation

  • All data is not for public
  • Web site is coming soon ....

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

  npm run dev

Contributing

Contributions to the NHL App are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request to this repository.

License

This project is licensed under the MIT License.

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes