Moved classes out from the mlpp folder.

This commit is contained in:
Relintai 2024-01-25 09:11:13 +01:00
parent 1e925bb0c4
commit f940e805e4
89 changed files with 123 additions and 123 deletions

View File

@ -90,10 +90,10 @@ env.Append(CCFLAGS = ['-DGDNATIVE'])
sources = [
"gdlibrary.cpp",
"mlpp/lin_alg/mlpp_vector.cpp",
"mlpp/lin_alg/mlpp_matrix.cpp",
"mlpp/lin_alg/mlpp_tensor3.cpp",
"mlpp/lin_alg/lin_alg.cpp",
"lin_alg/mlpp_vector.cpp",
"lin_alg/mlpp_matrix.cpp",
"lin_alg/mlpp_tensor3.cpp",
"lin_alg/lin_alg.cpp",
]

84
SCsub
View File

@ -12,49 +12,49 @@ if ARGUMENTS.get('pmlpp_build_tests', 'yes') == 'no':
sources = [
"register_types.cpp",
"mlpp/lin_alg/mlpp_vector.cpp",
"mlpp/lin_alg/mlpp_matrix.cpp",
"mlpp/lin_alg/mlpp_tensor3.cpp",
"lin_alg/mlpp_vector.cpp",
"lin_alg/mlpp_matrix.cpp",
"lin_alg/mlpp_tensor3.cpp",
"mlpp/activation/activation.cpp",
"mlpp/ann/ann.cpp",
"mlpp/auto_encoder/auto_encoder.cpp",
"mlpp/bernoulli_nb/bernoulli_nb.cpp",
"mlpp/c_log_log_reg/c_log_log_reg.cpp",
"mlpp/convolutions/convolutions.cpp",
"mlpp/cost/cost.cpp",
"mlpp/data/data.cpp",
"mlpp/dual_svc/dual_svc.cpp",
"mlpp/exp_reg/exp_reg.cpp",
"mlpp/gan/gan.cpp",
"mlpp/gaussian_nb/gaussian_nb.cpp",
"mlpp/gauss_markov_checker/gauss_markov_checker.cpp",
"mlpp/hidden_layer/hidden_layer.cpp",
"mlpp/hypothesis_testing/hypothesis_testing.cpp",
"mlpp/kmeans/kmeans.cpp",
"mlpp/knn/knn.cpp",
"mlpp/lin_alg/lin_alg.cpp",
"mlpp/lin_reg/lin_reg.cpp",
"mlpp/log_reg/log_reg.cpp",
"mlpp/mann/mann.cpp",
"mlpp/mlp/mlp.cpp",
"mlpp/multinomial_nb/multinomial_nb.cpp",
"mlpp/multi_output_layer/multi_output_layer.cpp",
"mlpp/numerical_analysis/numerical_analysis.cpp",
"mlpp/outlier_finder/outlier_finder.cpp",
"mlpp/output_layer/output_layer.cpp",
"mlpp/pca/pca.cpp",
"mlpp/probit_reg/probit_reg.cpp",
"mlpp/regularization/reg.cpp",
"mlpp/softmax_net/softmax_net.cpp",
"mlpp/softmax_reg/softmax_reg.cpp",
"mlpp/stat/stat.cpp",
"mlpp/svc/svc.cpp",
"mlpp/tanh_reg/tanh_reg.cpp",
"mlpp/transforms/transforms.cpp",
"mlpp/uni_lin_reg/uni_lin_reg.cpp",
"mlpp/utilities/utilities.cpp",
"mlpp/wgan/wgan.cpp",
"activation/activation.cpp",
"ann/ann.cpp",
"auto_encoder/auto_encoder.cpp",
"bernoulli_nb/bernoulli_nb.cpp",
"c_log_log_reg/c_log_log_reg.cpp",
"convolutions/convolutions.cpp",
"cost/cost.cpp",
"data/data.cpp",
"dual_svc/dual_svc.cpp",
"exp_reg/exp_reg.cpp",
"gan/gan.cpp",
"gaussian_nb/gaussian_nb.cpp",
"gauss_markov_checker/gauss_markov_checker.cpp",
"hidden_layer/hidden_layer.cpp",
"hypothesis_testing/hypothesis_testing.cpp",
"kmeans/kmeans.cpp",
"knn/knn.cpp",
"lin_alg/lin_alg.cpp",
"lin_reg/lin_reg.cpp",
"log_reg/log_reg.cpp",
"mann/mann.cpp",
"mlp/mlp.cpp",
"multinomial_nb/multinomial_nb.cpp",
"multi_output_layer/multi_output_layer.cpp",
"numerical_analysis/numerical_analysis.cpp",
"outlier_finder/outlier_finder.cpp",
"output_layer/output_layer.cpp",
"pca/pca.cpp",
"probit_reg/probit_reg.cpp",
"regularization/reg.cpp",
"softmax_net/softmax_net.cpp",
"softmax_reg/softmax_reg.cpp",
"stat/stat.cpp",
"svc/svc.cpp",
"tanh_reg/tanh_reg.cpp",
"transforms/transforms.cpp",
"uni_lin_reg/uni_lin_reg.cpp",
"utilities/utilities.cpp",
"wgan/wgan.cpp",
]
if module_env.pmlpp_build_tests:

