pmlpp/platform/main/main.cpp

30 lines
854 B
C++
Raw Normal View History

2024-01-25 12:49:59 +01:00
2024-01-25 16:33:10 +01:00
#include "sfw.h"
#include "test/mlpp_tests.h"
#include "test/mlpp_matrix_tests.h"
2024-01-25 16:33:10 +01:00
2024-01-25 12:49:59 +01:00
int main() {
2024-01-25 16:33:10 +01:00
SFWCore::setup();
Ref<MLPPTests> tests;
tests.instance();
2024-01-25 16:33:10 +01:00
tests->_breast_cancer_data_path = "bin/datasets/BreastCancer.csv";
tests->_breast_cancer_svm_data_path = "bin/datasets/BreastCancerSVM.csv";
tests->_california_housing_data_path = "bin/datasets/CaliforniaHousing.csv";
tests->_fires_and_crime_data_path = "bin/datasets/FiresAndCrime.csv";
tests->_iris_data_path = "bin/datasets/Iris.csv";
tests->_mnist_test_data_path = "bin/datasets/MnistTest.csv";
tests->_mnist_train_data_path = "bin/datasets/MnistTrain.csv";
tests->_wine_data_path = "bin/datasets/Wine.csv";
2024-01-25 16:33:10 +01:00
tests->test_statistics();
tests->test_multivariate_linear_regression_gradient_descent(false);
tests->test_softmax_regression(false);
2024-01-25 16:33:10 +01:00
SFWCore::cleanup();
2024-01-25 12:49:59 +01:00
2024-01-25 16:33:10 +01:00
return 0;
2024-01-25 12:49:59 +01:00
}