Sentdex / NNfSiX

Neural Networks from Scratch in various programming languages
https://nnfs.io
MIT License
1.44k stars 375 forks source link

Building neural nets in pascal #202

Open mahdi-eth opened 1 year ago

mahdi-eth commented 1 year ago

Description This pull request introduces the implementation of a basic neuron with 3 inputs in Pascal. The code demonstrates the calculation of the neuron's output by multiplying the inputs with their respective weights, summing the results, and adding the bias term. This simple implementation serves as a foundation for further developments in neural network modeling.

Future Work In addition to this contribution, I have plans to continue working on coding the Pascal versions of other neural network examples from the YouTube series. By doing so, I aim to contribute further to the project and expand its functionality in Pascal.

I appreciate the opportunity to contribute to this project and look forward to further collaborations and enhancements.

Best regards, Mahdi Ettehadnejad

mahdi-eth commented 1 year ago

p002 in pascal is ready

mahdi-eth commented 1 year ago

p003 in pascal is ready

mahdi-eth commented 1 year ago

p004 in pascal is ready. Please note that Pascal doesn't have a built-in equivalent for NumPy, so the random initialization of weights in the TLayerDense constructor is done differently using the Random function.