Include cleanups.

This commit is contained in:
Relintai 2023-01-24 18:12:23 +01:00
parent 6e76be22d9
commit 3457ec73a1
46 changed files with 175 additions and 173 deletions

View File

@ -5,8 +5,8 @@
//
#include <iostream>
#include "LinAlg/LinAlg.hpp"
#include "Activation.hpp"
#include "../lin_alg/lin_alg.h"
#include "activation.h"
#include <cmath>
#include <algorithm>

View File

@ -4,12 +4,12 @@
// Created by Marc Melikyan on 11/4/20.
//
#include "ANN.hpp"
#include "Activation/Activation.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Regularization/Reg.hpp"
#include "Utilities/Utilities.hpp"
#include "Cost/Cost.hpp"
#include "ann.h"
#include "../activation/activation.h"
#include "../lin_alg/lin_alg.h"
#include "../regularization/reg.h"
#include "../utilities/utilities.h"
#include "../cost/cost.h"
#include <iostream>
#include <cmath>

View File

@ -7,8 +7,8 @@
#ifndef ANN_hpp
#define ANN_hpp
#include "HiddenLayer/HiddenLayer.hpp"
#include "OutputLayer/OutputLayer.hpp"
#include "hidden_layer/hidden_layer.h"
#include "output_layer/output_layer.h"
#include <vector>
#include <tuple>

View File

@ -4,11 +4,11 @@
// Created by Marc Melikyan on 11/4/20.
//
#include "AutoEncoder.hpp"
#include "Activation/Activation.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Utilities/Utilities.hpp"
#include "Cost/Cost.hpp"
#include "auto_encoder.h"
#include "../activation/activation.h"
#include "../lin_alg/lin_alg.h"
#include "../utilities/utilities.h"
#include "../cost/cost.h"
#include <iostream>
#include <random>

View File

@ -4,10 +4,10 @@
// Created by Marc Melikyan on 1/17/21.
//
#include "BernoulliNB.hpp"
#include "Utilities/Utilities.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Data/Data.hpp"
#include "bernoulli_nb.h"
#include "../utilities/utilities.h"
#include "../lin_alg/lin_alg.h"
#include "../data/data.h"
#include <iostream>
#include <random>

View File

@ -4,12 +4,12 @@
// Created by Marc Melikyan on 10/2/20.
//
#include "CLogLogReg.hpp"
#include "Activation/Activation.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Regularization/Reg.hpp"
#include "Utilities/Utilities.hpp"
#include "Cost/Cost.hpp"
#include "c_log_log_reg.h"
#include "../activation/activation.h"
#include "../lin_alg/lin_alg.h"
#include "../regularization/reg.h"
#include "../utilities/utilities.h"
#include "../cost/cost.h"
#include <iostream>
#include <random>

View File

