GithubHelp home page GithubHelp logo

crayonbracket's Introduction

Analysis of #crayonbracket

#crayonbracket is a bracket style tournament on Twitter organized by @sbarolo. I used the rtweet and httr R packages to access the Twitter poll results for each match-up and pulled the vote totals for each color as well as the hex codes for the color. I then used the colorspace R package to convert the hex codes into the LUV color space.

Code in get_tweet_data.R accesses the Twitter API to get the data (you'll need a bearer token for this to run on your machine).

Code in color_distance.R takes that data, does some color space transformations, and makes a plot.

Cleaned data is provided in the data/ folder

Does color difference affect win margin?

In other words, if two colors are very perceptually different, does the winning color win by more votes?

(more to come...)

Contributing

If you know more about human color perception or crayons than I do and want to play around with these data, please feel free to make a pull request, open an issue, or tweet at me.

crayonbracket's People

Contributors

aariq avatar

Watchers

 avatar

crayonbracket's Issues

Modeling

Win margin vs. color distance:

  • account for number of votes---a margin of 20 is big for 60 total votes but small for 1000 votes.
  • Poisson with an offset?
  • Add best fit line to plot

Votes vs. saturation, hue, etc.

  • Figure out best colorspace for this analysis
  • Include 3 dimensions as predictors
  • Also account for total votes with an offset
  • determine if one or more dimensions best determines number of votes / total votes

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.