View File

@ -30,51 +30,51 @@
#include "register_types.h"
#include "mlpp/data/data.h"
#include "mlpp/lin_alg/mlpp_matrix.h"
#include "mlpp/lin_alg/mlpp_tensor3.h"
#include "mlpp/lin_alg/mlpp_vector.h"
#include "data/data.h"
#include "lin_alg/mlpp_matrix.h"
#include "lin_alg/mlpp_tensor3.h"
#include "lin_alg/mlpp_vector.h"
#include "mlpp/activation/activation.h"
#include "mlpp/convolutions/convolutions.h"
#include "mlpp/cost/cost.h"
#include "mlpp/gauss_markov_checker/gauss_markov_checker.h"
#include "mlpp/hypothesis_testing/hypothesis_testing.h"
#include "mlpp/lin_alg/lin_alg.h"
#include "mlpp/numerical_analysis/numerical_analysis.h"
#include "mlpp/regularization/reg.h"
#include "mlpp/stat/stat.h"
#include "mlpp/transforms/transforms.h"
#include "mlpp/utilities/utilities.h"
#include "activation/activation.h"
#include "convolutions/convolutions.h"
#include "cost/cost.h"
#include "gauss_markov_checker/gauss_markov_checker.h"
#include "hypothesis_testing/hypothesis_testing.h"
#include "lin_alg/lin_alg.h"
#include "numerical_analysis/numerical_analysis.h"
#include "regularization/reg.h"
#include "stat/stat.h"
#include "transforms/transforms.h"
#include "utilities/utilities.h"
#include "mlpp/hidden_layer/hidden_layer.h"
#include "mlpp/multi_output_layer/multi_output_layer.h"
#include "mlpp/output_layer/output_layer.h"
#include "hidden_layer/hidden_layer.h"
#include "multi_output_layer/multi_output_layer.h"
#include "output_layer/output_layer.h"
#include "mlpp/ann/ann.h"
#include "mlpp/auto_encoder/auto_encoder.h"
#include "mlpp/bernoulli_nb/bernoulli_nb.h"
#include "mlpp/c_log_log_reg/c_log_log_reg.h"
#include "mlpp/dual_svc/dual_svc.h"
#include "mlpp/exp_reg/exp_reg.h"
#include "mlpp/gan/gan.h"
#include "mlpp/gaussian_nb/gaussian_nb.h"
#include "mlpp/kmeans/kmeans.h"
#include "mlpp/knn/knn.h"
#include "mlpp/lin_reg/lin_reg.h"
#include "mlpp/log_reg/log_reg.h"
#include "mlpp/mann/mann.h"
#include "mlpp/mlp/mlp.h"
#include "mlpp/multinomial_nb/multinomial_nb.h"
#include "mlpp/outlier_finder/outlier_finder.h"
#include "mlpp/pca/pca.h"
#include "mlpp/probit_reg/probit_reg.h"
#include "mlpp/softmax_net/softmax_net.h"
#include "mlpp/softmax_reg/softmax_reg.h"
#include "mlpp/svc/svc.h"
#include "mlpp/tanh_reg/tanh_reg.h"
#include "mlpp/uni_lin_reg/uni_lin_reg.h"
#include "mlpp/wgan/wgan.h"
#include "ann/ann.h"
#include "auto_encoder/auto_encoder.h"
#include "bernoulli_nb/bernoulli_nb.h"
#include "c_log_log_reg/c_log_log_reg.h"
#include "dual_svc/dual_svc.h"
#include "exp_reg/exp_reg.h"
#include "gan/gan.h"
#include "gaussian_nb/gaussian_nb.h"
#include "kmeans/kmeans.h"
#include "knn/knn.h"
#include "lin_reg/lin_reg.h"
#include "log_reg/log_reg.h"
#include "mann/mann.h"
#include "mlp/mlp.h"
#include "multinomial_nb/multinomial_nb.h"
#include "outlier_finder/outlier_finder.h"
#include "pca/pca.h"
#include "probit_reg/probit_reg.h"
#include "softmax_net/softmax_net.h"
#include "softmax_reg/softmax_reg.h"
#include "svc/svc.h"
#include "tanh_reg/tanh_reg.h"
#include "uni_lin_reg/uni_lin_reg.h"
#include "wgan/wgan.h"
#ifdef TESTS_ENABLED
#include "test/mlpp_matrix_tests.h"

View File

@ -32,7 +32,7 @@
#include "core/log/logger.h"
#include "../mlpp/lin_alg/mlpp_matrix.h"
#include "../lin_alg/mlpp_matrix.h"
void MLPPMatrixTests::run_tests() {
PLOG_MSG("RUNNIG MLPPMatrixTests!");

View File

@ -40,41 +40,41 @@
#include <iostream>
#include <vector>
#include "../mlpp/lin_alg/mlpp_matrix.h"
#include "../mlpp/lin_alg/mlpp_vector.h"
#include "../lin_alg/mlpp_matrix.h"
#include "../lin_alg/mlpp_vector.h"
#include "../mlpp/activation/activation.h"
#include "../mlpp/ann/ann.h"
#include "../mlpp/auto_encoder/auto_encoder.h"
#include "../mlpp/bernoulli_nb/bernoulli_nb.h"
#include "../mlpp/c_log_log_reg/c_log_log_reg.h"
#include "../mlpp/convolutions/convolutions.h"
#include "../mlpp/cost/cost.h"
#include "../mlpp/data/data.h"
#include "../mlpp/dual_svc/dual_svc.h"
#include "../mlpp/exp_reg/exp_reg.h"
#include "../mlpp/gan/gan.h"
#include "../mlpp/gaussian_nb/gaussian_nb.h"
#include "../mlpp/kmeans/kmeans.h"
#include "../mlpp/knn/knn.h"
#include "../mlpp/lin_alg/lin_alg.h"
#include "../mlpp/lin_reg/lin_reg.h"
#include "../mlpp/log_reg/log_reg.h"
#include "../mlpp/mann/mann.h"
#include "../mlpp/mlp/mlp.h"
#include "../mlpp/multinomial_nb/multinomial_nb.h"
#include "../mlpp/numerical_analysis/numerical_analysis.h"
#include "../mlpp/outlier_finder/outlier_finder.h"
#include "../mlpp/pca/pca.h"
#include "../mlpp/probit_reg/probit_reg.h"
#include "../mlpp/softmax_net/softmax_net.h"
#include "../mlpp/softmax_reg/softmax_reg.h"
#include "../mlpp/stat/stat.h"
#include "../mlpp/svc/svc.h"
#include "../mlpp/tanh_reg/tanh_reg.h"
#include "../mlpp/transforms/transforms.h"
#include "../mlpp/uni_lin_reg/uni_lin_reg.h"
#include "../mlpp/wgan/wgan.h"
#include "../activation/activation.h"
#include "../ann/ann.h"
#include "../auto_encoder/auto_encoder.h"
#include "../bernoulli_nb/bernoulli_nb.h"
#include "../c_log_log_reg/c_log_log_reg.h"
#include "../convolutions/convolutions.h"
#include "../cost/cost.h"
#include "../data/data.h"
#include "../dual_svc/dual_svc.h"
#include "../exp_reg/exp_reg.h"
#include "../gan/gan.h"
#include "../gaussian_nb/gaussian_nb.h"
#include "../kmeans/kmeans.h"
#include "../knn/knn.h"
#include "../lin_alg/lin_alg.h"
#include "../lin_reg/lin_reg.h"
#include "../log_reg/log_reg.h"
#include "../mann/mann.h"
#include "../mlp/mlp.h"
#include "../multinomial_nb/multinomial_nb.h"
#include "../numerical_analysis/numerical_analysis.h"
#include "../outlier_finder/outlier_finder.h"
#include "../pca/pca.h"
#include "../probit_reg/probit_reg.h"
#include "../softmax_net/softmax_net.h"
#include "../softmax_reg/softmax_reg.h"
#include "../stat/stat.h"
#include "../svc/svc.h"
#include "../tanh_reg/tanh_reg.h"
#include "../transforms/transforms.h"
#include "../uni_lin_reg/uni_lin_reg.h"
#include "../wgan/wgan.h"
Vector<real_t> dstd_vec_to_vec(const std::vector<real_t> &in) {
Vector<real_t> r;