Skip to content

NILodio/deployment-LOL-Azure

Repository files navigation

Cloud - Specialization in Analytics and Data Science.

Presented by:

Lol - Who Will Win: ? --- (Team {Blue or Red})

League of Legends (LoL) is one of the most played multiplayer games in the world, consisting of a showdown between the blue team and the red team. Each team has 5 players. The idea is to destroy the enemy nexus. Lol.

The current exercise involves predicting whether the blue team will win based on certain game parameters. The project's objective is to deploy a service on the public Azure cloud using AzureML. This service will be able to predict which team will win.

Data Description

Lol Dataset

  • Kills: # Kills blue team
  • Deaths: # Kills red team
  • goldDiff: Gold difference between the teams
  • expDiff: Experience difference between the teams
  • hasWon: Blue team won 0 = No, 1 = Blue team won

Requirements

  • Azure subscription.
  • Docker, only for local environment, recommended for debugging processes.
  • Create environment
  • Python 3.8 -
  • IDE vs code or equivalent.

Steps

  • Create a new environment
  • Install the following dependencies
pip install -r requirements.txt
  • Create model
python ./src/train.py

Azure

python ./01-create-environment.py
python ./02-create-compute.py
python ./03-test-workspace-remote.py
python ./04-azure-model-registration.py
python ./05-deploy-azure-model-aci.py

Azure Service Test

API Link Api-Lol

The API is for educational purposes only and therefore is only available for a limited time

  • Kills: # Kills blue team (15)
  • Deaths: # Kills red team (10)
  • goldDiff: Gold difference between the teams (-2000)
  • expDiff: Experience difference between the teams (-147)
  • hasWon: Blue team won 0 = No, 1 = Blue team won
{
    "data" : [15 , 10 , -2000 , -147]
}

Test Model Azure

Postman Test

http://42b2e83c-0169-4f4e-9ffc-ab16c2322d28.eastus2.azurecontainer.io/score

Test Model Azure

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages