Giter VIP home page Giter VIP logo

got-data-visualization-using-t-sne's Introduction

GoT-Data-Visualization-using-t-SNE

Visualize multidimensional Game of Thrones data-set using t-SNE.

DATASET

Dataset downloaded from Kaggle: https://www.kaggle.com/mylesoneill/game-of-thrones

BATTLES

1.Run the python file:

t-SNE_battles.py

2.Class labels used here are:

['Beyond the Wall' 'The Crownlands' 'The North' 'The Reach' 'The Riverlands' 'The Stormlands' 'The Westerlands']

We can visualize the data as in which year battles in what region took place. The regions are used as labels here.

alt tag

CHARACTER DEATH

1.Run the python file:

t-SNE_charDeath.py

2.Print the label meaning by printing the class_labels as:

print class_labels

In this case the 21 labels are:

['Arryn' 'Baratheon' 'Greyjoy' 'House Arryn' 'House Baratheon' 'House Greyjoy' 'House Lannister' 'House Martell' 'House Stark' 'House Targaryen' 'House Tully' 'House Tyrell' 'Lannister' 'Martell' "Night's Watch" 'None' 'Stark' 'Targaryen' 'Tully' 'Tyrell' 'Wildling']

We can visualize how members of one House is close to members of other Houses based on the how close they lie to each other. We can visualize in the left big cluster that some 'Martells' are close to each other while one 'Martell' is closer to 'Stark'. Also, some 'Night's Watch' are grouped together.

alt tag

CHARACTER PREDICTION

1.Run the python file:

t-SNE_charPred.py

2.The characters are visualized as whether alive or dead with 0 as dead (in Red) and 1 as alive (in Blue).

We can visualize some dead and alive characters together. We cannot say for sure that the alive characters near to dead characters will be dead soon, but we can say for sure that those alive characters have similarity with dead characters like they might be popular and noble. E.g: Robb Stark and Sansa Stark.

alt tag

got-data-visualization-using-t-sne's People

Contributors

kumar-shridhar avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

lchmo444 sethips

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.