Code Monkey home page Code Monkey logo

rkirlew / leagueoflegendsmatchprediction Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 17 KB

LeagueOfLegendsMatchPrediction is a machine learning project aimed at predicting the outcomes of League of Legends matches based on various in-game statistics and features. The project utilizes data from League of Legends matches, including information about team compositions, player performance, objectives secured, and game progression metrics.

Jupyter Notebook 100.00%

leagueoflegendsmatchprediction's Introduction

This project aims to predict the outcome (win/loss) of League of Legends matches based on various in-game factors using machine learning techniques. The provided example demonstrates how to train a logistic regression model for this task. Requirements

Python (>=3.6)
pandas
scikit-learn

Installation

Clone the repository:

bash

git clone https://github.com/RKirlew/league-of-legends-match-prediction.git cd league-of-legends-prediction

Install the required Python packages:

bash

pip install -r requirements.txt

Usage

Data Preparation:
    Ensure you have a dataset containing League of Legends match data in CSV format. The dataset should include features like champion selection, player statistics, and match outcomes.

Training the Model:
    Modify the features and target variables in predict.py to match the columns in your dataset that you want to use as features and the target variable (win/loss).
    Run the predict.py script to train the logistic regression model and evaluate its performance on a test set.

Predicting Match Outcomes:
    Modify the new_match_data dictionary in predict.py with the features of the new match you want to predict.
    Run the predict.py script to predict the outcome of the new match using the trained model.

Example

bash

python predict.py

Contributing

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

leagueoflegendsmatchprediction's People

Contributors

rkirlew avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.