Skip to content
This repository was archived by the owner on Oct 30, 2018. It is now read-only.

Commit 6b04613

Browse files
committed
VOwpall with loc5 in mean submission
1 parent 88f9c3c commit 6b04613

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

submission_extra_vowpall_mean.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ def log_mean_absolute_error(y_true, y_pred):
6868
model3 = "Random_forest_min_sample2_20trees_200f_noNorm_categoryTimeType_log"
6969
model4 = "ExtraTree_min_sample2_40trees_200f_noNorm_categoryTimeType_log"
7070
model5 = "Random_forest_min_sample2_40trees_200f_noNorm_categoryTimeType_log"
71+
model6 = "vowpall_loc5"
7172
#model_names = [model2, model4]
72-
model_names = [model1, model2, model4, model5]
73+
model_names = [model1, model6, model4]
7374

7475

7576
#fit_predict(model2)
@@ -99,7 +100,7 @@ def log_mean_absolute_error(y_true, y_pred):
99100
#result = classifier.predict(validation_features)
100101
result = predictions.mean(axis=1)
101102
model_name = "-".join(model_names)
102-
model_name = "vowpal-extra20_40-random40-mean"
103+
model_name = "vowpal_loc5-extra20_40-mean"
103104
joblib.dump(result, path_join(prediction_dir, model_name + "_prediction"))
104105

105-
write_submission("vowpal-extra20_40-random40-mean.csv", path_join(prediction_dir, model_name + "_prediction"), unlog=False)
106+
write_submission("vowpal_loc5-extra20_40-mean.csv", path_join(prediction_dir, model_name + "_prediction"), unlog=False)

0 commit comments

Comments
 (0)