Bladeren bron

added ToDo

Sebastian Vendt 6 jaren geleden
bovenliggende
commit
6e80dfddc0
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 2 0
      julia/net.jl

+ 2 - 0
julia/net.jl

@@ -111,6 +111,8 @@ function adapt_learnrate(epoch_idx)
     return learning_rate * decay_rate^(epoch_idx / decay_step)
 end
 
+# TODO different idea for the accuracy: draw circle around ground truth and if prediction lays within the circle count this as a hit 
+
 function accuracy(model, x, y)
 	y_hat = Tracker.data(model(x))
 	return mean(mapslices(button_number, y_hat, dims=1) .== mapslices(button_number, y, dims=1))