Skip to content

Commit

Permalink
Added composer installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdalpino committed Jun 18, 2020
1 parent f48872e commit 6290c1c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
19 changes: 7 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,21 @@
# Rubix ML - Dota 2 Game Outcome Predictor
[Dota 2](http://www.dota2.com/) is a popular multiplayler online battle arena (MOBA) game that puts 10 players divided into 2 teams against each other. Each player controls a unique hero with abilities and its own set of strengths and weaknesses. Our objective is to build a classifier to predict the winning team based on hero matchup given a dataset of 102,944 individual matchups and their labeled outcomes. We'll employ the [Naive Bayes](https://docs.rubixml.com/en/latest/classifiers/naive-bayes.html) algorithm as our base estimator and learn how to save the trained model for use in another process. We'll also test the model to see how well it can generalize what it has learned to new data.
[Dota 2](http://www.dota2.com/) is a popular multiplayer online battle arena (MOBA) game that puts 10 players divided into 2 teams against each other. Each player controls a unique hero with abilities and its own set of strengths and weaknesses. Our objective is to build a classifier to predict the winning team based on hero matchup given a dataset of 102,944 individual matchups and their labeled outcomes. We'll employ the [Naive Bayes](https://docs.rubixml.com/en/latest/classifiers/naive-bayes.html) algorithm as our base estimator and learn how to save the trained model for use in another process. We'll also test the model to see how well it can generalize what it has learned to new data.

- **Difficulty:** Easy
- **Training time:** Minutes

## Installation
Clone the project locally using [Composer](https://getcomposer.org/):
```sh
$ composer create-project rubix/dota2
```

## Requirements
- [PHP](https://php.net) 7.2 or above

#### Recommended
- 2G of system memory or more

## Installation
Clone the repository locally using [Git](https://git-scm.com/):
```sh
$ git clone https://github.com/RubixML/Dota2
```

Install dependencies using [Composer](https://getcomposer.org/):
```sh
$ composer install
```

## Tutorial

On the map ...
Expand Down
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@
"php": ">=7.2",
"rubix/ml": "^0.1.0-rc2"
},
"scripts": {
"train": "@php train.php",
"test": "@php validate.php"
},
"config": {
"preferred-install": "dist",
"sort-packages": true
}
},
"minimum-stability": "dev",
"prefer-stable": true
}

0 comments on commit 6290c1c

Please sign in to comment.