summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README22
-rw-r--r--misc.py2
2 files changed, 23 insertions, 1 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..a92c145
--- /dev/null
+++ b/README
@@ -0,0 +1,22 @@
+Cross-validation & ensemble
+===========================
+
+Requirements:
+Python3
+
+How to use:
+copy ranksvm & split to target dir
+./train.py -> training with cross-validation or ensemble(line 15)
+./genCMC.py -> reference of how to generate a graph(in construction)
+
+to enable mask, add -M <filename> to the end of params in train()<misc.py>
+
+Structure:
+./train.py -> training control
+./cross.py -> PRSVM+ & cross-validation(onefold)
+./ensemble.py -> ensemble RankSVM(onefold)
+./misc.py -> various helpers
+
+Next:
+Terminating condition
+training -> genCMC
diff --git a/misc.py b/misc.py
index b546ad3..cc88ef5 100644
--- a/misc.py
+++ b/misc.py
@@ -6,7 +6,7 @@ def split(params):
call(["./split"]+params.split(" "),stdout=devnull)
def train(params):
- params+=" --iter 1 --cg_prec 1e-4 --ls_prec 1e-10 --prec 1e-4 -M msk"
+ params+=" --iter 1 --cg_prec 1e-4 --ls_prec 1e-10 --prec 1e-4"
bare(params)
def bare(params):