MilesCranmer commited on
Commit
c862e70
1 Parent(s): fff3383

Print MSE without parsimony included

Browse files
Files changed (1) hide show
  1. paralleleureqa.jl +2 -2
paralleleureqa.jl CHANGED
@@ -51,14 +51,14 @@ function fullRun(niterations::Integer;
51
  dominating = PopMember[]
52
  debug(verbosity, "Hall of Fame:")
53
  debug(verbosity, "-----------------------------------------")
54
- debug(verbosity, "Complexity \t Score \t Equation")
55
  for size=1:maxsize
56
  if hallOfFame.exists[size]
57
  member = hallOfFame.members[size]
58
  numberSmallerAndBetter = sum([member.score > hallOfFame.members[i].score for i=1:(size-1)])
59
  betterThanAllSmaller = (numberSmallerAndBetter == 0)
60
  if betterThanAllSmaller
61
- debug(verbosity, "$size \t $(member.score) \t $(stringTree(member.tree))")
62
  push!(dominating, member)
63
  end
64
  end
 
51
  dominating = PopMember[]
52
  debug(verbosity, "Hall of Fame:")
53
  debug(verbosity, "-----------------------------------------")
54
+ debug(verbosity, "Complexity \t MSE \t Equation")
55
  for size=1:maxsize
56
  if hallOfFame.exists[size]
57
  member = hallOfFame.members[size]
58
  numberSmallerAndBetter = sum([member.score > hallOfFame.members[i].score for i=1:(size-1)])
59
  betterThanAllSmaller = (numberSmallerAndBetter == 0)
60
  if betterThanAllSmaller
61
+ debug(verbosity, "$size \t $(member.score-parsimony*size) \t $(stringTree(member.tree))")
62
  push!(dominating, member)
63
  end
64
  end