Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/19/19 18:04:42 (5 years ago)
Author:
hmaislin
Message:

#2929: Added updated go and plugin files

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

    r16231 r16615  
    1212
    1313  GP := PS.cnfg.treecfg
    14   fmt.Printf("%v\n", GP)
    1514
    1615  eList := make([]expr.Expr, 0)
     
    3231  // exprs.SetSort(PS.cnfg.sortType)
    3332  exprs.SetSort(probs.PESORT_PARETO_TST_ERR)
    34 
     33 
    3534  for i, e := range eList {
    3635    fmt.Printf("%d:  %v\n", i, e)
     36   
    3737    serial := make([]int, 0, 64)
    3838    serial = e.Serial(serial)
    3939    PS.Trie.InsertSerial(serial)
    4040    // on train data
    41     re := RegressExpr(e, PS.prob)
     41
     42    //fmt.Printf("RegressExpr:  e: %v  || PS.prob: %v\n", e, PS.prob)
     43    re := RegressExpr(e, PS.prob)  //DER DO
     44    //fmt.Printf("RegressExpr:  e: %v  || PS.prob: %v || %v \n", e, PS.prob, re)
     45   
    4246    re.SetUnitID(i)
    4347    exprs.Push(re)
    4448  }
     49
    4550  exprs.Sort()
    4651  return exprs
Note: See TracChangeset for help on using the changeset viewer.