forked from huawei-noah/streamDM-Cpp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
makefile
82 lines (68 loc) · 2.88 KB
/
makefile
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
sourcefiles_core = \
code/src/core/Attribute.cpp \
code/src/core/DenseInstance.cpp \
code/src/core/DiscreteEstimator.cpp \
code/src/core/DoubleVector.cpp \
code/src/core/GaussianEstimator.cpp \
code/src/core/Instance.cpp \
code/src/core/InstanceInformation.cpp \
code/src/core/SparseEstimator.cpp \
code/src/core/SparseInstance.cpp \
code/src/core/SplitCriterion.cpp \
code/src/utils/Utils.cpp \
code/src/utils/Log.cpp \
code/src/utils/CommandLineParser.cpp \
code/src/utils/Configurable.cpp \
code/src/utils/DynamicCreateClass.cpp \
code/src/utils/jsoncpp.cpp \
code/src/utils/LearnerModel.cpp \
code/src/utils/RTTI.cpp \
code/src/streams/Reader.cpp \
code/src/streams/ArffReader.cpp \
code/src/streams/C45Reader.cpp \
code/src/streams/CSVReader.cpp \
code/src/streams/LibSVMReader.cpp \
code/src/evaluation/BasicClassificationEvaluator.cpp \
code/src/evaluation/Evaluator.cpp \
code/src/evaluation/Measures.cpp \
code/src/evaluation/NullEvaluator.cpp \
code/src/learners/Learner.cpp \
code/src/learners/Classifiers/Functions/Logisticregression.cpp \
code/src/learners/Classifiers/Functions/Majorityclass.cpp \
code/src/learners/Classifiers/Functions/Perceptron.cpp \
code/src/learners/Classifiers/Bayes/NaiveBayesStatistics.cpp \
code/src/learners/Classifiers/Bayes/Naivebayes.cpp \
code/src/learners/Classifiers/Bayes/SimpleNaiveBayesStatistics.cpp \
code/src/learners/Classifiers/Meta/Bagging.cpp \
code/src/learners/Classifiers/Bayes/observer/NominalAttributeClassObserver.cpp \
code/src/learners/Classifiers/Bayes/observer/NumericAttributeClassObserver.cpp \
code/src/learners/Classifiers/Trees/ADWIN.cpp \
code/src/learners/Classifiers/Trees/AttributeSplitSuggestion.cpp \
code/src/learners/Classifiers/Trees/HATNode.cpp \
code/src/learners/Classifiers/Trees/HoeffdingAdaptiveTree.cpp \
code/src/learners/Classifiers/Trees/HoeffdingTree.cpp \
code/src/learners/Classifiers/Trees/HTAttributeClassObserver.cpp \
code/src/learners/Classifiers/Trees/HTNode.cpp \
code/src/learners/Classifiers/Trees/InstanceConditionalTest.cpp \
code/src/tasks/EvaluatePrequential.cpp \
code/src/tasks/EvaluateHoldOut.cpp \
code/src/tasks/Task.cpp \
code/src/main.cpp
sourcefiles = $(sourcefiles_core)
targetfile = streamdm-cpp
includepath = -Icode/src/core -Icode/src/learners -Icode/src \
-Icode/src/utils -Icode/src/learners/classifiers/Bayes \
-Icode/src/tasks -Icode/src/learners/classifiers/Trees \
-Icode/src/learners/Classifiers/Bayes/observer/ \
-Icode/src/learners/Classifiers/Meta/ \
-Icode/src/learners/Classifiers/Functions/ \
-Icode/src/evaluation/ \
-Icode/src/streams/
glog = -lglog -lpthread
log4cxx = -llog4cxx
log4cpp = -llog4cpp -lpthread
debug = -g
warning = -Wall -Wno-sign-compare -Wno-nonnull -Wno-unused-variable
flags = -std=c++11 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE64 -O3 -DUNIX $(debug)
all:
g++ $(sourcefiles) $(includepath) $(log4cpp) $(flags) -o $(targetfile)