Determine association rules predicting a player's champion based on the items equipped in the game.
$30-250 USD
Closed
Posted about 8 years ago
$30-250 USD
Paid on delivery
Write codes to read the training file (line by line, since each line corresponds to a tuple in a relation) and turn it into possibly a matrix (or data table).
- Search for some library that already implements an association rule mining algorithm. Read the documentation of such library to understand how to use it
- Plug that library into your code to turn the data you read from the training file into rules. Your rules should have a value of champion id as the conclusion. You need to at least set a pair of minsup and minconf for the algorithm to run.
- Write codes to read the test file line by line
- For each line, convert it into an item set and try to find an association rules applicable (i.e., the condition clause in the rule matches the item set)
- Output for that line the champion id in the conclusion.