@ -5,9 +5,9 @@
//
#include <iostream>
#include "Convolutions/Convolutions.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Stat/Stat.hpp"
#include "../convolutions/convolutions.h"
#include "../lin_alg/lin_alg.h"
#include "../stat/stat.h"
#include <cmath>
namespace MLPP{

View File

@ -6,9 +6,9 @@
#include <iostream>
#include <cmath>
#include "Cost.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Regularization/Reg.hpp"
#include "cost.hpp"
#include "../lin_alg/lin_alg.h"
#include "../regularization/reg.h"
namespace MLPP{
double Cost::MSE(std::vector <double> y_hat, std::vector<double> y){

View File

@ -5,10 +5,10 @@
// Created by Marc Melikyan on 11/4/20.
//
#include "Data.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Stat/Stat.hpp"
#include "SoftmaxNet/SoftmaxNet.hpp"
#include "data.hpp"
#include "../lin_alg/lin_alg.h"
#include "../stat/stat.h"
#include "../softmax_net/softmax_net.h"
#include <iostream>
#include <random>
#include <cmath>

View File

@ -4,12 +4,12 @@
// Created by Marc Melikyan on 10/2/20.
//
#include "DualSVC.hpp"
#include "Activation/Activation.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Regularization/Reg.hpp"
#include "Utilities/Utilities.hpp"
#include "Cost/Cost.hpp"
#include "dual_svc.h"
#include "../activation/activation.h"
#include "../lin_alg/lin_alg.h"
#include "../regularization/reg.h"
#include "../utilities/utilities.h"
#include "../cost/cost.h"
#include <iostream>
#include <random>

View File

@ -4,12 +4,12 @@
// Created by Marc Melikyan on 10/2/20.
//
#include "ExpReg.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Stat/Stat.hpp"
#include "Regularization/Reg.hpp"
#include "Utilities/Utilities.hpp"
#include "Cost/Cost.hpp"
#include "exp_reg.h"
#include "../lin_alg/lin_alg.h"
#include "../stat/stat.h"
#include "../regularization/reg.h"
#include "../utilities/utilities.h"
#include "../cost/cost.h"
#include <iostream>
#include <random>

View File

@ -4,12 +4,12 @@
// Created by Marc Melikyan on 11/4/20.
//
#include "GAN.hpp"
#include "Activation/Activation.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Regularization/Reg.hpp"
#include "Utilities/Utilities.hpp"
#include "Cost/Cost.hpp"
#include "gan.h"
#include "../activation/activation.h"
#include "../lin_alg/lin_alg.h"
#include "../regularization/reg.h"
#include "../utilities/utilities.h"
#include "../cost/cost.h"
#include <iostream>
#include <cmath>

View File

@ -7,8 +7,8 @@
#ifndef GAN_hpp
#define GAN_hpp
#include "HiddenLayer/HiddenLayer.hpp"
#include "OutputLayer/OutputLayer.hpp"
#include "../hidden_layer/hidden_layer.h"
#include "../output_layer/output_layer.h"
#include <vector>
#include <tuple>

View File

@ -4,8 +4,8 @@
// Created by Marc Melikyan on 11/13/20.
//
#include "GaussMarkovChecker.hpp"
#include "Stat/Stat.hpp"
#include "gauss_markov_checker.h"
#include "../stat/stat.h"
#include <iostream>

View File

@ -4,10 +4,10 @@
// Created by Marc Melikyan on 1/17/21.
//
#include "GaussianNB.hpp"
#include "Stat/Stat.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Utilities/Utilities.hpp"
#include "gaussian_nb.h"
#include "../stat/stat.h"
#include "../lin_alg/lin_alg.h"
#include "../utilities/utilities.h"
#include <iostream>
#include <algorithm>

View File

@ -4,10 +4,10 @@
// Created by Marc Melikyan on 11/4/20.
//
#include "HiddenLayer.hpp"
#include "Activation/Activation.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Utilities/Utilities.hpp"
#include "hidden_layer.h"
#include "../activation/activation.h"
#include "../lin_alg/lin_alg.h"
#include "../utilities/utilities.h"
#include <iostream>
#include <random>

View File

@ -7,7 +7,7 @@
#ifndef HiddenLayer_hpp
#define HiddenLayer_hpp
#include "Activation/Activation.hpp"
#include "../activation/activation.h"
#include <vector>
#include <map>

View File

@ -4,7 +4,7 @@
// Created by Marc Melikyan on 3/10/21.
//
#include "HypothesisTesting.hpp"
#include "hypothesis_testing.h"
namespace MLPP{

View File

@ -4,9 +4,9 @@
// Created by Marc Melikyan on 10/2/20.
//
#include "KMeans.hpp"
#include "Utilities/Utilities.hpp"
#include "LinAlg/LinAlg.hpp"
#include "kmeans.h"
#include "../utilities/utilities.h"
#include "../lin_alg/lin_alg.h"
#include <iostream>
#include <random>

View File

@ -4,9 +4,9 @@
// Created by Marc Melikyan on 10/2/20.
//
#include "kNN.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Utilities/Utilities.hpp"
#include "knn.h"
#include "../lin_alg/lin_alg.h"
#include "../utilities/utilities.h"
#include <iostream>
#include <map>

View File

@ -4,8 +4,8 @@
// Created by Marc Melikyan on 1/8/21.
//
#include "LinAlg.hpp"
#include "Stat/Stat.hpp"
#include "lin_alg.hpp"
#include "../stat/stat.h"
#include <iostream>
#include <random>
#include <map>

View File

@ -4,12 +4,12 @@
// Created by Marc Melikyan on 10/2/20.
//
#include "LinReg.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Stat/Stat.hpp"
#include "Regularization/Reg.hpp"
#include "Utilities/Utilities.hpp"
#include "Cost/Cost.hpp"
#include "lin_reg.h"
#include "../lin_alg/lin_alg.h"
#include "../stat/stat.h"
#include "../regularization/reg.h"
#include "../utilities/utilities.h"
#include "../cost/cost.h"
#include <iostream>
#include <cmath>

View File

@ -4,12 +4,12 @@
// Created by Marc Melikyan on 10/2/20.
//
#include "LogReg.hpp"
#include "Activation/Activation.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Regularization/Reg.hpp"
#include "Utilities/Utilities.hpp"
#include "Cost/Cost.hpp"
#include "log_reg.h"
#include "../activation/activation.h"
#include "../lin_alg/lin_alg.h"
#include "../regularization/reg.h"
#include "../utilities/utilities.h"
#include "../cost/cost.h"
#include <iostream>
#include <random>

View File

@ -4,12 +4,12 @@
// Created by Marc Melikyan on 11/4/20.
//
#include "MANN.hpp"
#include "Activation/Activation.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Regularization/Reg.hpp"
#include "Utilities/Utilities.hpp"
#include "Cost/Cost.hpp"
#include "mann.h"
#include "../activation/activation.h"
#include "../lin_alg/lin_alg.h"
#include "../regularization/reg.h"
#include "../utilities/utilities.h"
#include "../cost/cost.h"
#include <iostream>

View File

@ -7,8 +7,8 @@
#ifndef MANN_hpp
#define MANN_hpp
#include "HiddenLayer/HiddenLayer.hpp"
#include "MultiOutputLayer/MultiOutputLayer.hpp"
#include "../hidden_layer/hidden_layer.h"
#include "../multi_output_layer/multi_output_layer.h"
#include <vector>
#include <string>

View File

@ -4,12 +4,13 @@
// Created by Marc Melikyan on 11/4/20.
//
#include "MLP.hpp"
#include "Activation/Activation.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Regularization/Reg.hpp"
#include "Utilities/Utilities.hpp"
#include "Cost/Cost.hpp"
#include "mlp.h"
#include "../activation/activation.h"
#include "../lin_alg/lin_alg.h"
#include "../regularization/reg.h"
#include "../utilities/utilities.h"
#include "../cost/cost.h"
#include <iostream>
#include <random>

View File

@ -4,9 +4,9 @@
// Created by Marc Melikyan on 11/4/20.
//
#include "MultiOutputLayer.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Utilities/Utilities.hpp"
#include "multi_output_layer.h"
#include "../lin_alg/lin_alg.h"
#include "../utilities/utilities.h"
#include <iostream>
#include <random>

View File

@ -7,8 +7,8 @@
#ifndef MultiOutputLayer_hpp
#define MultiOutputLayer_hpp
#include "Activation/Activation.hpp"
#include "Cost/Cost.hpp"
#include "../activation/activation.h"
#include "../cost/cost.h"
#include <vector>
#include <map>

View File

@ -4,9 +4,9 @@
// Created by Marc Melikyan on 1/17/21.
//
#include "MultinomialNB.hpp"
#include "Utilities/Utilities.hpp"
#include "LinAlg/LinAlg.hpp"
#include "multinomial_nb.h"
#include "../utilities/utilities.h"
#include "../lin_alg/lin_alg.h"
#include <iostream>
#include <algorithm>

View File

@ -4,8 +4,9 @@
// Created by Marc Melikyan on 11/13/20.
//
#include "NumericalAnalysis.hpp"
#include "LinAlg/LinAlg.hpp"
#include "numerical_analysis.h"
#include "../lin_alg/lin_alg.h"
#include <iostream>
#include <string>
#include <cmath>

View File

@ -4,8 +4,8 @@
// Created by Marc Melikyan on 11/13/20.
//
#include "OutlierFinder.hpp"
#include "Stat/Stat.hpp"
#include "outlier_finder.h"
#include "../stat/stat.h"
#include <iostream>
namespace MLPP{

View File

@ -4,9 +4,9 @@
// Created by Marc Melikyan on 11/4/20.
//
#include "OutputLayer.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Utilities/Utilities.hpp"
#include "output_layer.h"
#include "../lin_alg/lin_alg.h"
#include "../utilities/utilities.h"
#include <iostream>
#include <random>

View File

@ -7,8 +7,8 @@
#ifndef OutputLayer_hpp
#define OutputLayer_hpp
#include "Activation/Activation.hpp"
#include "Cost/Cost.hpp"
#include "../activation/activation.h"
#include "../cost/cost.h"
#include <vector>
#include <map>

View File

@ -4,9 +4,9 @@
// Created by Marc Melikyan on 10/2/20.
//
#include "PCA.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Data/Data.hpp"
#include "pca.h"
#include "../lin_alg/lin_alg.h"
#include "../data/data.h"
#include <iostream>
#include <random>

View File

@ -4,12 +4,12 @@
// Created by Marc Melikyan on 10/2/20.
//
#include "ProbitReg.hpp"
#include "Activation/Activation.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Regularization/Reg.hpp"
#include "Utilities/Utilities.hpp"
#include "Cost/Cost.hpp"
#include "probit_reg.h"
#include "../activation/activation.h"
#include "../lin_alg/lin_alg.h"
#include "../regularization/reg.h"
#include "../utilities/utilities.h"
#include "../cost/cost.h"
#include <iostream>
#include <random>

View File

@ -6,9 +6,9 @@
#include <iostream>
#include <random>
#include "Reg.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Activation/Activation.hpp"
#include "reg.h"
#include "../lin_alg/lin_alg.h"
#include "../activation/activation.h"
namespace MLPP{

View File

@ -4,13 +4,13 @@
// Created by Marc Melikyan on 10/2/20.
//
#include "SoftmaxNet.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Data/Data.hpp"
#include "Regularization/Reg.hpp"
#include "Activation/Activation.hpp"
#include "Utilities/Utilities.hpp"
#include "Cost/Cost.hpp"
#include "softmax_net.h"
#include "../lin_alg/lin_alg.h"
#include "../data/data.h"
#include "../regularization/reg.h"
#include "../activation/activation.h"
#include "../utilities/utilities.h"
#include "../cost/cost.h"
#include <iostream>
#include <random>

View File

@ -4,12 +4,12 @@
// Created by Marc Melikyan on 10/2/20.
//
#include "SoftmaxReg.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Regularization/Reg.hpp"
#include "Activation/Activation.hpp"
#include "Utilities/Utilities.hpp"
#include "Cost/Cost.hpp"
#include "softmax_reg.h"
#include "../lin_alg/lin_alg.h"
#include "../regularization/reg.h"
#include "../activation/activation.h"
#include "../utilities/utilities.h"
#include "../cost/cost.h"
#include <iostream>
#include <random>

View File

@ -4,10 +4,10 @@
// Created by Marc Melikyan on 9/29/20.
//
#include "Stat.hpp"
#include "Activation/Activation.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Data/Data.hpp"
#include "stat.hpp"
#include "../activation/activation.h"
#include "../lin_alg/lin_alg.h"
#include "../data/data.h"
#include <algorithm>
#include <map>
#include <cmath>

View File

@ -4,12 +4,12 @@
// Created by Marc Melikyan on 10/2/20.
//
#include "SVC.hpp"
#include "Activation/Activation.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Regularization/Reg.hpp"
#include "Utilities/Utilities.hpp"
#include "Cost/Cost.hpp"
#include "svc.hpp"
#include "../activation/activation.h"
#include "../lin_alg/lin_alg.h"
#include "../regularization/reg.h"
#include "../utilities/utilities.h"
#include "../cost/cost.h"
#include <iostream>
#include <random>

View File

@ -4,12 +4,12 @@
// Created by Marc Melikyan on 10/2/20.
//
#include "TanhReg.hpp"
#include "Activation/Activation.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Regularization/Reg.hpp"
#include "Utilities/Utilities.hpp"
#include "Cost/Cost.hpp"
#include "tanh_reg.h"
#include "../activation/activation.h"
#include "../lin_alg/lin_alg.h"
#include "../regularization/reg.h"
#include "../utilities/utilities.h"
#include "../cost/cost.h"
#include <iostream>
#include <random>

View File

@ -4,8 +4,8 @@
// Created by Marc Melikyan on 11/13/20.
//
#include "Transforms.hpp"
#include "LinAlg/LinAlg.hpp"
#include "transforms.h"
#include "../lin_alg/lin_alg.h"
#include <iostream>
#include <string>
#include <cmath>

View File

@ -4,9 +4,9 @@
// Created by Marc Melikyan on 9/29/20.
//
#include "UniLinReg.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Stat/Stat.hpp"
#include "uni_lin_reg.h"
#include "../lin_alg/lin_alg.h"
#include "../stat/stat.h"
#include <iostream>

View File

@ -8,7 +8,7 @@
#include <string>
#include <random>
#include <fstream>
#include "Utilities.hpp"
#include "utilities.h"
namespace MLPP{

View File

@ -4,12 +4,12 @@
// Created by Marc Melikyan on 11/4/20.
//
#include "WGAN.hpp"
#include "Activation/Activation.hpp"
#include "LinAlg/LinAlg.hpp"
#include "Regularization/Reg.hpp"
#include "Utilities/Utilities.hpp"
#include "Cost/Cost.hpp"
#include "wgan.h"
#include "../activation/activation.h"
#include "../lin_alg/lin_alg.h"
#include "../regularization/reg.h"
#include "../utilities/utilities.h"
#include "../cost/cost.h"
#include <iostream>
#include <cmath>

View File

@ -7,8 +7,8 @@
#ifndef WGAN_hpp
#define WGAN_hpp
#include "HiddenLayer/HiddenLayer.hpp"
#include "OutputLayer/OutputLayer.hpp"
#include "../hidden_layer/hidden_layer.h"
#include "../output_layer/output_layer.h"
#include <vector>
#include <tuple>