Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
13409d1
1
Parent(s):
4a71ced
Set initial score to 0 instead of nan
Browse files- julia/sr.jl +1 -1
julia/sr.jl
CHANGED
@@ -856,7 +856,7 @@ function fullRun(niterations::Integer;
|
|
856 |
@printf("-----------------------------------------\n")
|
857 |
@printf("%-10s %-8s %-8s %-8s\n", "Complexity", "MSE", "Score", "Equation")
|
858 |
curMSE = baselineSSE / len
|
859 |
-
@printf("%-10d %-8.3e %-
|
860 |
lastMSE = curMSE
|
861 |
lastComplexity = 0
|
862 |
|
|
|
856 |
@printf("-----------------------------------------\n")
|
857 |
@printf("%-10s %-8s %-8s %-8s\n", "Complexity", "MSE", "Score", "Equation")
|
858 |
curMSE = baselineSSE / len
|
859 |
+
@printf("%-10d %-8.3e %-8.3e %-.f\n", 0, curMSE, 0f0, avgy)
|
860 |
lastMSE = curMSE
|
861 |
lastComplexity = 0
|
862 |
|