Make the test dataset locations customizable in a very temporary way.

This commit is contained in:
Relintai 2024-01-25 16:54:17 +01:00
parent 1cd8c0e134
commit dd85d5888b
2 changed files with 12 additions and 2 deletions

View File

@ -10,9 +10,18 @@ int main() {
Ref<MLPPTests> tests;
tests.instance();
tests->test_statistics();
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";
//tests->test_multivariate_linear_regression_gradient_descent(true);
tests->test_statistics();
tests->test_multivariate_linear_regression_gradient_descent(false);
tests->test_softmax_regression(false);
SFWCore::cleanup();

View File

@ -113,6 +113,7 @@ public:
protected:
static void _bind_methods();
public:
String _breast_cancer_data_path;
String _breast_cancer_svm_data_path;
String _california_housing_data_path;