Continuation of my ML Implementations in C++ repository, switched over to C# due to poor memory management in C++ when dealing with double pointers.
- Microsoft .NET SDK 7.0
- Microsoft Visual Studio 2022
git clone https://github.com/DarshK35/ml-implementation-cs
Select File > Open > Project/Solution
in VS menu, then navigate to ml-implementation-cs.sln
file cloned with the repo.
The code can be run using either of the following methods:
Debug > Start without Debugging
in VS MenuCtrl + F5
shortcut key
Debugging can be left disabled for running this project, unless contributing to the code.
- Matrix Class
- Overloaded arithmetic functions
- Array-like indexing
- Linear Regression Class
- Statistics-based Fitting function
- Support for multiple independent variables
- Neural Network Class
- Prediction Function
- Actually Working Backpropogation Algorithm
- Training algorithm
- Multiple Loss function support (optional)
- Multiple Activation Function support for Neural Network (optional)
- Linear SVM Classifier Class
- Multiple kernel function support
- Add functions for Model parameter reviewing
- Menu-based Driver Code
- GPU Support (Maybe)
- Matrix class currently supports only matrix multiplication, Dot product is not supported yet
- Neural Network class is only useful for classification tasks, Regression tasks will be handled by separate activation function
- SVC class expects single output variable
- Kernel functions yet to be implemented