Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dear Playground Maintainers,
I would like to propose adding the sine activation to the playground.
This addition has significantly helped me develop an intuition behind the recently published "SIREN" paper (Implicit Neural Representations with Periodic Activation Functions by Vincent Sitzmann, Julien N. P. Martel, et al.), despite my lack of formal training in signal processing and related fields. For example, playing with this feature makes it apparent how NNs using the sine activation can use fewer neurons to represent transformations from coordinates to pixels (compared to the other activation functions in the playground). It helps to be able to visualize the relationships between the frequency of the signals in relation to the weights, biases, and learning rate. I also now have a better understanding how several failure modes develop.
I can appreciate not wanting to overwhelm users with too many choices of activation function. I think an exception should be made in this case since the behavior of the sine activation is sufficiently different from the others and is increasingly relevant in neural representation research. But don't take my word for it, try it out for yourself in this fork!
I hope you will consider adding this feature!
All the best,
David