This file contains hidden or 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
O,X,O,O,O,O,O,O,O,O,O,O, | |
X,X,O,O,O,X,X,X,O,O,O,O, | |
X,X,X,O,X,O,X,X,O,O,O,O, | |
O,O,O,O,O,O,O,O,O,O,O,X, | |
O,O,O,X,X,O,O,O,O,O,X,O, | |
O,O,O,O,O,O,O,O,O,O,O,O, | |
O,O,O,O,O,O,O,O,O,O,O,O, | |
O,O,X,X,X,X,X,X,O,O,O,O, | |
O,O,O,O,X,X,O,O,O,O,O,O, | |
X,O,O,O,O,X,O,O,O,X,X,X, |
This file contains hidden or 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
O,X,O,O,O,O,O,O,O,O,O,O, | |
X,X,O,O,O,X,X,X,O,O,O,O, | |
X,X,X,O,X,O,X,X,O,O,O,O, | |
O,O,O,O,O,O,O,O,O,O,O,X, | |
O,O,O,X,X,O,O,O,O,O,X,O, | |
O,O,O,O,O,O,O,O,O,O,O,O, | |
O,O,O,O,O,O,O,O,O,O,O,O, | |
O,O,X,X,X,X,X,X,O,O,O,O, | |
O,O,O,O,X,X,O,O,O,O,O,O, | |
X,O,O,O,O,X,O,O,O,X,X,X, |
This file contains hidden or 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
# Code to participate in http://www.kaggle.com/c/titanic-gettingStarted | |
# change path to the directory where train.csv/test.csv are located. | |
path <- "~/dev/kaggle/titanic/data_raw/" | |
colTypes <- c("character", "factor", "factor", "character", "factor", "numeric", "factor", "factor", "character", "numeric", "factor", "factor") | |
load_data <- function(path, colClassTypes = colTypes) { | |
initial <- read.csv(path, colClasses=colClassTypes) | |
initial$Age <- as.integer(initial$Age) |
This file contains hidden or 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
package net.branchandbound.builder; | |
public class PizzaOrderNewStyle { | |
private int size; | |
private boolean pepperoni; | |
private boolean chicken; | |
private boolean mushroom; | |
private boolean peppers; | |
private String cheese; |
This file contains hidden or 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
package net.branchandbound.builder; | |
import java.util.concurrent.atomic.AtomicBoolean; | |
public class PizzaOrder { | |
private int size; | |
private boolean pepperoni; | |
private boolean chicken; | |
private boolean mushroom; |
This file contains hidden or 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
{ | |
"status_code": 200, | |
"data": { | |
"results": [ | |
{ | |
"domain": "missesdressy.com", | |
"initial_epoch": "1369033342000", | |
"h3": [ | |
"Similar Items", | |
"Tell me more about this dress...", |
This file contains hidden or 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
def loggedIn = ".user" #> User.currentUser.map { user => | |
".firstName" #> user.firstName | |
".lastName" #> user.lastName | |
} |