diff --git a/mlpp/activation/activation.h b/mlpp/activation/activation.h index 9319da7..68578b0 100644 --- a/mlpp/activation/activation.h +++ b/mlpp/activation/activation.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_ACTIVATION_H +#define MLPP_ACTIVATION_H + // // Activation.hpp // // Created by Marc Melikyan on 1/16/21. // -#ifndef MLPP_ACTIVATION_H -#define MLPP_ACTIVATION_H - #include namespace MLPP{ diff --git a/mlpp/ann/ann.h b/mlpp/ann/ann.h index c080c9a..4e8187e 100644 --- a/mlpp/ann/ann.h +++ b/mlpp/ann/ann.h @@ -1,12 +1,12 @@ +#ifndef MLPP_ANN_H +#define MLPP_ANN_H + // // ANN.hpp // // Created by Marc Melikyan on 11/4/20. // -#ifndef MLPP_ANN_H -#define MLPP_ANN_H - #include "hidden_layer/hidden_layer.h" #include "output_layer/output_layer.h" diff --git a/mlpp/auto_encoder/auto_encoder.h b/mlpp/auto_encoder/auto_encoder.h index f4d80ab..d33641e 100644 --- a/mlpp/auto_encoder/auto_encoder.h +++ b/mlpp/auto_encoder/auto_encoder.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_AUTO_ENCODER_H +#define MLPP_AUTO_ENCODER_H + // // AutoEncoder.hpp // // Created by Marc Melikyan on 11/4/20. // -#ifndef MLPP_AUTO_ENCODER_H -#define MLPP_AUTO_ENCODER_H - #include #include #include diff --git a/mlpp/bernoulli_nb/bernoulli_nb.h b/mlpp/bernoulli_nb/bernoulli_nb.h index 9d05a3f..bd27330 100644 --- a/mlpp/bernoulli_nb/bernoulli_nb.h +++ b/mlpp/bernoulli_nb/bernoulli_nb.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_BERNOULLI_NB_H +#define MLPP_BERNOULLI_NB_H + // // BernoulliNB.hpp // // Created by Marc Melikyan on 1/17/21. // -#ifndef MLPP_BERNOULLI_NB_H -#define MLPP_BERNOULLI_NB_H - #include #include diff --git a/mlpp/c_log_log_reg/c_log_log_reg.h b/mlpp/c_log_log_reg/c_log_log_reg.h index 09da08a..f8db6c8 100644 --- a/mlpp/c_log_log_reg/c_log_log_reg.h +++ b/mlpp/c_log_log_reg/c_log_log_reg.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_C_LOG_LOG_REG_H +#define MLPP_C_LOG_LOG_REG_H + // // CLogLogReg.hpp // // Created by Marc Melikyan on 10/2/20. // -#ifndef MLPP_C_LOG_LOG_REG_H -#define MLPP_C_LOG_LOG_REG_H - #include #include diff --git a/mlpp/cost/cost.h b/mlpp/cost/cost.h index a802ef4..41198e9 100644 --- a/mlpp/cost/cost.h +++ b/mlpp/cost/cost.h @@ -1,11 +1,13 @@ + +#ifndef MLPP_COST_H +#define MLPP_COST_H + // // Cost.hpp // // Created by Marc Melikyan on 1/16/21. // -#ifndef MLPP_COST_H -#define MLPP_COST_H #include diff --git a/mlpp/data/data.h b/mlpp/data/data.h index 43df0d3..2f3d59d 100644 --- a/mlpp/data/data.h +++ b/mlpp/data/data.h @@ -1,3 +1,7 @@ + +#ifndef MLPP_DATA_H +#define MLPP_DATA_H + // // Data.hpp // MLP @@ -5,8 +9,6 @@ // Created by Marc Melikyan on 11/4/20. // -#ifndef MLPP_DATA_H -#define MLPP_DATA_H #include #include diff --git a/mlpp/dual_svc/dual_svc.h b/mlpp/dual_svc/dual_svc.h index 666996f..5b7c2d5 100644 --- a/mlpp/dual_svc/dual_svc.h +++ b/mlpp/dual_svc/dual_svc.h @@ -1,3 +1,7 @@ + +#ifndef MLPP_DUAL_SVC_H +#define MLPP_DUAL_SVC_H + // // DualSVC.hpp // @@ -7,9 +11,6 @@ // http://ciml.info/dl/v0_99/ciml-v0_99-ch11.pdf // Were excellent for the practical intution behind the dual formulation. -#ifndef MLPP_DUAL_SVC_H -#define MLPP_DUAL_SVC_H - #include #include diff --git a/mlpp/exp_reg/exp_reg.h b/mlpp/exp_reg/exp_reg.h index 90338cf..4e70ee9 100644 --- a/mlpp/exp_reg/exp_reg.h +++ b/mlpp/exp_reg/exp_reg.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_EXP_REG_H +#define MLPP_EXP_REG_H + // // ExpReg.hpp // // Created by Marc Melikyan on 10/2/20. // -#ifndef MLPP_EXP_REG_H -#define MLPP_EXP_REG_H - #include #include diff --git a/mlpp/gan/gan.h b/mlpp/gan/gan.h index 5013b0a..809a526 100644 --- a/mlpp/gan/gan.h +++ b/mlpp/gan/gan.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_GAN_hpp +#define MLPP_GAN_hpp + // // GAN.hpp // // Created by Marc Melikyan on 11/4/20. // -#ifndef MLPP_GAN_hpp -#define MLPP_GAN_hpp - #include "../hidden_layer/hidden_layer.h" #include "../output_layer/output_layer.h" diff --git a/mlpp/gauss_markov_checker/gauss_markov_checker.h b/mlpp/gauss_markov_checker/gauss_markov_checker.h index 90ccc51..3a368ef 100644 --- a/mlpp/gauss_markov_checker/gauss_markov_checker.h +++ b/mlpp/gauss_markov_checker/gauss_markov_checker.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_GAUSS_MARKOV_CHECKER_H +#define MLPP_GAUSS_MARKOV_CHECKER_H + // // GaussMarkovChecker.hpp // // Created by Marc Melikyan on 11/13/20. // -#ifndef MLPP_GAUSS_MARKOV_CHECKER_H -#define MLPP_GAUSS_MARKOV_CHECKER_H - #include #include diff --git a/mlpp/gaussian_nb/gaussian_nb.h b/mlpp/gaussian_nb/gaussian_nb.h index 0b05033..ddfaea2 100644 --- a/mlpp/gaussian_nb/gaussian_nb.h +++ b/mlpp/gaussian_nb/gaussian_nb.h @@ -1,11 +1,13 @@ + +#ifndef MLPP_GAUSSIAN_NB_H +#define MLPP_GAUSSIAN_NB_H + // // GaussianNB.hpp // // Created by Marc Melikyan on 1/17/21. // -#ifndef MLPP_GAUSSIAN_NB_H -#define MLPP_GAUSSIAN_NB_H #include diff --git a/mlpp/hidden_layer/hidden_layer.h b/mlpp/hidden_layer/hidden_layer.h index f8ac9bf..5cdda38 100644 --- a/mlpp/hidden_layer/hidden_layer.h +++ b/mlpp/hidden_layer/hidden_layer.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_HIDDEN_LAYER_H +#define MLPP_HIDDEN_LAYER_H + // // HiddenLayer.hpp // // Created by Marc Melikyan on 11/4/20. // -#ifndef MLPP_HIDDEN_LAYER_H -#define MLPP_HIDDEN_LAYER_H - #include "../activation/activation.h" #include diff --git a/mlpp/hypothesis_testing/hypothesis_testing.h b/mlpp/hypothesis_testing/hypothesis_testing.h index f13cf09..3648bdd 100644 --- a/mlpp/hypothesis_testing/hypothesis_testing.h +++ b/mlpp/hypothesis_testing/hypothesis_testing.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_HYPOTHESIS_TESTING_H +#define MLPP_HYPOTHESIS_TESTING_H + // // HypothesisTesting.hpp // // Created by Marc Melikyan on 3/10/21. // -#ifndef MLPP_HYPOTHESIS_TESTING_H -#define MLPP_HYPOTHESIS_TESTING_H - #include #include diff --git a/mlpp/kmeans/kmeans.h b/mlpp/kmeans/kmeans.h index 1838a74..0952616 100644 --- a/mlpp/kmeans/kmeans.h +++ b/mlpp/kmeans/kmeans.h @@ -1,11 +1,13 @@ + +#ifndef MLPP_K_MEANS_H +#define MLPP_K_MEANS_H + // // KMeans.hpp // // Created by Marc Melikyan on 10/2/20. // -#ifndef MLPP_K_MEANS_H -#define MLPP_K_MEANS_H #include #include diff --git a/mlpp/knn/knn.h b/mlpp/knn/knn.h index 24677dd..e7c0c1e 100644 --- a/mlpp/knn/knn.h +++ b/mlpp/knn/knn.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_KNN_H +#define MLPP_KNN_H + // // kNN.hpp // // Created by Marc Melikyan on 10/2/20. // -#ifndef MLPP_KNN_H -#define MLPP_KNN_H - #include namespace MLPP{ diff --git a/mlpp/lin_alg/lin_alg.h b/mlpp/lin_alg/lin_alg.h index 918fd00..2adfa7e 100644 --- a/mlpp/lin_alg/lin_alg.h +++ b/mlpp/lin_alg/lin_alg.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_LIN_ALG_H +#define MLPP_LIN_ALG_H + // // LinAlg.hpp // // Created by Marc Melikyan on 1/8/21. // -#ifndef MLPP_LIN_ALG_H -#define MLPP_LIN_ALG_H - #include #include diff --git a/mlpp/lin_reg/lin_reg.h b/mlpp/lin_reg/lin_reg.h index 1bd3396..6fb9b9d 100644 --- a/mlpp/lin_reg/lin_reg.h +++ b/mlpp/lin_reg/lin_reg.h @@ -1,11 +1,13 @@ + +#ifndef MLPP_LIN_REG_H +#define MLPP_LIN_REG_H + // // LinReg.hpp // // Created by Marc Melikyan on 10/2/20. // -#ifndef MLPP_LIN_REG_H -#define MLPP_LIN_REG_H #include #include diff --git a/mlpp/log_reg/log_reg.h b/mlpp/log_reg/log_reg.h index 00bb708..e3e714f 100644 --- a/mlpp/log_reg/log_reg.h +++ b/mlpp/log_reg/log_reg.h @@ -1,13 +1,13 @@ + +#ifndef MLPP_LOG_REG_H +#define MLPP_LOG_REG_H + // // LogReg.hpp // // Created by Marc Melikyan on 10/2/20. // -#ifndef MLPP_LOG_REG_H -#define MLPP_LOG_REG_H - - #include #include diff --git a/mlpp/mann/mann.h b/mlpp/mann/mann.h index 4c8602a..d962649 100644 --- a/mlpp/mann/mann.h +++ b/mlpp/mann/mann.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_MANN_H +#define MLPP_MANN_H + // // MANN.hpp // // Created by Marc Melikyan on 11/4/20. // -#ifndef MLPP_MANN_H -#define MLPP_MANN_H - #include "../hidden_layer/hidden_layer.h" #include "../multi_output_layer/multi_output_layer.h" diff --git a/mlpp/mlp/mlp.h b/mlpp/mlp/mlp.h index d268c5b..16a7d3b 100644 --- a/mlpp/mlp/mlp.h +++ b/mlpp/mlp/mlp.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_MLP_H +#define MLPP_MLP_H + // // MLP.hpp // // Created by Marc Melikyan on 11/4/20. // -#ifndef MLPP_MLP_H -#define MLPP_MLP_H - #include #include #include diff --git a/mlpp/multi_output_layer/multi_output_layer.h b/mlpp/multi_output_layer/multi_output_layer.h index ca0e08f..7c2fd11 100644 --- a/mlpp/multi_output_layer/multi_output_layer.h +++ b/mlpp/multi_output_layer/multi_output_layer.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_MULTI_OUTPUT_LAYER_H +#define MLPP_MULTI_OUTPUT_LAYER_H + // // MultiOutputLayer.hpp // // Created by Marc Melikyan on 11/4/20. // -#ifndef MLPP_MULTI_OUTPUT_LAYER_H -#define MLPP_MULTI_OUTPUT_LAYER_H - #include "../activation/activation.h" #include "../cost/cost.h" diff --git a/mlpp/multinomial_nb/multinomial_nb.h b/mlpp/multinomial_nb/multinomial_nb.h index 0840665..1387d54 100644 --- a/mlpp/multinomial_nb/multinomial_nb.h +++ b/mlpp/multinomial_nb/multinomial_nb.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_MULTINOMIAL_NB_H +#define MLPP_MULTINOMIAL_NB_H + // // MultinomialNB.hpp // // Created by Marc Melikyan on 1/17/21. // -#ifndef MLPP_MULTINOMIAL_NB_H -#define MLPP_MULTINOMIAL_NB_H - #include #include diff --git a/mlpp/numerical_analysis/numerical_analysis.h b/mlpp/numerical_analysis/numerical_analysis.h index 12e7906..f6ae529 100644 --- a/mlpp/numerical_analysis/numerical_analysis.h +++ b/mlpp/numerical_analysis/numerical_analysis.h @@ -1,11 +1,12 @@ + +#ifndef MLPP_NUMERICAL_ANALYSIS_H +#define MLPP_NUMERICAL_ANALYSIS_H + // // NumericalAnalysis.hpp // // -#ifndef MLPP_NUMERICAL_ANALYSIS_H -#define MLPP_NUMERICAL_ANALYSIS_H - #include #include diff --git a/mlpp/outlier_finder/outlier_finder.h b/mlpp/outlier_finder/outlier_finder.h index 05c192e..2a48a03 100644 --- a/mlpp/outlier_finder/outlier_finder.h +++ b/mlpp/outlier_finder/outlier_finder.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_OUTLIER_FINDER_H +#define MLPP_OUTLIER_FINDER_H + // // OutlierFinder.hpp // // Created by Marc Melikyan on 11/13/20. // -#ifndef MLPP_OUTLIER_FINDER_H -#define MLPP_OUTLIER_FINDER_H - #include namespace MLPP{ diff --git a/mlpp/output_layer/output_layer.h b/mlpp/output_layer/output_layer.h index 00cede9..18954ad 100644 --- a/mlpp/output_layer/output_layer.h +++ b/mlpp/output_layer/output_layer.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_OUTPUT_LAYER_H +#define MLPP_OUTPUT_LAYER_H + // // OutputLayer.hpp // // Created by Marc Melikyan on 11/4/20. // -#ifndef MLPP_OUTPUT_LAYER_H -#define MLPP_OUTPUT_LAYER_H - #include "../activation/activation.h" #include "../cost/cost.h" diff --git a/mlpp/pca/pca.h b/mlpp/pca/pca.h index b451617..ab5366c 100644 --- a/mlpp/pca/pca.h +++ b/mlpp/pca/pca.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_PCA_H +#define MLPP_PCA_H + // // PCA.hpp // // Created by Marc Melikyan on 10/2/20. // -#ifndef MLPP_PCA_H -#define MLPP_PCA_H - #include namespace MLPP{ diff --git a/mlpp/probit_reg/probit_reg.h b/mlpp/probit_reg/probit_reg.h index d324dfd..f9af4e1 100644 --- a/mlpp/probit_reg/probit_reg.h +++ b/mlpp/probit_reg/probit_reg.h @@ -1,13 +1,13 @@ + +#ifndef MLPP_PROBIT_REG_H +#define MLPP_PROBIT_REG_H + // // ProbitReg.hpp // // Created by Marc Melikyan on 10/2/20. // -#ifndef MLPP_PROBIT_REG_H -#define MLPP_PROBIT_REG_H - - #include #include diff --git a/mlpp/regularization/reg.h b/mlpp/regularization/reg.h index 84a3a98..f19b21d 100644 --- a/mlpp/regularization/reg.h +++ b/mlpp/regularization/reg.h @@ -1,12 +1,14 @@ + + +#ifndef MLPP_REG_H +#define MLPP_REG_H + // // Reg.hpp // // Created by Marc Melikyan on 1/16/21. // -#ifndef MLPP_REG_H -#define MLPP_REG_H - #include namespace MLPP{ diff --git a/mlpp/softmax_net/softmax_net.h b/mlpp/softmax_net/softmax_net.h index 0493040..1ea7c28 100644 --- a/mlpp/softmax_net/softmax_net.h +++ b/mlpp/softmax_net/softmax_net.h @@ -1,13 +1,13 @@ + +#ifndef MLPP_SOFTMAX_NET_H +#define MLPP_SOFTMAX_NET_H + // // SoftmaxNet.hpp // // Created by Marc Melikyan on 10/2/20. // -#ifndef MLPP_SOFTMAX_NET_H -#define MLPP_SOFTMAX_NET_H - - #include #include diff --git a/mlpp/softmax_reg/softmax_reg.h b/mlpp/softmax_reg/softmax_reg.h index 0b673bd..171d141 100644 --- a/mlpp/softmax_reg/softmax_reg.h +++ b/mlpp/softmax_reg/softmax_reg.h @@ -1,13 +1,13 @@ + +#ifndef MLPP_SOFTMAX_REG_H +#define MLPP_SOFTMAX_REG_H + // // SoftmaxReg.hpp // // Created by Marc Melikyan on 10/2/20. // -#ifndef MLPP_SOFTMAX_REG_H -#define MLPP_SOFTMAX_REG_H - - #include #include diff --git a/mlpp/stat/stat.h b/mlpp/stat/stat.h index 497557b..bed286d 100644 --- a/mlpp/stat/stat.h +++ b/mlpp/stat/stat.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_STAT_H +#define MLPP_STAT_H + // // Stat.hpp // // Created by Marc Melikyan on 9/29/20. // -#ifndef MLPP_STAT_H -#define MLPP_STAT_H - #include namespace MLPP{ diff --git a/mlpp/svc/svc.h b/mlpp/svc/svc.h index 755019e..1c12a89 100644 --- a/mlpp/svc/svc.h +++ b/mlpp/svc/svc.h @@ -1,3 +1,7 @@ + +#ifndef MLPP_SVC_H +#define MLPP_SVC_H + // // SVC.hpp // @@ -7,9 +11,6 @@ // https://towardsdatascience.com/svm-implementation-from-scratch-python-2db2fc52e5c2 // Illustratd a practical definition of the Hinge Loss function and its gradient when optimizing with SGD. -#ifndef MLPP_SVC_H -#define MLPP_SVC_H - #include #include diff --git a/mlpp/tanh_reg/tanh_reg.h b/mlpp/tanh_reg/tanh_reg.h index e9a76d4..d62e5d4 100644 --- a/mlpp/tanh_reg/tanh_reg.h +++ b/mlpp/tanh_reg/tanh_reg.h @@ -1,13 +1,13 @@ + +#ifndef MLPP_TANH_REG_H +#define MLPP_TANH_REG_H + // // TanhReg.hpp // // Created by Marc Melikyan on 10/2/20. // -#ifndef MLPP_TANH_REG_H -#define MLPP_TANH_REG_H - - #include #include diff --git a/mlpp/transforms/transforms.h b/mlpp/transforms/transforms.h index 05a085e..34191c7 100644 --- a/mlpp/transforms/transforms.h +++ b/mlpp/transforms/transforms.h @@ -1,11 +1,12 @@ + +#ifndef MLPP_TRANSFORMS_H +#define MLPP_TRANSFORMS_H + // // Transforms.hpp // // -#ifndef MLPP_TRANSFORMS_H -#define MLPP_TRANSFORMS_H - #include #include diff --git a/mlpp/uni_lin_reg/uni_lin_reg.h b/mlpp/uni_lin_reg/uni_lin_reg.h index ed9b884..b9e0245 100644 --- a/mlpp/uni_lin_reg/uni_lin_reg.h +++ b/mlpp/uni_lin_reg/uni_lin_reg.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_UNI_LIN_REG_H +#define MLPP_UNI_LIN_REG_H + // // UniLinReg.hpp // // Created by Marc Melikyan on 9/29/20. // -#ifndef MLPP_UNI_LIN_REG_H -#define MLPP_UNI_LIN_REG_H - #include namespace MLPP{ diff --git a/mlpp/utilities/utilities.h b/mlpp/utilities/utilities.h index 2de35c0..da37aab 100644 --- a/mlpp/utilities/utilities.h +++ b/mlpp/utilities/utilities.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_UTILITIES_H +#define MLPP_UTILITIES_H + // // Utilities.hpp // // Created by Marc Melikyan on 1/16/21. // -#ifndef MLPP_UTILITIES_H -#define MLPP_UTILITIES_H - #include #include #include diff --git a/mlpp/wgan/wgan.h b/mlpp/wgan/wgan.h index 125a0e5..3d9ebef 100644 --- a/mlpp/wgan/wgan.h +++ b/mlpp/wgan/wgan.h @@ -1,12 +1,13 @@ + +#ifndef MLPP_WGAN_H +#define MLPP_WGAN_H + // // WGAN.hpp // // Created by Marc Melikyan on 11/4/20. // -#ifndef MLPP_WGAN_H -#define MLPP_WGAN_H - #include "../hidden_layer/hidden_layer.h" #include "../output_layer/output_layer.h"