Deep Learning in Java banner

Deep Learning in Java

4 devlogs
13h 40m 20s

Deep Learning implementations from scratch — Java-first, with a focus on fundamentals, math, and experiments

Repository

Loading README...

Saptarshi Sarkar

Devlog: Changes made

  • Implemented a Matrix operations java class which utilises SIMD for optimised calculations
  • Added a JUnit 6 test which checks correctness and measures performance properly.
  • Added GitHub Actions test workflow summary
Attachment
Attachment
Attachment
Attachment
0
Saptarshi Sarkar
  • Added GitHub Actions workflow for automated testing
  • Added dependabot configuration for automatic dependency updates
Attachment
0
Saptarshi Sarkar

Finally, I have implemented a single layer perceptron with:

  • A learning rule for parameters (weights which includes bias) -> Perceptron Learning Algorithm
  • A step function as the activation function

I have also added JUnit test for testing the Perceptron for AND, OR, XOR (where it is expected to fail) and a random linearly separable dataset. The test also checks for input and output size mismatches.

Attachment
0
Saptarshi Sarkar
  • I have created the repository structure suitable for future implementations of anything I learn in Deep Learning
  • Created two classes for performing basic Vector and Matrices operations like addition, scaling up/down, dot product of vectors, multiplication of matrices and implemented methods to reduce a matrix to Echelon Form and Row-Reduced Echelon Form (RREF)
  • I have also implemented McCulloch-Pitts (MP) neuron from scratch.
  • Added JUnit 6 test for testing the MP neuron implementation
Attachment
Attachment
0