From db79c6215b5d98564a81bd400a0efac526205c9f Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 24 Jan 2023 18:52:45 +0100 Subject: [PATCH] Update include guard style. --- mlpp/activation/activation.h | 4 ++-- mlpp/ann/ann.h | 4 ++-- mlpp/auto_encoder/auto_encoder.h | 4 ++-- mlpp/bernoulli_nb/bernoulli_nb.h | 4 ++-- mlpp/c_log_log_reg/c_log_log_reg.h | 4 ++-- mlpp/convolutions/convolutions.h | 5 +++-- mlpp/cost/cost.h | 4 ++-- mlpp/data/data.h | 4 ++-- mlpp/dual_svc/dual_svc.h | 4 ++-- mlpp/exp_reg/exp_reg.h | 4 ++-- mlpp/gan/gan.h | 4 ++-- mlpp/gauss_markov_checker/gauss_markov_checker.h | 4 ++-- mlpp/gaussian_nb/gaussian_nb.h | 4 ++-- mlpp/hidden_layer/hidden_layer.h | 4 ++-- mlpp/hypothesis_testing/hypothesis_testing.h | 4 ++-- mlpp/kmeans/kmeans.h | 4 ++-- mlpp/knn/knn.h | 4 ++-- mlpp/lin_alg/lin_alg.h | 4 ++-- mlpp/lin_reg/lin_reg.h | 4 ++-- mlpp/log_reg/log_reg.h | 4 ++-- mlpp/mann/mann.h | 4 ++-- mlpp/mlp/mlp.h | 4 ++-- mlpp/multi_output_layer/multi_output_layer.h | 4 ++-- mlpp/multinomial_nb/multinomial_nb.h | 4 ++-- mlpp/numerical_analysis/numerical_analysis.h | 4 ++-- mlpp/outlier_finder/outlier_finder.h | 4 ++-- mlpp/output_layer/output_layer.h | 4 ++-- mlpp/pca/pca.h | 4 ++-- mlpp/probit_reg/probit_reg.h | 4 ++-- mlpp/regularization/reg.h | 4 ++-- mlpp/softmax_net/softmax_net.h | 4 ++-- mlpp/softmax_reg/softmax_reg.h | 4 ++-- mlpp/stat/stat.h | 4 ++-- mlpp/svc/svc.h | 4 ++-- mlpp/tanh_reg/tanh_reg.h | 4 ++-- mlpp/transforms/transforms.h | 4 ++-- mlpp/uni_lin_reg/uni_lin_reg.h | 4 ++-- mlpp/utilities/utilities.h | 4 ++-- mlpp/wgan/wgan.h | 4 ++-- 39 files changed, 79 insertions(+), 78 deletions(-) diff --git a/mlpp/activation/activation.h b/mlpp/activation/activation.h index aa0bbbc..9319da7 100644 --- a/mlpp/activation/activation.h +++ b/mlpp/activation/activation.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 1/16/21. // -#ifndef Activation_hpp -#define Activation_hpp +#ifndef MLPP_ACTIVATION_H +#define MLPP_ACTIVATION_H #include diff --git a/mlpp/ann/ann.h b/mlpp/ann/ann.h index ee8c9a5..c080c9a 100644 --- a/mlpp/ann/ann.h +++ b/mlpp/ann/ann.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 11/4/20. // -#ifndef ANN_hpp -#define ANN_hpp +#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 c370a2a..f4d80ab 100644 --- a/mlpp/auto_encoder/auto_encoder.h +++ b/mlpp/auto_encoder/auto_encoder.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 11/4/20. // -#ifndef AutoEncoder_hpp -#define AutoEncoder_hpp +#ifndef MLPP_AUTO_ENCODER_H +#define MLPP_AUTO_ENCODER_H #include #include diff --git a/mlpp/bernoulli_nb/bernoulli_nb.h b/mlpp/bernoulli_nb/bernoulli_nb.h index dd10ec2..9d05a3f 100644 --- a/mlpp/bernoulli_nb/bernoulli_nb.h +++ b/mlpp/bernoulli_nb/bernoulli_nb.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 1/17/21. // -#ifndef BernoulliNB_hpp -#define BernoulliNB_hpp +#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 5635328..09da08a 100644 --- a/mlpp/c_log_log_reg/c_log_log_reg.h +++ b/mlpp/c_log_log_reg/c_log_log_reg.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 10/2/20. // -#ifndef CLogLogReg_hpp -#define CLogLogReg_hpp +#ifndef MLPP_C_LOG_LOG_REG_H +#define MLPP_C_LOG_LOG_REG_H #include diff --git a/mlpp/convolutions/convolutions.h b/mlpp/convolutions/convolutions.h index f4b5e66..c91e703 100644 --- a/mlpp/convolutions/convolutions.h +++ b/mlpp/convolutions/convolutions.h @@ -1,5 +1,6 @@ -#ifndef Convolutions_hpp -#define Convolutions_hpp + +#ifndef MLPP_CONVOLUTIONS_H +#define MLPP_CONVOLUTIONS_H #include diff --git a/mlpp/cost/cost.h b/mlpp/cost/cost.h index d6c8fb0..a802ef4 100644 --- a/mlpp/cost/cost.h +++ b/mlpp/cost/cost.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 1/16/21. // -#ifndef Cost_hpp -#define Cost_hpp +#ifndef MLPP_COST_H +#define MLPP_COST_H #include diff --git a/mlpp/data/data.h b/mlpp/data/data.h index 65dee7a..43df0d3 100644 --- a/mlpp/data/data.h +++ b/mlpp/data/data.h @@ -5,8 +5,8 @@ // Created by Marc Melikyan on 11/4/20. // -#ifndef Data_hpp -#define Data_hpp +#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 d3a34dd..666996f 100644 --- a/mlpp/dual_svc/dual_svc.h +++ b/mlpp/dual_svc/dual_svc.h @@ -7,8 +7,8 @@ // http://ciml.info/dl/v0_99/ciml-v0_99-ch11.pdf // Were excellent for the practical intution behind the dual formulation. -#ifndef DualSVC_hpp -#define DualSVC_hpp +#ifndef MLPP_DUAL_SVC_H +#define MLPP_DUAL_SVC_H #include diff --git a/mlpp/exp_reg/exp_reg.h b/mlpp/exp_reg/exp_reg.h index eeea633..90338cf 100644 --- a/mlpp/exp_reg/exp_reg.h +++ b/mlpp/exp_reg/exp_reg.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 10/2/20. // -#ifndef ExpReg_hpp -#define ExpReg_hpp +#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 4ee89f4..5013b0a 100644 --- a/mlpp/gan/gan.h +++ b/mlpp/gan/gan.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 11/4/20. // -#ifndef GAN_hpp -#define GAN_hpp +#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 4944d4d..90ccc51 100644 --- a/mlpp/gauss_markov_checker/gauss_markov_checker.h +++ b/mlpp/gauss_markov_checker/gauss_markov_checker.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 11/13/20. // -#ifndef GaussMarkovChecker_hpp -#define GaussMarkovChecker_hpp +#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 636ed42..0b05033 100644 --- a/mlpp/gaussian_nb/gaussian_nb.h +++ b/mlpp/gaussian_nb/gaussian_nb.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 1/17/21. // -#ifndef GaussianNB_hpp -#define GaussianNB_hpp +#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 ba695b8..f8ac9bf 100644 --- a/mlpp/hidden_layer/hidden_layer.h +++ b/mlpp/hidden_layer/hidden_layer.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 11/4/20. // -#ifndef HiddenLayer_hpp -#define HiddenLayer_hpp +#ifndef MLPP_HIDDEN_LAYER_H +#define MLPP_HIDDEN_LAYER_H #include "../activation/activation.h" diff --git a/mlpp/hypothesis_testing/hypothesis_testing.h b/mlpp/hypothesis_testing/hypothesis_testing.h index 4764f62..f13cf09 100644 --- a/mlpp/hypothesis_testing/hypothesis_testing.h +++ b/mlpp/hypothesis_testing/hypothesis_testing.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 3/10/21. // -#ifndef HypothesisTesting_hpp -#define HypothesisTesting_hpp +#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 281bec8..1838a74 100644 --- a/mlpp/kmeans/kmeans.h +++ b/mlpp/kmeans/kmeans.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 10/2/20. // -#ifndef KMeans_hpp -#define KMeans_hpp +#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 740543e..24677dd 100644 --- a/mlpp/knn/knn.h +++ b/mlpp/knn/knn.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 10/2/20. // -#ifndef kNN_hpp -#define kNN_hpp +#ifndef MLPP_KNN_H +#define MLPP_KNN_H #include diff --git a/mlpp/lin_alg/lin_alg.h b/mlpp/lin_alg/lin_alg.h index 6ec64ae..918fd00 100644 --- a/mlpp/lin_alg/lin_alg.h +++ b/mlpp/lin_alg/lin_alg.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 1/8/21. // -#ifndef LinAlg_hpp -#define LinAlg_hpp +#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 56b5ef8..1bd3396 100644 --- a/mlpp/lin_reg/lin_reg.h +++ b/mlpp/lin_reg/lin_reg.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 10/2/20. // -#ifndef LinReg_hpp -#define LinReg_hpp +#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 ad12cb3..00bb708 100644 --- a/mlpp/log_reg/log_reg.h +++ b/mlpp/log_reg/log_reg.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 10/2/20. // -#ifndef LogReg_hpp -#define LogReg_hpp +#ifndef MLPP_LOG_REG_H +#define MLPP_LOG_REG_H #include diff --git a/mlpp/mann/mann.h b/mlpp/mann/mann.h index 9c1c1db..4c8602a 100644 --- a/mlpp/mann/mann.h +++ b/mlpp/mann/mann.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 11/4/20. // -#ifndef MANN_hpp -#define MANN_hpp +#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 935744d..d268c5b 100644 --- a/mlpp/mlp/mlp.h +++ b/mlpp/mlp/mlp.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 11/4/20. // -#ifndef MLP_hpp -#define MLP_hpp +#ifndef MLPP_MLP_H +#define MLPP_MLP_H #include #include diff --git a/mlpp/multi_output_layer/multi_output_layer.h b/mlpp/multi_output_layer/multi_output_layer.h index b10b753..ca0e08f 100644 --- a/mlpp/multi_output_layer/multi_output_layer.h +++ b/mlpp/multi_output_layer/multi_output_layer.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 11/4/20. // -#ifndef MultiOutputLayer_hpp -#define MultiOutputLayer_hpp +#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 3fadcdf..0840665 100644 --- a/mlpp/multinomial_nb/multinomial_nb.h +++ b/mlpp/multinomial_nb/multinomial_nb.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 1/17/21. // -#ifndef MultinomialNB_hpp -#define MultinomialNB_hpp +#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 8899954..12e7906 100644 --- a/mlpp/numerical_analysis/numerical_analysis.h +++ b/mlpp/numerical_analysis/numerical_analysis.h @@ -3,8 +3,8 @@ // // -#ifndef NumericalAnalysis_hpp -#define 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 eaaf648..05c192e 100644 --- a/mlpp/outlier_finder/outlier_finder.h +++ b/mlpp/outlier_finder/outlier_finder.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 11/13/20. // -#ifndef OutlierFinder_hpp -#define OutlierFinder_hpp +#ifndef MLPP_OUTLIER_FINDER_H +#define MLPP_OUTLIER_FINDER_H #include diff --git a/mlpp/output_layer/output_layer.h b/mlpp/output_layer/output_layer.h index 2c6992f..00cede9 100644 --- a/mlpp/output_layer/output_layer.h +++ b/mlpp/output_layer/output_layer.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 11/4/20. // -#ifndef OutputLayer_hpp -#define OutputLayer_hpp +#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 59e1d75..b451617 100644 --- a/mlpp/pca/pca.h +++ b/mlpp/pca/pca.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 10/2/20. // -#ifndef PCA_hpp -#define PCA_hpp +#ifndef MLPP_PCA_H +#define MLPP_PCA_H #include diff --git a/mlpp/probit_reg/probit_reg.h b/mlpp/probit_reg/probit_reg.h index b001e02..d324dfd 100644 --- a/mlpp/probit_reg/probit_reg.h +++ b/mlpp/probit_reg/probit_reg.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 10/2/20. // -#ifndef ProbitReg_hpp -#define ProbitReg_hpp +#ifndef MLPP_PROBIT_REG_H +#define MLPP_PROBIT_REG_H #include diff --git a/mlpp/regularization/reg.h b/mlpp/regularization/reg.h index e9f4979..84a3a98 100644 --- a/mlpp/regularization/reg.h +++ b/mlpp/regularization/reg.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 1/16/21. // -#ifndef Reg_hpp -#define Reg_hpp +#ifndef MLPP_REG_H +#define MLPP_REG_H #include diff --git a/mlpp/softmax_net/softmax_net.h b/mlpp/softmax_net/softmax_net.h index a606481..0493040 100644 --- a/mlpp/softmax_net/softmax_net.h +++ b/mlpp/softmax_net/softmax_net.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 10/2/20. // -#ifndef SoftmaxNet_hpp -#define SoftmaxNet_hpp +#ifndef MLPP_SOFTMAX_NET_H +#define MLPP_SOFTMAX_NET_H #include diff --git a/mlpp/softmax_reg/softmax_reg.h b/mlpp/softmax_reg/softmax_reg.h index 8e16bd4..0b673bd 100644 --- a/mlpp/softmax_reg/softmax_reg.h +++ b/mlpp/softmax_reg/softmax_reg.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 10/2/20. // -#ifndef SoftmaxReg_hpp -#define SoftmaxReg_hpp +#ifndef MLPP_SOFTMAX_REG_H +#define MLPP_SOFTMAX_REG_H #include diff --git a/mlpp/stat/stat.h b/mlpp/stat/stat.h index e6a305e..497557b 100644 --- a/mlpp/stat/stat.h +++ b/mlpp/stat/stat.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 9/29/20. // -#ifndef Stat_hpp -#define Stat_hpp +#ifndef MLPP_STAT_H +#define MLPP_STAT_H #include diff --git a/mlpp/svc/svc.h b/mlpp/svc/svc.h index 094f1ea..755019e 100644 --- a/mlpp/svc/svc.h +++ b/mlpp/svc/svc.h @@ -7,8 +7,8 @@ // 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 SVC_hpp -#define SVC_hpp +#ifndef MLPP_SVC_H +#define MLPP_SVC_H #include diff --git a/mlpp/tanh_reg/tanh_reg.h b/mlpp/tanh_reg/tanh_reg.h index 1bbf5d9..e9a76d4 100644 --- a/mlpp/tanh_reg/tanh_reg.h +++ b/mlpp/tanh_reg/tanh_reg.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 10/2/20. // -#ifndef TanhReg_hpp -#define TanhReg_hpp +#ifndef MLPP_TANH_REG_H +#define MLPP_TANH_REG_H #include diff --git a/mlpp/transforms/transforms.h b/mlpp/transforms/transforms.h index d8bbb53..05a085e 100644 --- a/mlpp/transforms/transforms.h +++ b/mlpp/transforms/transforms.h @@ -3,8 +3,8 @@ // // -#ifndef Transforms_hpp -#define 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 3ff7715..ed9b884 100644 --- a/mlpp/uni_lin_reg/uni_lin_reg.h +++ b/mlpp/uni_lin_reg/uni_lin_reg.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 9/29/20. // -#ifndef UniLinReg_hpp -#define UniLinReg_hpp +#ifndef MLPP_UNI_LIN_REG_H +#define MLPP_UNI_LIN_REG_H #include diff --git a/mlpp/utilities/utilities.h b/mlpp/utilities/utilities.h index 8801e3e..2de35c0 100644 --- a/mlpp/utilities/utilities.h +++ b/mlpp/utilities/utilities.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 1/16/21. // -#ifndef Utilities_hpp -#define Utilities_hpp +#ifndef MLPP_UTILITIES_H +#define MLPP_UTILITIES_H #include #include diff --git a/mlpp/wgan/wgan.h b/mlpp/wgan/wgan.h index 67324e8..125a0e5 100644 --- a/mlpp/wgan/wgan.h +++ b/mlpp/wgan/wgan.h @@ -4,8 +4,8 @@ // Created by Marc Melikyan on 11/4/20. // -#ifndef WGAN_hpp -#define WGAN_hpp +#ifndef MLPP_WGAN_H +#define MLPP_WGAN_H #include "../hidden_layer/hidden_layer.h" #include "../output_layer/output_layer.h"