lib/fasttext/vectorizer.rb in fasttext-0.1.2 vs lib/fasttext/vectorizer.rb in fasttext-0.1.3
- old
+ new
@@ -18,10 +18,15 @@
thread: 3,
t: 0.0001,
verbose: 2,
pretrained_vectors: "",
save_output: false,
- # seed: 0
+ seed: 0,
+ autotune_validation_file: "",
+ autotune_metric: "f1",
+ autotune_predictions: 1,
+ autotune_duration: 60 * 5,
+ autotune_model_size: ""
}
def fit(x)
input = input_path(x)
@m ||= Ext::Model.new