This app shows how neural networks determine prime numbers. Input values are coordinate values on Ulam spiral. If you click "gradient descent", 1000 iterations will be performed. As cost function goes to zero, prime numbers are going to be red and others to be black.
Show More