Skip to content
Browse files

Merge branch 'master' of github.com:gzvulon/IAI3-LM

  • Loading branch information...
2 parents bf38846 + dd14c1f commit 85fa4f75b792e4db56a1f8455a2348f0e03b4a9d Guy Hizkiau committed Jun 25, 2011
Showing with 16 additions and 2 deletions.
  1. +16 −2 src/s_bench_vs_our.py
View
18 src/s_bench_vs_our.py
@@ -10,16 +10,30 @@
import s_learning_curve_sttemming
import s_learning_curve_both_back_stemming
import s_bech_vs
+import s_learning_curve_common_verbs
+import scp
N=10
simpleClass = s_learning_curve_simple. MakeAgentLimitedClass(N)
blackClass = s_learning_curve_black_list.MakeAgentClass(N)
steemClass = s_learning_curve_sttemming.MakeAgentClass(N)
bothClass = s_learning_curve_both_back_stemming.MakeAgentClass(N)
+ourClass = s_learning_curve_common_verbs.MakeAgentClass(N)
agentClassPairs = [
- (bothClass, blackClass)
+ (ourClass,bothClass)
+ (ourClass,simpleClass)
]
-s_bech_vs.main(agentClassPairs)
+
+params = {
+ scp.X_POINTS : 20, #not relevat
+ scp.STEP : 5, #not relevat
+ scp.NUM_FOLDS : 10,
+ scp.CLASSIFY_TIME : 2,
+ scp.LEARN_TIME : 60*2,
+ scp.SEED : 1
+}
+
+s_bech_vs.main(agentClassPairs,params)

0 comments on commit 85fa4f7

Please sign in to comment.
Something went wrong with that request. Please try again.