kim-marcel / basic_neural_network

A very basic Java Neural Network Library.
MIT License
39 stars 14 forks source link

Added getActivations method #9

Open will-conrad opened 2 years ago

will-conrad commented 2 years ago

Added getActivations method to NeuralNetwork class that returns each neuron in the form of a 2D array of doubles. Neuron values are stored as SimpleMatrix objects in an ArrayList inside the guess() method and returned in a separate method that converts the ArrayList of SimpleMatrix objects to the 2D array.