Meaning/definition of « steps » in Tensorboard #840
-
|
Hello! Thank you for the integration of the tensorboard logger. However, on most graphs in Tensorboard I find it difficult to understand the X-axis, which is named « steps », and does not seem to be defined in the PySR documentation. Intuitively, I would have imagined that this number of steps would match « niterations » or « niterations * ncycles_per_iteration », but it does not seem to the case. Hence my question, what is the intuitive definition/meaning of these « steps » ? Or more concretely, in the Julia code how often/when are logged the loss of the different complexities ? Thanks in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Here is where the logger callback sits: https://github.com/MilesCranmer/SymbolicRegression.jl/blob/725876517e5ce2a50b5085532532e9238b3bf217/src/SymbolicRegression.jl#L993. So the total number of logger "steps" is equal to Indeed it might be nicer to store it in terms of fractional niterations or something, but I'm not sure how to do that in tensorboard. Let me know if you know of a way. |
Beta Was this translation helpful? Give feedback.
Here is where the logger callback sits: https://github.com/MilesCranmer/SymbolicRegression.jl/blob/725876517e5ce2a50b5085532532e9238b3bf217/src/SymbolicRegression.jl#L993. So the total number of logger "steps" is equal to
niterations * populations * num_outputs, wherenum_outputsis the number of target features (i.e.,y.shape[1], if it is a 2D array). Otherwisenum_outputs=1.Indeed it might be nicer to store it in terms of fractional niterations or something, but I'm not sure how to do that in tensorboard. Let me know if you know of a way.