-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Title: Build Unit Test Cases for the MLP Class
Description:
Create a comprehensive set of unit test cases to validate the functionality of the MLP class. The tests should cover different architectures, scenarios, and data types to ensure robustness and correctness.
Tasks:
-
Test Different Architectures:
- Single-layer vs. multi-layer architectures
- Different numbers of neurons per layer
- Different activation functions (ReLU, Sigmoid, Tanh)
-
Test Different Scenarios:
- Small vs. large datasets
- Edge cases (e.g., very small/large inputs, all zeros, negative values)
- Handling of batch sizes (e.g., batch size of 1, batch size larger than dataset)
-
Test with Different Data Types:
- Integer, float, and mixed-type inputs
- Normalized vs. non-normalized data
-
Validate Expected Behavior:
- Ensure forward propagation outputs match expected values
- Check loss reduction over epochs in training
- Validate gradients in backpropagation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request