This gist has the code to visually display the results of a binary classifier on tennis statistics, using an interactive ROC curve.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.



This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
// Inspired by http://informationandvisualization.de/blog/box-plot | |
d3.box = function() { | |
var width = 1, | |
height = 1, | |
duration = 0, | |
domain = null, | |
value = Number, | |
whiskers = boxWhiskers, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(ggplot2) | |
library(scales) | |
library(reshape) | |
## Get the data from here: https://archive.ics.uci.edu/ml/machine-learning-databases/00275/ | |
data <- read.csv('day.csv') | |
data$workingday <- as.factor(data$workingday) | |
data$weathersit <- as.factor(data$weathersit) | |
data$weekday <- as.factor(data$weekday) |
This is a choropleth of Medicare payments by state, using the data recently released by the Center for Medicare and Medicaid Services. I used a kmeans algorithm to determine that 3 clusters explains roughly 90% of the variation in the data.
NewerOlder