Kaggle competition: Ghouls, Goblins, and Ghosts... Boo!
<choose_model_class><EOS> 
train = pd.read_csv(".. /input/train.csv", index_col=0)
 test = pd.read_csv(".. /input/test.csv", index_col=0)
 y_train = train["type"].map({"Ghoul": 1, "Ghost": 2, "Goblin": 3})
 train.drop("type", inplace=True, axis=1)
 train_test = pd.concat([train, test], axis=0)
 train_test = train_test.drop('color', 1)
 X_train = train_test.iloc[:len(y_train)].as_matrix()
X_test = train_test.iloc[len(y_train):].as_matrix()
y_train = y_train.transpose().as_matrix()
kernel = 1.0 * RBF([1.0, 1.0, 1.0, 1.0])
 gpc = GaussianProcessClassifier(kernel)
 gpc.fit(X_train, y_train)
 y_pred = gpc.predict(X_test)
 with open('submission-GGGaussian.csv', 'w')as f:
f.write("id,type
")
 y_test_it = 0
for row in test.iterrows() :
f.write("{},{}
".format(row[0],y_pred[y_test_it]))
y_test_it += 1