summaryrefslogtreecommitdiff
path: root/train.py
diff options
context:
space:
mode:
Diffstat (limited to 'train.py')
-rw-r--r--train.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/train.py b/train.py
new file mode 100644
index 0000000..1588751
--- /dev/null
+++ b/train.py
@@ -0,0 +1,11 @@
+import ensemble-train
+import cross-train
+
+clist=[0.0001, 0.005, 0.01, 0.05, 0.1, 0.5, 1, 10, 100, 1000]
+inr="a.rid"
+tot=316
+folds=4
+
+for i in range(10):
+ print("iter %d:" %i)
+ ensemble-train(inr,"%d.m"%i,316,clist,folds,"%d.m"%(i+1))