Move comments below include guards.

This commit is contained in:
Relintai 2023-01-24 18:57:18 +01:00
parent db79c6215b
commit 284355ac6a
38 changed files with 152 additions and 114 deletions

View File

@ -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 <vector>
namespace MLPP{

View File

@ -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"

View File

@ -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 <vector>
#include <tuple>
#include <string>

View File

@ -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 <vector>
#include <map>

View File

@ -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 <vector>
#include <string>

View File

@ -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 <vector>

View File

@ -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 <vector>
#include <tuple>

View File

@ -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 <vector>
#include <string>

View File

@ -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 <vector>
#include <string>

View File

@ -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"

View File

@ -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 <string>
#include <vector>

View File

@ -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 <vector>

View File

@ -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 <vector>

View File

@ -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 <vector>
#include <tuple>

View File

@ -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 <vector>
#include <string>

View File

@ -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 <vector>
namespace MLPP{

View File

@ -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 <vector>
#include <tuple>

View File

@ -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 <vector>
#include <string>

View File

@ -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 <vector>
#include <string>

View File

@ -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"

View File

@ -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 <vector>
#include <map>
#include <string>

View File

@ -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"

View File

@ -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 <vector>
#include <map>

View File

@ -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 <vector>
#include <string>

View File

@ -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 <vector>
namespace MLPP{

View File

@ -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"

View File

@ -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 <vector>
namespace MLPP{

View File

@ -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 <vector>
#include <string>

View File

@ -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 <vector>
namespace MLPP{

View File

@ -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 <vector>
#include <string>

View File

@ -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 <vector>
#include <string>

View File

@ -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 <vector>
namespace MLPP{

View File

@ -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 <vector>
#include <string>

View File

@ -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 <vector>
#include <string>

View File

@ -1,11 +1,12 @@
#ifndef MLPP_TRANSFORMS_H
#define MLPP_TRANSFORMS_H
//
// Transforms.hpp
//
//
#ifndef MLPP_TRANSFORMS_H
#define MLPP_TRANSFORMS_H
#include <vector>
#include <string>

View File

@ -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 <vector>
namespace MLPP{

View File

@ -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 <vector>
#include <tuple>
#include <string>

View File

@ -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"