From 490e1a6b3632efc3614f118c0f845da5e9888b23 Mon Sep 17 00:00:00 2001 From: marc <78002988+novak-99@users.noreply.github.com> Date: Thu, 27 May 2021 20:25:37 -0700 Subject: [PATCH 01/11] Update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 79c2a26..f7222f5 100644 --- a/README.md +++ b/README.md @@ -75,3 +75,19 @@ Machine learning is a vast and exiciting discipline, garnering attention from sp - Horizontal/Vertical Sobel Filter - Horizontal/Vertical Scharr Filter - Horizontal/Vertical Roberts Filter +6. ***Principal Component Analysis*** +7. ***Naive Bayes Classifiers*** + 1. Multinomial Naive Bayes + 2. Bernoulli Naive Bayes + 3. Gaussian Naive Bayes +8. ***KMeans*** +9. ***k-Nearest Neighbors*** +10. ***Outlier Finder (Using z-scores)*** +11. ***Linear Algebra Module*** +12. ***Statistics Module*** +13. ***Data Processing Module*** + 1. Setting and Printing Datasets + 2. Feature Scaling + 3. Mean Normalization + 4. One Hot Representation + 5. Reverse One Hot Representation From de1b99e59fbd84f4e24f6550715c6f225b370483 Mon Sep 17 00:00:00 2001 From: marc <78002988+novak-99@users.noreply.github.com> Date: Thu, 27 May 2021 20:32:49 -0700 Subject: [PATCH 02/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f7222f5..0c276ea 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ Machine learning is a vast and exiciting discipline, garnering attention from sp 1. Multinomial Naive Bayes 2. Bernoulli Naive Bayes 3. Gaussian Naive Bayes -8. ***KMeans*** +8. ***K-Means*** 9. ***k-Nearest Neighbors*** 10. ***Outlier Finder (Using z-scores)*** 11. ***Linear Algebra Module*** From 5b49e3fe5119c41179bbb4dfff45a33bcb23bd64 Mon Sep 17 00:00:00 2001 From: marc <78002988+novak-99@users.noreply.github.com> Date: Thu, 27 May 2021 20:35:24 -0700 Subject: [PATCH 03/11] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0c276ea..4966c1f 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ Machine learning is a vast and exiciting discipline, garnering attention from sp 4. Exponential Regression 5. Probit Regression 6. CLogLog Regression + 7. Tanh Regression 2. ***Deep, Dynamically Sized Neural Networks*** 1. Possible Activation Functions - Linear From 4e45af4cf0ac770770ad63afef9bec059a057c92 Mon Sep 17 00:00:00 2001 From: marc <78002988+novak-99@users.noreply.github.com> Date: Thu, 27 May 2021 22:47:08 -0700 Subject: [PATCH 04/11] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 4966c1f..f4c911b 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,13 @@ Machine learning is a vast and exiciting discipline, garnering attention from sp width = 600 height = 400>

+## Usage +Begin by including the respective header file of your choice. +```cpp +#include "MLPP/LinReg/LinReg.hpp" +``` + + ## Contents of the Library 1. ***Regression*** 1. Linear Regression From f4ec440132e0aebfd46216a719418883aff5130e Mon Sep 17 00:00:00 2001 From: marc <78002988+novak-99@users.noreply.github.com> Date: Thu, 27 May 2021 22:55:41 -0700 Subject: [PATCH 05/11] Update README.md --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index f4c911b..ba9e0ca 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,29 @@ Machine learning is a vast and exiciting discipline, garnering attention from sp

## Usage +Please note that ML++ uses the ```std::vector``` data type for emulating vectors, and the ```std::vector>``` data type for emulating matricies. Begin by including the respective header file of your choice. ```cpp #include "MLPP/LinReg/LinReg.hpp" ``` +Next, instantiate an object of the class. Don't forget to pass the input set, output set as parameters. +```cpp +LinReg model(inputSet, outputSet); +``` +Next, call the optimizer that you would like to use. For iterative optimizers such as gradient descent, include the learning rate, epoch number, and whether or not to utilize the UI pannel. +```cpp +model.gradientDescent(0.001, 1000, 0); +``` +Great, you are now ready to test! To test a singular testing instance, utilize the following function: +```cpp +model.modelTest(testSetInstance); +``` +This will return the model's singular prediction for that example. +To test an entire dataset of instances, use the following function: +```cpp +model.modelSetTest(testSet); +``` +The result will be the model's predictions for the entire dataset. ## Contents of the Library From bb60eacefab428142f05f501d5ae0b5d820b1350 Mon Sep 17 00:00:00 2001 From: marc <78002988+novak-99@users.noreply.github.com> Date: Thu, 27 May 2021 22:56:14 -0700 Subject: [PATCH 06/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ba9e0ca..82b4c89 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Machine learning is a vast and exiciting discipline, garnering attention from sp ## Usage Please note that ML++ uses the ```std::vector``` data type for emulating vectors, and the ```std::vector>``` data type for emulating matricies. -Begin by including the respective header file of your choice. +

Begin by including the respective header file of your choice.

```cpp #include "MLPP/LinReg/LinReg.hpp" ``` From 8e9ec6e7ce76a2e211f1a19775ba962062382af3 Mon Sep 17 00:00:00 2001 From: marc <78002988+novak-99@users.noreply.github.com> Date: Thu, 27 May 2021 22:56:53 -0700 Subject: [PATCH 07/11] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 82b4c89..7504857 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,8 @@ Machine learning is a vast and exiciting discipline, garnering attention from sp ## Usage Please note that ML++ uses the ```std::vector``` data type for emulating vectors, and the ```std::vector>``` data type for emulating matricies. -

Begin by including the respective header file of your choice.

+

+Begin by including the respective header file of your choice. ```cpp #include "MLPP/LinReg/LinReg.hpp" ``` From 5da4439e94e64df1664741a20a2767378288cfd1 Mon Sep 17 00:00:00 2001 From: marc <78002988+novak-99@users.noreply.github.com> Date: Thu, 27 May 2021 22:57:13 -0700 Subject: [PATCH 08/11] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7504857..ffaa148 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,8 @@ Machine learning is a vast and exiciting discipline, garnering attention from sp

## Usage -Please note that ML++ uses the ```std::vector``` data type for emulating vectors, and the ```std::vector>``` data type for emulating matricies. -

+

Please note that ML++ uses the ```std::vector``` data type for emulating vectors, and the ```std::vector>``` data type for emulating matricies.

+ Begin by including the respective header file of your choice. ```cpp #include "MLPP/LinReg/LinReg.hpp" From 1abff6c00dbcfff5896450b296c73f4febde196c Mon Sep 17 00:00:00 2001 From: marc <78002988+novak-99@users.noreply.github.com> Date: Thu, 27 May 2021 22:58:28 -0700 Subject: [PATCH 09/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ffaa148..6edc170 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Machine learning is a vast and exiciting discipline, garnering attention from sp

## Usage -

Please note that ML++ uses the ```std::vector``` data type for emulating vectors, and the ```std::vector>``` data type for emulating matricies.

+Please note that ML++ uses the ```std::vector``` data type for emulating vectors, and the ```std::vector>``` data type for emulating matricies. Begin by including the respective header file of your choice. ```cpp From 7e13602e4b1001f68ebde296a0dd1bedcf20f679 Mon Sep 17 00:00:00 2001 From: marc <78002988+novak-99@users.noreply.github.com> Date: Thu, 27 May 2021 22:59:13 -0700 Subject: [PATCH 10/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6edc170..3cb0f2f 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Begin by including the respective header file of your choice. ```cpp #include "MLPP/LinReg/LinReg.hpp" ``` -Next, instantiate an object of the class. Don't forget to pass the input set, output set as parameters. +Next, instantiate an object of the class. Don't forget to pass the input set and output set as parameters. ```cpp LinReg model(inputSet, outputSet); ``` From 3fb5edd2ebb20c56b802869882f4c7e324c767c0 Mon Sep 17 00:00:00 2001 From: marc <78002988+novak-99@users.noreply.github.com> Date: Thu, 27 May 2021 22:59:39 -0700 Subject: [PATCH 11/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3cb0f2f..491443b 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Next, instantiate an object of the class. Don't forget to pass the input set and ```cpp LinReg model(inputSet, outputSet); ``` -Next, call the optimizer that you would like to use. For iterative optimizers such as gradient descent, include the learning rate, epoch number, and whether or not to utilize the UI pannel. +Now call the optimizer that you would like to use. For iterative optimizers such as gradient descent, include the learning rate, epoch number, and whether or not to utilize the UI pannel. ```cpp model.gradientDescent(0.001, 1000, 0); ```