Changeset 16231 for branches/2929_PrioritizedGrammarEnumeration/HeuristicLab.Algorithms.DataAnalysis.PGE/3.3/go-code/go-pge/plug/pge_init_method_1.go
- Timestamp:
- 10/17/18 04:47:09 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2929_PrioritizedGrammarEnumeration/HeuristicLab.Algorithms.DataAnalysis.PGE/3.3/go-code/go-pge/plug/pge_init_method_1.go
r16191 r16231 12 12 13 13 GP := PS.cnfg.treecfg 14 fmt.Printf("%v\n", GP) 14 15 15 16 eList := make([]expr.Expr, 0) … … 31 32 // exprs.SetSort(PS.cnfg.sortType) 32 33 exprs.SetSort(probs.PESORT_PARETO_TST_ERR) 33 34 34 35 for i, e := range eList { 35 36 fmt.Printf("%d: %v\n", i, e) 36 37 serial := make([]int, 0, 64) 37 38 serial = e.Serial(serial) 38 39 PS.Trie.InsertSerial(serial) 39 40 // on train data 40 41 //fmt.Printf("RegressExpr: e: %v || PS.prob: %v\n", e, PS.prob) 42 re := RegressExpr(e, PS.prob) //DER DO 43 //fmt.Printf("RegressExpr: e: %v || PS.prob: %v || %v \n", e, PS.prob, re) 44 41 re := RegressExpr(e, PS.prob) 45 42 re.SetUnitID(i) 46 43 exprs.Push(re) 47 44 } 48 49 45 exprs.Sort() 50 46 return exprs
Note: See TracChangeset
for help on using the changeset viewer.