Giter Club home page Giter Club logo

magictcg_classification's Introduction

Magic the Gathering Classification

You may be familiar with magic the gathering.

It's a strategy trading card game with many different cards. Players build decks with a set amount of cards. The cards he or she chooses determines the strategy. The diversity of cards printed over the last 20 years leads to a very diverse playing environment, and makes selecting the best cards for your deck difficult.

In this project I seek to classify cards by their text/abilities. As a player I know that the five colors represent five overarching strategies. Each color has unique keyword abilities. I will use logistic regression then machine learning to attempt to classify the cards based solely on text.

Perfect accuracy is unachievable without overfitting. Every now and then a card gets printed that pushes the boundaries of what that color is allowed to do. Looking at the inevitable residuals should be very interesting.

Goals are twofold:

  • Compare various machine learning methods.
  • Identify residuals and see if they fit a pattern.

Magic is broken up into 5 colors, each with different attributes.

Color theory (about which colors get which abilities) gets really advanced

http://mtgsalvation.gamepedia.com/Color_Pie

I found a complete database of every card ever made:

http://mtgjson.com/

Cards are in JSON format

Humans can very easily sort cards by color without knowing what color they are, each color has its own strategies and tropes. Lets see how well a computer can classify them.

magictcg_classification's People

Contributors

hollisn avatar jasonhortsch 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.