-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
28 lines (26 loc) · 14.6 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
cmake_minimum_required(VERSION 3.12)
project(Classification)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_FLAGS "-O3")
find_package(dictionary REQUIRED)
find_package(sampling REQUIRED)
find_package(data_structure REQUIRED)
find_package(util REQUIRED)
add_library(Classification src/Attribute/AttributeType.h src/Attribute/Attribute.h src/Attribute/BinaryAttribute.cpp src/Attribute/BinaryAttribute.h src/Attribute/DiscreteAttribute.cpp src/Attribute/DiscreteAttribute.h src/Attribute/DiscreteIndexedAttribute.cpp src/Attribute/DiscreteIndexedAttribute.h src/Attribute/ContinuousAttribute.cpp src/Attribute/ContinuousAttribute.h src/Instance/Instance.cpp src/Instance/Instance.h src/Instance/CompositeInstance.cpp src/Instance/CompositeInstance.h src/InstanceList/Partition.cpp src/InstanceList/Partition.h src/InstanceList/InstanceList.cpp src/InstanceList/InstanceList.h src/DataSet/DataDefinition.cpp src/DataSet/DataDefinition.h src/InstanceList/InstanceListOfSameClass.cpp src/InstanceList/InstanceListOfSameClass.h src/Parameter/Parameter.cpp src/Parameter/Parameter.h src/Parameter/BaggingParameter.cpp src/Parameter/BaggingParameter.h src/Parameter/C45Parameter.cpp src/Parameter/C45Parameter.h src/Parameter/RandomForestParameter.cpp src/Parameter/RandomForestParameter.h src/Parameter/LinearPerceptronParameter.cpp src/Parameter/LinearPerceptronParameter.h src/Parameter/MultiLayerPerceptronParameter.cpp src/Parameter/MultiLayerPerceptronParameter.h src/Parameter/DeepNetworkParameter.cpp src/Parameter/DeepNetworkParameter.h src/DataSet/DataSet.cpp src/DataSet/DataSet.h src/DistanceMetric/DistanceMetric.h src/DistanceMetric/EuclidianDistance.cpp src/DistanceMetric/EuclidianDistance.h src/DistanceMetric/MahalanobisDistance.cpp src/DistanceMetric/MahalanobisDistance.h src/Performance/Performance.cpp src/Performance/Performance.h src/Performance/ClassificationPerformance.cpp src/Performance/ClassificationPerformance.h src/Performance/ConfusionMatrix.cpp src/Performance/ConfusionMatrix.h src/Performance/ClassificationAlgorithmExpectedException.cpp src/Performance/ClassificationAlgorithmExpectedException.h src/Performance/DetailedClassificationPerformance.cpp src/Performance/DetailedClassificationPerformance.h src/Performance/ExperimentPerformance.cpp src/Performance/ExperimentPerformance.h src/StatisticalTest/StatisticalTestResultType.h src/StatisticalTest/PairedTest.cpp src/StatisticalTest/PairedTest.h src/StatisticalTest/StatisticalTestNotApplicable.cpp src/StatisticalTest/StatisticalTestNotApplicable.h src/StatisticalTest/StatisticalTestResult.cpp src/StatisticalTest/StatisticalTestResult.h src/StatisticalTest/Sign.cpp src/StatisticalTest/Sign.h src/StatisticalTest/Pairedt.cpp src/StatisticalTest/Pairedt.h src/StatisticalTest/Paired5x2t.cpp src/StatisticalTest/Paired5x2t.h src/StatisticalTest/Combined5x2t.cpp src/StatisticalTest/Combined5x2t.h src/StatisticalTest/Combined5x2f.cpp src/StatisticalTest/Combined5x2f.h src/Filter/FeatureFilter.cpp src/Filter/FeatureFilter.h src/Filter/LaryFilter.cpp src/Filter/LaryFilter.h src/Filter/TrainedFeatureFilter.cpp src/Filter/TrainedFeatureFilter.h src/Filter/DiscreteToContinuous.cpp src/Filter/DiscreteToContinuous.h src/Filter/LaryToBinary.cpp src/Filter/LaryToBinary.h src/Filter/DiscreteToIndexed.cpp src/Filter/DiscreteToIndexed.h src/Filter/Normalize.cpp src/Filter/Normalize.h src/Filter/Pca.cpp src/Filter/Pca.h src/Experiment/Experiment.cpp src/Experiment/Experiment.h src/Experiment/SingleRun.h src/Experiment/MultipleRun.h src/Experiment/BootstrapRun.cpp src/Experiment/BootstrapRun.h src/Model/Model.h src/Experiment/KFoldRun.cpp src/Experiment/KFoldRun.h src/Experiment/KFoldRunSeparateTest.cpp src/Experiment/KFoldRunSeparateTest.h src/Experiment/MxKFoldRun.cpp src/Experiment/MxKFoldRun.h src/Experiment/MxKFoldRunSeparateTest.cpp src/Experiment/MxKFoldRunSeparateTest.h src/Experiment/SingleRunWithK.cpp src/Experiment/SingleRunWithK.h src/Experiment/StratifiedKFoldRun.cpp src/Experiment/StratifiedKFoldRun.h src/Experiment/StratifiedKFoldRunSeparateTest.cpp src/Experiment/StratifiedKFoldRunSeparateTest.h src/Experiment/StratifiedMxKFoldRun.cpp src/Experiment/StratifiedMxKFoldRun.h src/Experiment/StratifiedMxKFoldRunSeparateTest.cpp src/Experiment/StratifiedMxKFoldRunSeparateTest.h src/Experiment/StratifiedSingleRunWithK.cpp src/Experiment/StratifiedSingleRunWithK.h src/Model/DummyModel.cpp src/Model/DummyModel.h src/Model/RandomModel.cpp src/Model/RandomModel.h src/Model/ValidatedModel.cpp src/Model/ValidatedModel.h src/Model/Parametric/GaussianModel.cpp src/Model/Parametric/GaussianModel.h src/Model/Parametric/LdaModel.cpp src/Model/Parametric/LdaModel.h src/Model/Parametric/QdaModel.cpp src/Model/Parametric/QdaModel.h src/Model/Parametric/NaiveBayesModel.cpp src/Model/Parametric/NaiveBayesModel.h src/Model/Parametric/KMeansModel.cpp src/Model/Parametric/KMeansModel.h src/Parameter/KMeansParameter.cpp src/Parameter/KMeansParameter.h src/Parameter/KnnParameter.cpp src/Parameter/KnnParameter.h src/Model/NonParametric/KnnModel.cpp src/Model/NonParametric/KnnModel.h src/Model/NonParametric/KnnInstance.cpp src/Model/NonParametric/KnnInstance.h src/Model/NeuralNetwork/NeuralNetworkModel.cpp src/Model/NeuralNetwork/NeuralNetworkModel.h src/Model/NeuralNetwork/LinearPerceptronModel.cpp src/Model/NeuralNetwork/LinearPerceptronModel.h src/FeatureSelection/FeatureSubSet.cpp src/FeatureSelection/FeatureSubSet.h src/FeatureSelection/SubSetSelection.cpp src/FeatureSelection/SubSetSelection.h src/FeatureSelection/BackwardSelection.cpp src/FeatureSelection/BackwardSelection.h src/FeatureSelection/ForwardSelection.cpp src/FeatureSelection/ForwardSelection.h src/FeatureSelection/FloatingSelection.cpp src/FeatureSelection/FloatingSelection.h src/Model/NeuralNetwork/AutoEncoderModel.cpp src/Model/NeuralNetwork/AutoEncoderModel.h src/Model/NeuralNetwork/MultiLayerPerceptronModel.cpp src/Model/NeuralNetwork/MultiLayerPerceptronModel.h src/Model/NeuralNetwork/DeepNetworkModel.cpp src/Model/NeuralNetwork/DeepNetworkModel.h src/Model/Svm/KernelType.h src/Model/Svm/AlphaStatusType.h src/Model/Svm/Node.cpp src/Model/Svm/Node.h src/Model/Svm/NodeList.cpp src/Model/Svm/NodeList.h src/Model/Svm/SolutionInfo.cpp src/Model/Svm/SolutionInfo.h src/Model/Svm/Problem.cpp src/Model/Svm/Problem.h src/Model/Svm/Kernel.cpp src/Model/Svm/Kernel.h src/Parameter/SvmParameter.cpp src/Parameter/SvmParameter.h src/Model/Svm/QMatrix.cpp src/Model/Svm/QMatrix.h src/Model/Svm/Solver.cpp src/Model/Svm/Solver.h src/Model/Svm/SvmModel.cpp src/Model/Svm/SvmModel.h src/Model/DecisionTree/DecisionCondition.cpp src/Model/DecisionTree/DecisionCondition.h src/Model/DecisionTree/DecisionNode.cpp src/Model/DecisionTree/DecisionNode.h src/Model/DecisionTree/DecisionTree.cpp src/Model/DecisionTree/DecisionTree.h src/Model/Ensemble/TreeEnsembleModel.cpp src/Model/Ensemble/TreeEnsembleModel.h src/Model/DiscreteFeaturesNotAllowed.cpp src/Model/DiscreteFeaturesNotAllowed.h src/Parameter/ActivationFunction.h
src/Model/Model.cpp
src/Model/DecisionTree/DecisionStump.cpp
src/Model/DecisionTree/DecisionStump.h
src/Model/Ensemble/BaggingModel.cpp
src/Model/Ensemble/BaggingModel.h
src/Model/Ensemble/RandomForestModel.cpp
src/Model/Ensemble/RandomForestModel.h)
target_link_libraries(Classification dictionary::dictionary sampling::sampling data_structure::data_structure util::util)
add_executable(Test src/Attribute/AttributeType.h src/Attribute/Attribute.h src/Attribute/BinaryAttribute.cpp src/Attribute/BinaryAttribute.h src/Attribute/DiscreteAttribute.cpp src/Attribute/DiscreteAttribute.h src/Attribute/DiscreteIndexedAttribute.cpp src/Attribute/DiscreteIndexedAttribute.h src/Attribute/ContinuousAttribute.cpp src/Attribute/ContinuousAttribute.h src/Instance/Instance.cpp src/Instance/Instance.h src/Instance/CompositeInstance.cpp src/Instance/CompositeInstance.h src/InstanceList/Partition.cpp src/InstanceList/Partition.h src/InstanceList/InstanceList.cpp src/InstanceList/InstanceList.h src/DataSet/DataDefinition.cpp src/DataSet/DataDefinition.h src/InstanceList/InstanceListOfSameClass.cpp src/InstanceList/InstanceListOfSameClass.h src/Parameter/Parameter.cpp src/Parameter/Parameter.h src/Parameter/BaggingParameter.cpp src/Parameter/BaggingParameter.h src/Parameter/C45Parameter.cpp src/Parameter/C45Parameter.h src/Parameter/RandomForestParameter.cpp src/Parameter/RandomForestParameter.h src/Parameter/LinearPerceptronParameter.cpp src/Parameter/LinearPerceptronParameter.h src/Parameter/MultiLayerPerceptronParameter.cpp src/Parameter/MultiLayerPerceptronParameter.h src/Parameter/DeepNetworkParameter.cpp src/Parameter/DeepNetworkParameter.h src/DataSet/DataSet.cpp src/DataSet/DataSet.h src/DistanceMetric/DistanceMetric.h src/DistanceMetric/EuclidianDistance.cpp src/DistanceMetric/EuclidianDistance.h src/DistanceMetric/MahalanobisDistance.cpp src/DistanceMetric/MahalanobisDistance.h src/Performance/Performance.cpp src/Performance/Performance.h src/Performance/ClassificationPerformance.cpp src/Performance/ClassificationPerformance.h src/Performance/ConfusionMatrix.cpp src/Performance/ConfusionMatrix.h src/Performance/ClassificationAlgorithmExpectedException.cpp src/Performance/ClassificationAlgorithmExpectedException.h src/Performance/DetailedClassificationPerformance.cpp src/Performance/DetailedClassificationPerformance.h src/Performance/ExperimentPerformance.cpp src/Performance/ExperimentPerformance.h src/StatisticalTest/StatisticalTestResultType.h src/StatisticalTest/PairedTest.cpp src/StatisticalTest/PairedTest.h src/StatisticalTest/StatisticalTestNotApplicable.cpp src/StatisticalTest/StatisticalTestNotApplicable.h src/StatisticalTest/StatisticalTestResult.cpp src/StatisticalTest/StatisticalTestResult.h src/StatisticalTest/Sign.cpp src/StatisticalTest/Sign.h src/StatisticalTest/Pairedt.cpp src/StatisticalTest/Pairedt.h src/StatisticalTest/Paired5x2t.cpp src/StatisticalTest/Paired5x2t.h src/StatisticalTest/Combined5x2t.cpp src/StatisticalTest/Combined5x2t.h src/StatisticalTest/Combined5x2f.cpp src/StatisticalTest/Combined5x2f.h src/Filter/FeatureFilter.cpp src/Filter/FeatureFilter.h src/Filter/LaryFilter.cpp src/Filter/LaryFilter.h src/Filter/TrainedFeatureFilter.cpp src/Filter/TrainedFeatureFilter.h src/Filter/DiscreteToContinuous.cpp src/Filter/DiscreteToContinuous.h src/Filter/LaryToBinary.cpp src/Filter/LaryToBinary.h src/Filter/DiscreteToIndexed.cpp src/Filter/DiscreteToIndexed.h src/Filter/Normalize.cpp src/Filter/Normalize.h src/Filter/Pca.cpp src/Filter/Pca.h src/Experiment/Experiment.cpp src/Experiment/Experiment.h src/Experiment/SingleRun.h src/Experiment/MultipleRun.h src/Experiment/BootstrapRun.cpp src/Experiment/BootstrapRun.h src/Model/Model.h src/Experiment/KFoldRun.cpp src/Experiment/KFoldRun.h src/Experiment/KFoldRunSeparateTest.cpp src/Experiment/KFoldRunSeparateTest.h src/Experiment/MxKFoldRun.cpp src/Experiment/MxKFoldRun.h src/Experiment/MxKFoldRunSeparateTest.cpp src/Experiment/MxKFoldRunSeparateTest.h src/Experiment/SingleRunWithK.cpp src/Experiment/SingleRunWithK.h src/Experiment/StratifiedKFoldRun.cpp src/Experiment/StratifiedKFoldRun.h src/Experiment/StratifiedKFoldRunSeparateTest.cpp src/Experiment/StratifiedKFoldRunSeparateTest.h src/Experiment/StratifiedMxKFoldRun.cpp src/Experiment/StratifiedMxKFoldRun.h src/Experiment/StratifiedMxKFoldRunSeparateTest.cpp src/Experiment/StratifiedMxKFoldRunSeparateTest.h src/Experiment/StratifiedSingleRunWithK.cpp src/Experiment/StratifiedSingleRunWithK.h src/Model/DummyModel.cpp src/Model/DummyModel.h src/Model/RandomModel.cpp src/Model/RandomModel.h src/Model/ValidatedModel.cpp src/Model/ValidatedModel.h src/Model/Parametric/GaussianModel.cpp src/Model/Parametric/GaussianModel.h src/Model/Parametric/LdaModel.cpp src/Model/Parametric/LdaModel.h src/Model/Parametric/QdaModel.cpp src/Model/Parametric/QdaModel.h src/Model/Parametric/NaiveBayesModel.cpp src/Model/Parametric/NaiveBayesModel.h src/Model/Parametric/KMeansModel.cpp src/Model/Parametric/KMeansModel.h src/Parameter/KMeansParameter.cpp src/Parameter/KMeansParameter.h src/Parameter/KnnParameter.cpp src/Parameter/KnnParameter.h src/Model/NonParametric/KnnModel.cpp src/Model/NonParametric/KnnModel.h src/Model/NonParametric/KnnInstance.cpp src/Model/NonParametric/KnnInstance.h src/Model/NeuralNetwork/NeuralNetworkModel.cpp src/Model/NeuralNetwork/NeuralNetworkModel.h src/Model/NeuralNetwork/LinearPerceptronModel.cpp src/Model/NeuralNetwork/LinearPerceptronModel.h src/FeatureSelection/FeatureSubSet.cpp src/FeatureSelection/FeatureSubSet.h src/FeatureSelection/SubSetSelection.cpp src/FeatureSelection/SubSetSelection.h src/FeatureSelection/BackwardSelection.cpp src/FeatureSelection/BackwardSelection.h src/FeatureSelection/ForwardSelection.cpp src/FeatureSelection/ForwardSelection.h src/FeatureSelection/FloatingSelection.cpp src/FeatureSelection/FloatingSelection.h src/Model/NeuralNetwork/AutoEncoderModel.cpp src/Model/NeuralNetwork/AutoEncoderModel.h src/Model/NeuralNetwork/MultiLayerPerceptronModel.cpp src/Model/NeuralNetwork/MultiLayerPerceptronModel.h src/Model/NeuralNetwork/DeepNetworkModel.cpp src/Model/NeuralNetwork/DeepNetworkModel.h src/Model/Svm/KernelType.h src/Model/Svm/AlphaStatusType.h src/Model/Svm/Node.cpp src/Model/Svm/Node.h src/Model/Svm/NodeList.cpp src/Model/Svm/NodeList.h src/Model/Svm/SolutionInfo.cpp src/Model/Svm/SolutionInfo.h src/Model/Svm/Problem.cpp src/Model/Svm/Problem.h src/Model/Svm/Kernel.cpp src/Model/Svm/Kernel.h src/Parameter/SvmParameter.cpp src/Parameter/SvmParameter.h src/Model/Svm/QMatrix.cpp src/Model/Svm/QMatrix.h src/Model/Svm/Solver.cpp src/Model/Svm/Solver.h src/Model/Svm/SvmModel.cpp src/Model/Svm/SvmModel.h src/Model/DecisionTree/DecisionCondition.cpp src/Model/DecisionTree/DecisionCondition.h src/Model/DecisionTree/DecisionNode.cpp src/Model/DecisionTree/DecisionNode.h src/Model/DecisionTree/DecisionTree.cpp src/Model/DecisionTree/DecisionTree.h src/Model/Ensemble/TreeEnsembleModel.cpp src/Model/Ensemble/TreeEnsembleModel.h src/Model/DiscreteFeaturesNotAllowed.cpp src/Model/DiscreteFeaturesNotAllowed.h Test/DataSetTest.cpp Test/DummyTest.cpp Test/KMeansTest.cpp Test/RandomClassifierTest.cpp Test/C45StumpTest.cpp Test/KnnTest.cpp Test/C45Test.cpp Test/NaiveBayesTest.cpp Test/LdaTest.cpp Test/QdaTest.cpp Test/BaggingTest.cpp Test/RandomForestTest.cpp Test/LinearPerceptronTest.cpp Test/MultiLayerPerceptronTest.cpp Test/DeepNetworkTest.cpp src/Parameter/ActivationFunction.h
src/Model/Model.cpp
src/Model/DecisionTree/DecisionStump.cpp
src/Model/DecisionTree/DecisionStump.h
src/Model/Ensemble/BaggingModel.cpp
src/Model/Ensemble/BaggingModel.h
src/Model/Ensemble/RandomForestModel.cpp
src/Model/Ensemble/RandomForestModel.h)
target_link_libraries(Test dictionary::dictionary sampling::sampling data_structure::data_structure util::util)