Skip to content

Comments

**Enhance Neural Network: Add hidden layer & update paramete#30

Open
basvandesande wants to merge 3 commits intomainfrom
demo/techorama
Open

**Enhance Neural Network: Add hidden layer & update paramete#30
basvandesande wants to merge 3 commits intomainfrom
demo/techorama

Conversation

@basvandesande
Copy link
Owner

Pull Request: Add Second Hidden Layer and Update Neural Network Parameters

Base branch: main
Head branch: demo/techorama

Summary of Changes:

This pull request introduces enhancements to the neural network implementation, including the addition of a second hidden layer and updates to initialization and training parameters. The changes aim to improve the flexibility and performance of the neural network.

Key Updates:

  1. Neural Network Architecture:

    • Added a second hidden layer (HiddenNodes2) to the neural network.
    • Introduced new weight matrices:
      • _weightHiddenToHidden2 for connections between the first and second hidden layers.
      • _weightHidden2ToOutput for connections between the second hidden layer and the output layer.
  2. Parameter Updates:

    • Adjusted the initialization parameters to include the second hidden layer.
    • Updated the learning rate to improve training efficiency.
  3. Training Configuration:

    • Increased the training set size to 5000 records.
    • Raised the maximum number of epochs to 15 for better model convergence.

Files Modified:

  • NeuralNetwork/NeuralNetwork.cs:
    • Added properties and methods to support the second hidden layer.
    • Updated the constructor to initialize new weight matrices.

Purpose:

These changes enhance the neural network's capability to model complex relationships by introducing an additional hidden layer and optimizing training parameters.

Please review the changes and provide feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant