Skip to content

Instantly share code, notes, and snippets.

View conorbmurphy's full-sized avatar

Conor conorbmurphy

View GitHub Profile
DROP KEYSPACE IF EXISTS plume;
CREATE KEYSPACE plume WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
use plume;
create type plume.pollution_data (
value_upm float,
pi float,
aqi float,
aqi_cn float
@conorbmurphy
conorbmurphy / gist:9f9045a233d4249870d5
Last active February 11, 2016 19:01
RFM Draft for Blood Donations
# load required packages
library(caret)
library(pROC)
library(e1071)
blood <- read.csv(file.choose())
names(blood) <- c("Donor","Recency","Frequency","Monetary","Times","Donated")
t