This repository was archived by the owner on Sep 22, 2025. It is now read-only.
Repository navigation
Releases
Releases · golivehost/php-brain
v1.0.0
GoLiveHost Brain v1.0.0
[v1.0.0] - 2025-05-28
Added
- New optimization algorithms:
- Added standalone
Adamoptimizer class insrc/Optimizers/Adam.php - Added
RMSpropoptimizer insrc/Optimizers/RMSprop.php - Added
AdaGradoptimizer insrc/Optimizers/AdaGrad.php - Added base
Optimizerinterface insrc/Optimizers/Optimizer.php
- Added standalone
- Batch normalization layer in
src/Layers/BatchNormalization.php - Model checkpointing utility in
src/Utilities/ModelCheckpoint.php - Cross-validation utilities in
src/Utilities/CrossValidation.php:- K-fold cross-validation
- Stratified k-fold cross-validation
- Leave-one-out cross-validation
- Train-test split
- Model validation utility in
src/Utilities/ModelValidator.php - Additional evaluation metrics:
- R-squared (coefficient of determination)
- Precision, recall, and F1 score for classification tasks
- Unit tests for model validation in
tests/ModelValidatorTest.php
Changed
- Optimized memory usage in LSTM's Adam optimizer initialization
- Improved matrix operations for better performance
- Enhanced batch processing efficiency
- Added proper type declarations to methods
- Improved error handling with more specific exceptions
- Refactored long methods for better readability and maintainability
Fixed
- Fixed potential memory exhaustion with large datasets
- Added input validation in critical methods
- Fixed inconsistent error handling across classes
What's Changed
- v1.0.0 by @shubhdeepdev in #3
Full Changelog: v0.0.3...v1.0.0
v0.0.3
Fixed
- Corrected PHP file header formatting and metadata in the GRU implementation file.
- Developer: Go Live Web Solutions (golive.host)
- Author: Shubhdeep Singh (GitHub.com/shubhdeepdev)
Removed
- Deleted outdated or unused pre-trained model
.jsonfiles from theexamplesdirectory to reduce clutter and avoid confusion.
This is a minor maintenance release focused on cleanup and metadata corrections.
Full Changelog: v0.0.2...v0.0.3
v0.0.2
v0.0.2 – Memory Limit Handling Fix
- Removed hardcoded
ini_set('memory_limit', '256M')call inLSTM.phpwhich was causing warnings when memory usage was already high. - Recommended to configure memory limits via PHP settings or hosting environment.
This update ensures more stable and flexible memory handling across different environments.
GoLiveHost Brain v0.0.1
Release Notes
This is the initial release of GoLiveHost Brain, a PHP neural network library.
Features Included
- Neural network implementations:
- Feedforward Neural Network
- Recurrent Neural Network (RNN)
- Long Short-Term Memory (LSTM)
- Gated Recurrent Unit (GRU)
- Liquid State Machine (LSM)
- Optimization algorithms: SGD and Adam
- Multiple activation functions
- Data preprocessing utilities
- Model serialization and export
- Matrix and tensor operation utilities
Known Limitations
- Performance may be limited for very large datasets
- Some advanced features are still in development
- Limited test coverage for edge cases
Next Steps
- Performance optimizations
- Additional network architectures
- Expanded documentation and examples
Developed by: Go Live Web Solutions (golive.host)
Author: Shubhdeep Singh (GitHub.com/shubhdeepdev)