Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/17/18 04:47:09 (6 years ago)
Author:
hmaislin
Message:

#2929: Fixed result error

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  
    1212
    1313  GP := PS.cnfg.treecfg
     14  fmt.Printf("%v\n", GP)
    1415
    1516  eList := make([]expr.Expr, 0)
     
    3132  // exprs.SetSort(PS.cnfg.sortType)
    3233  exprs.SetSort(probs.PESORT_PARETO_TST_ERR)
    33  
     34
    3435  for i, e := range eList {
    35  
     36    fmt.Printf("%d:  %v\n", i, e)
    3637    serial := make([]int, 0, 64)
    3738    serial = e.Serial(serial)
    3839    PS.Trie.InsertSerial(serial)
    3940    // 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)
    4542    re.SetUnitID(i)
    4643    exprs.Push(re)
    4744  }
    48 
    4945  exprs.Sort()
    5046  return exprs
Note: See TracChangeset for help on using the changeset viewer.