commit | 358a29672c88d2b7d5cc6a08b3ad08183ec41eae | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Mon Feb 22 07:55:49 2021 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Mon Feb 22 08:33:40 2021 +0100 |
tree | 36b99dd8529051b707bf95757b5c14a674bd9224 | |
parent | 13f67ed2bd9b92229a0cf2690add7072cc5607eb [diff] |
Set randon seeed on start to make results reproducible Change-Id: Iea19c20a3bf082b164441b8f5f2cf75d5a842764
diff --git a/R/idiomclassification_mk_pf.R b/R/idiomclassification_mk_pf.R index 473a577..47d4ef9 100644 --- a/R/idiomclassification_mk_pf.R +++ b/R/idiomclassification_mk_pf.R
@@ -6,6 +6,8 @@ # library(randomForestExplainer) # may need to: options(expressions = 5e5) to avoid stackoverflow for installing package +set.seed(42) + # Test ngramfile<-"gold03_anno_ml_synfeat_nstopw"