diff --git a/out/artifacts/rest4mex/WEB-INF/classes/MexController.class b/out/artifacts/rest4mex/WEB-INF/classes/MexController.class
index 2182f32..3bedbab 100644
Binary files a/out/artifacts/rest4mex/WEB-INF/classes/MexController.class and b/out/artifacts/rest4mex/WEB-INF/classes/MexController.class differ
diff --git a/out/artifacts/rest4mex/WEB-INF/classes/MexServlet.class b/out/artifacts/rest4mex/WEB-INF/classes/MexServlet.class
index f8955ee..dfdfc92 100644
Binary files a/out/artifacts/rest4mex/WEB-INF/classes/MexServlet.class and b/out/artifacts/rest4mex/WEB-INF/classes/MexServlet.class differ
diff --git a/out/artifacts/rest4mex_war/rest4mex_war.war b/out/artifacts/rest4mex_war/rest4mex_war.war
new file mode 100644
index 0000000..e216750
Binary files /dev/null and b/out/artifacts/rest4mex_war/rest4mex_war.war differ
diff --git a/out/artifacts/rest4mex_war_exploded/META-INF/MANIFEST.MF b/out/artifacts/rest4mex_war_exploded/META-INF/MANIFEST.MF
index 977fb2f..98679b5 100644
--- a/out/artifacts/rest4mex_war_exploded/META-INF/MANIFEST.MF
+++ b/out/artifacts/rest4mex_war_exploded/META-INF/MANIFEST.MF
@@ -1,5 +1,5 @@
Manifest-Version: 1.0
Built-By: igorcosta
Created-By: IntelliJ IDEA
-Build-Jdk: 1.8.0_77
+Build-Jdk: 1.8.0_101
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/META-INF/beans.xml b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/META-INF/beans.xml
new file mode 100644
index 0000000..34d2511
--- /dev/null
+++ b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/META-INF/beans.xml
@@ -0,0 +1,8 @@
+
+
+
\ No newline at end of file
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/MexController.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/MexController.class
new file mode 100644
index 0000000..3bedbab
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/MexController.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/iris.arff b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/iris.arff
new file mode 100644
index 0000000..e460a95
--- /dev/null
+++ b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/iris.arff
@@ -0,0 +1,225 @@
+% 1. Title: Iris Plants Database
+%
+% 2. Sources:
+% (a) Creator: R.A. Fisher
+% (b) Donor: Michael Marshall (MARSHALL%PLU@io.arc.nasa.gov)
+% (c) Date: July, 1988
+%
+% 3. Past Usage:
+% - Publications: too many to mention!!! Here are a few.
+% 1. Fisher,R.A. "The use of multiple measurements in taxonomic problems"
+% Annual Eugenics, 7, Part II, 179-188 (1936); also in "Contributions
+% to Mathematical Statistics" (John Wiley, NY, 1950).
+% 2. Duda,R.O., & Hart,P.E. (1973) Pattern Classification and Scene Analysis.
+% (Q327.D83) John Wiley & Sons. ISBN 0-471-22361-1. See page 218.
+% 3. Dasarathy, B.V. (1980) "Nosing Around the Neighborhood: A New System
+% Structure and Classification Rule for Recognition in Partially Exposed
+% Environments". IEEE Transactions on Pattern Analysis and Machine
+% Intelligence, Vol. PAMI-2, No. 1, 67-71.
+% -- Results:
+% -- very low misclassification rates (0% for the setosa class)
+% 4. Gates, G.W. (1972) "The Reduced Nearest Neighbor Rule". IEEE
+% Transactions on Information Theory, May 1972, 431-433.
+% -- Results:
+% -- very low misclassification rates again
+% 5. See also: 1988 MLC Proceedings, 54-64. Cheeseman et al's AUTOCLASS II
+% conceptual clustering system finds 3 classes in the data.
+%
+% 4. Relevant Information:
+% --- This is perhaps the best known database to be found in the pattern
+% recognition literature. Fisher's paper is a classic in the field
+% and is referenced frequently to this day. (See Duda & Hart, for
+% example.) The data set contains 3 classes of 50 instances each,
+% where each class refers to a type of iris plant. One class is
+% linearly separable from the other 2; the latter are NOT linearly
+% separable from each other.
+% --- Predicted attribute: class of iris plant.
+% --- This is an exceedingly simple domain.
+%
+% 5. Number of Instances: 150 (50 in each of three classes)
+%
+% 6. Number of Attributes: 4 numeric, predictive attributes and the class
+%
+% 7. Attribute Information:
+% 1. sepal length in cm
+% 2. sepal width in cm
+% 3. petal length in cm
+% 4. petal width in cm
+% 5. class:
+% -- Iris Setosa
+% -- Iris Versicolour
+% -- Iris Virginica
+%
+% 8. Missing Attribute Values: None
+%
+% Summary Statistics:
+% Min Max Mean SD Class Correlation
+% sepal length: 4.3 7.9 5.84 0.83 0.7826
+% sepal width: 2.0 4.4 3.05 0.43 -0.4194
+% petal length: 1.0 6.9 3.76 1.76 0.9490 (high!)
+% petal width: 0.1 2.5 1.20 0.76 0.9565 (high!)
+%
+% 9. Class Distribution: 33.3% for each of 3 classes.
+
+@RELATION iris
+
+@ATTRIBUTE sepallength REAL
+@ATTRIBUTE sepalwidth REAL
+@ATTRIBUTE petallength REAL
+@ATTRIBUTE petalwidth REAL
+@ATTRIBUTE class {Iris-setosa,Iris-versicolor,Iris-virginica}
+
+@DATA
+5.1,3.5,1.4,0.2,Iris-setosa
+4.9,3.0,1.4,0.2,Iris-setosa
+4.7,3.2,1.3,0.2,Iris-setosa
+4.6,3.1,1.5,0.2,Iris-setosa
+5.0,3.6,1.4,0.2,Iris-setosa
+5.4,3.9,1.7,0.4,Iris-setosa
+4.6,3.4,1.4,0.3,Iris-setosa
+5.0,3.4,1.5,0.2,Iris-setosa
+4.4,2.9,1.4,0.2,Iris-setosa
+4.9,3.1,1.5,0.1,Iris-setosa
+5.4,3.7,1.5,0.2,Iris-setosa
+4.8,3.4,1.6,0.2,Iris-setosa
+4.8,3.0,1.4,0.1,Iris-setosa
+4.3,3.0,1.1,0.1,Iris-setosa
+5.8,4.0,1.2,0.2,Iris-setosa
+5.7,4.4,1.5,0.4,Iris-setosa
+5.4,3.9,1.3,0.4,Iris-setosa
+5.1,3.5,1.4,0.3,Iris-setosa
+5.7,3.8,1.7,0.3,Iris-setosa
+5.1,3.8,1.5,0.3,Iris-setosa
+5.4,3.4,1.7,0.2,Iris-setosa
+5.1,3.7,1.5,0.4,Iris-setosa
+4.6,3.6,1.0,0.2,Iris-setosa
+5.1,3.3,1.7,0.5,Iris-setosa
+4.8,3.4,1.9,0.2,Iris-setosa
+5.0,3.0,1.6,0.2,Iris-setosa
+5.0,3.4,1.6,0.4,Iris-setosa
+5.2,3.5,1.5,0.2,Iris-setosa
+5.2,3.4,1.4,0.2,Iris-setosa
+4.7,3.2,1.6,0.2,Iris-setosa
+4.8,3.1,1.6,0.2,Iris-setosa
+5.4,3.4,1.5,0.4,Iris-setosa
+5.2,4.1,1.5,0.1,Iris-setosa
+5.5,4.2,1.4,0.2,Iris-setosa
+4.9,3.1,1.5,0.1,Iris-setosa
+5.0,3.2,1.2,0.2,Iris-setosa
+5.5,3.5,1.3,0.2,Iris-setosa
+4.9,3.1,1.5,0.1,Iris-setosa
+4.4,3.0,1.3,0.2,Iris-setosa
+5.1,3.4,1.5,0.2,Iris-setosa
+5.0,3.5,1.3,0.3,Iris-setosa
+4.5,2.3,1.3,0.3,Iris-setosa
+4.4,3.2,1.3,0.2,Iris-setosa
+5.0,3.5,1.6,0.6,Iris-setosa
+5.1,3.8,1.9,0.4,Iris-setosa
+4.8,3.0,1.4,0.3,Iris-setosa
+5.1,3.8,1.6,0.2,Iris-setosa
+4.6,3.2,1.4,0.2,Iris-setosa
+5.3,3.7,1.5,0.2,Iris-setosa
+5.0,3.3,1.4,0.2,Iris-setosa
+7.0,3.2,4.7,1.4,Iris-versicolor
+6.4,3.2,4.5,1.5,Iris-versicolor
+6.9,3.1,4.9,1.5,Iris-versicolor
+5.5,2.3,4.0,1.3,Iris-versicolor
+6.5,2.8,4.6,1.5,Iris-versicolor
+5.7,2.8,4.5,1.3,Iris-versicolor
+6.3,3.3,4.7,1.6,Iris-versicolor
+4.9,2.4,3.3,1.0,Iris-versicolor
+6.6,2.9,4.6,1.3,Iris-versicolor
+5.2,2.7,3.9,1.4,Iris-versicolor
+5.0,2.0,3.5,1.0,Iris-versicolor
+5.9,3.0,4.2,1.5,Iris-versicolor
+6.0,2.2,4.0,1.0,Iris-versicolor
+6.1,2.9,4.7,1.4,Iris-versicolor
+5.6,2.9,3.6,1.3,Iris-versicolor
+6.7,3.1,4.4,1.4,Iris-versicolor
+5.6,3.0,4.5,1.5,Iris-versicolor
+5.8,2.7,4.1,1.0,Iris-versicolor
+6.2,2.2,4.5,1.5,Iris-versicolor
+5.6,2.5,3.9,1.1,Iris-versicolor
+5.9,3.2,4.8,1.8,Iris-versicolor
+6.1,2.8,4.0,1.3,Iris-versicolor
+6.3,2.5,4.9,1.5,Iris-versicolor
+6.1,2.8,4.7,1.2,Iris-versicolor
+6.4,2.9,4.3,1.3,Iris-versicolor
+6.6,3.0,4.4,1.4,Iris-versicolor
+6.8,2.8,4.8,1.4,Iris-versicolor
+6.7,3.0,5.0,1.7,Iris-versicolor
+6.0,2.9,4.5,1.5,Iris-versicolor
+5.7,2.6,3.5,1.0,Iris-versicolor
+5.5,2.4,3.8,1.1,Iris-versicolor
+5.5,2.4,3.7,1.0,Iris-versicolor
+5.8,2.7,3.9,1.2,Iris-versicolor
+6.0,2.7,5.1,1.6,Iris-versicolor
+5.4,3.0,4.5,1.5,Iris-versicolor
+6.0,3.4,4.5,1.6,Iris-versicolor
+6.7,3.1,4.7,1.5,Iris-versicolor
+6.3,2.3,4.4,1.3,Iris-versicolor
+5.6,3.0,4.1,1.3,Iris-versicolor
+5.5,2.5,4.0,1.3,Iris-versicolor
+5.5,2.6,4.4,1.2,Iris-versicolor
+6.1,3.0,4.6,1.4,Iris-versicolor
+5.8,2.6,4.0,1.2,Iris-versicolor
+5.0,2.3,3.3,1.0,Iris-versicolor
+5.6,2.7,4.2,1.3,Iris-versicolor
+5.7,3.0,4.2,1.2,Iris-versicolor
+5.7,2.9,4.2,1.3,Iris-versicolor
+6.2,2.9,4.3,1.3,Iris-versicolor
+5.1,2.5,3.0,1.1,Iris-versicolor
+5.7,2.8,4.1,1.3,Iris-versicolor
+6.3,3.3,6.0,2.5,Iris-virginica
+5.8,2.7,5.1,1.9,Iris-virginica
+7.1,3.0,5.9,2.1,Iris-virginica
+6.3,2.9,5.6,1.8,Iris-virginica
+6.5,3.0,5.8,2.2,Iris-virginica
+7.6,3.0,6.6,2.1,Iris-virginica
+4.9,2.5,4.5,1.7,Iris-virginica
+7.3,2.9,6.3,1.8,Iris-virginica
+6.7,2.5,5.8,1.8,Iris-virginica
+7.2,3.6,6.1,2.5,Iris-virginica
+6.5,3.2,5.1,2.0,Iris-virginica
+6.4,2.7,5.3,1.9,Iris-virginica
+6.8,3.0,5.5,2.1,Iris-virginica
+5.7,2.5,5.0,2.0,Iris-virginica
+5.8,2.8,5.1,2.4,Iris-virginica
+6.4,3.2,5.3,2.3,Iris-virginica
+6.5,3.0,5.5,1.8,Iris-virginica
+7.7,3.8,6.7,2.2,Iris-virginica
+7.7,2.6,6.9,2.3,Iris-virginica
+6.0,2.2,5.0,1.5,Iris-virginica
+6.9,3.2,5.7,2.3,Iris-virginica
+5.6,2.8,4.9,2.0,Iris-virginica
+7.7,2.8,6.7,2.0,Iris-virginica
+6.3,2.7,4.9,1.8,Iris-virginica
+6.7,3.3,5.7,2.1,Iris-virginica
+7.2,3.2,6.0,1.8,Iris-virginica
+6.2,2.8,4.8,1.8,Iris-virginica
+6.1,3.0,4.9,1.8,Iris-virginica
+6.4,2.8,5.6,2.1,Iris-virginica
+7.2,3.0,5.8,1.6,Iris-virginica
+7.4,2.8,6.1,1.9,Iris-virginica
+7.9,3.8,6.4,2.0,Iris-virginica
+6.4,2.8,5.6,2.2,Iris-virginica
+6.3,2.8,5.1,1.5,Iris-virginica
+6.1,2.6,5.6,1.4,Iris-virginica
+7.7,3.0,6.1,2.3,Iris-virginica
+6.3,3.4,5.6,2.4,Iris-virginica
+6.4,3.1,5.5,1.8,Iris-virginica
+6.0,3.0,4.8,1.8,Iris-virginica
+6.9,3.1,5.4,2.1,Iris-virginica
+6.7,3.1,5.6,2.4,Iris-virginica
+6.9,3.1,5.1,2.3,Iris-virginica
+5.8,2.7,5.1,1.9,Iris-virginica
+6.8,3.2,5.9,2.3,Iris-virginica
+6.7,3.3,5.7,2.5,Iris-virginica
+6.7,3.0,5.2,2.3,Iris-virginica
+6.3,2.5,5.0,1.9,Iris-virginica
+6.5,3.0,5.2,2.0,Iris-virginica
+6.2,3.4,5.4,2.3,Iris-virginica
+5.9,3.0,5.1,1.8,Iris-virginica
+%
+%
+%
\ No newline at end of file
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/log4j.properties b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/log4j.properties
new file mode 100644
index 0000000..1cd25de
--- /dev/null
+++ b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/log4j.properties
@@ -0,0 +1,10 @@
+log4j.rootLogger=INFO, consoleAppender, fileAppender
+
+log4j.appender.consoleAppender=org.apache.log4j.ConsoleAppender
+log4j.appender.consoleAppender.layout=org.apache.log4j.PatternLayout
+log4j.appender.consoleAppender.layout.ConversionPattern=[%t] %-5p %c %x - %m%n
+
+log4j.appender.fileAppender=org.apache.log4j.RollingFileAppender
+log4j.appender.fileAppender.layout=org.apache.log4j.PatternLayout
+log4j.appender.fileAppender.layout.ConversionPattern=[%t] %-5p %c %x - %m%n
+log4j.appender.fileAppender.File=demoApplication.log
\ No newline at end of file
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/ExecutionHelperKey.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/ExecutionHelperKey.class
new file mode 100644
index 0000000..bd73b79
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/ExecutionHelperKey.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/MetaGeneration.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/MetaGeneration.class
new file mode 100644
index 0000000..9bebc05
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/MetaGeneration.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/InterfaceVersion.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/InterfaceVersion.class
new file mode 100644
index 0000000..da5991a
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/InterfaceVersion.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/Start.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/Start.class
new file mode 100644
index 0000000..26e0217
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/Start.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/algo/Algorithm.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/algo/Algorithm.class
new file mode 100644
index 0000000..90dbbfd
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/algo/Algorithm.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/algo/Algorithms.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/algo/Algorithms.class
new file mode 100644
index 0000000..205a1bd
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/algo/Algorithms.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/DatasetName.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/DatasetName.class
new file mode 100644
index 0000000..239093e
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/DatasetName.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/Execution.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/Execution.class
new file mode 100644
index 0000000..bc70cbc
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/Execution.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/ExecutionEndTime.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/ExecutionEndTime.class
new file mode 100644
index 0000000..577ddd3
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/ExecutionEndTime.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/ExecutionStartTime.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/ExecutionStartTime.class
new file mode 100644
index 0000000..9f6da61
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/ExecutionStartTime.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/ExperimentInfo.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/ExperimentInfo.class
new file mode 100644
index 0000000..a1b6332
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/ExperimentInfo.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/Features.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/Features.class
new file mode 100644
index 0000000..dbffba1
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/Features.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/FinalDataSet.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/FinalDataSet.class
new file mode 100644
index 0000000..fb96a40
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/FinalDataSet.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/Hardware.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/Hardware.class
new file mode 100644
index 0000000..a295419
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/Hardware.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/SamplingMethod.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/SamplingMethod.class
new file mode 100644
index 0000000..d409a52
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/SamplingMethod.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/TestDataSet.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/TestDataSet.class
new file mode 100644
index 0000000..8d7ed3d
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/TestDataSet.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/TestDataSet2.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/TestDataSet2.class
new file mode 100644
index 0000000..8e6429e
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/TestDataSet2.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/TestProcedure.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/TestProcedure.class
new file mode 100644
index 0000000..7996280
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/TestProcedure.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/TrainDataSet.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/TrainDataSet.class
new file mode 100644
index 0000000..5c60882
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/TrainDataSet.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/TrainingProcedure.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/TrainingProcedure.class
new file mode 100644
index 0000000..8f19d45
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/core/TrainingProcedure.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/perf/Measure.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/perf/Measure.class
new file mode 100644
index 0000000..9c17bd5
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/perf/Measure.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/perf/Measures.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/perf/Measures.class
new file mode 100644
index 0000000..84fd189
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/perf/Measures.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/perf/Performance.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/perf/Performance.class
new file mode 100644
index 0000000..b170c3b
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/interfaces/annotations/perf/Performance.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/Execution.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/Execution.class
new file mode 100644
index 0000000..4f930b4
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/Execution.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/ExperimentConfigurationVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/ExperimentConfigurationVO.class
new file mode 100644
index 0000000..3b99988
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/ExperimentConfigurationVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/InstanceObjects.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/InstanceObjects.class
new file mode 100644
index 0000000..a2d4543
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/InstanceObjects.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/MEXSerializer.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/MEXSerializer.class
new file mode 100644
index 0000000..b77621d
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/MEXSerializer.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/MyMEX.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/MyMEX.class
new file mode 100644
index 0000000..852ee1c
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/MyMEX.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/algo/AlgorithmVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/algo/AlgorithmVO.class
new file mode 100644
index 0000000..0e395e0
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/algo/AlgorithmVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/algo/HyperParameterCollection.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/algo/HyperParameterCollection.class
new file mode 100644
index 0000000..5cef4ea
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/algo/HyperParameterCollection.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/algo/HyperParameterVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/algo/HyperParameterVO.class
new file mode 100644
index 0000000..ed2182c
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/algo/HyperParameterVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/algo/ToolParameterCollection.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/algo/ToolParameterCollection.class
new file mode 100644
index 0000000..7a15116
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/algo/ToolParameterCollection.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/algo/ToolParameterVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/algo/ToolParameterVO.class
new file mode 100644
index 0000000..041f71f
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/algo/ToolParameterVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/algo/ToolVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/algo/ToolVO.class
new file mode 100644
index 0000000..99eec7a
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/algo/ToolVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ApplicationContextVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ApplicationContextVO.class
new file mode 100644
index 0000000..07c95ea
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ApplicationContextVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ContextVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ContextVO.class
new file mode 100644
index 0000000..1b345a7
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ContextVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/DataSetVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/DataSetVO.class
new file mode 100644
index 0000000..b0baaf2
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/DataSetVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ExampleVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ExampleVO.class
new file mode 100644
index 0000000..108db24
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ExampleVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ExecutionIndividualVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ExecutionIndividualVO.class
new file mode 100644
index 0000000..8a3e722
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ExecutionIndividualVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ExecutionSetVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ExecutionSetVO.class
new file mode 100644
index 0000000..4749789
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ExecutionSetVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ExperimentVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ExperimentVO.class
new file mode 100644
index 0000000..05e6b25
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ExperimentVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/FeatureVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/FeatureVO.class
new file mode 100644
index 0000000..258b568
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/FeatureVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/FeatureVOCollection.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/FeatureVOCollection.class
new file mode 100644
index 0000000..0f303ce
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/FeatureVOCollection.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/HardwareConfigurationVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/HardwareConfigurationVO.class
new file mode 100644
index 0000000..73dbf8b
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/HardwareConfigurationVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/IDataSetExample.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/IDataSetExample.class
new file mode 100644
index 0000000..2db439f
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/IDataSetExample.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ModelVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ModelVO.class
new file mode 100644
index 0000000..c9c4dcb
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/ModelVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/PhaseVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/PhaseVO.class
new file mode 100644
index 0000000..6747227
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/PhaseVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/SamplingMethodVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/SamplingMethodVO.class
new file mode 100644
index 0000000..d0da481
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/core/SamplingMethodVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/IMeasure.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/IMeasure.class
new file mode 100644
index 0000000..d6c814e
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/IMeasure.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/example/ExamplePerformanceCollection.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/example/ExamplePerformanceCollection.class
new file mode 100644
index 0000000..8cfb517
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/example/ExamplePerformanceCollection.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/example/ExamplePerformanceMeasureVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/example/ExamplePerformanceMeasureVO.class
new file mode 100644
index 0000000..eb40d68
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/example/ExamplePerformanceMeasureVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/overall/ClassificationMeasureVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/overall/ClassificationMeasureVO.class
new file mode 100644
index 0000000..893d08f
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/overall/ClassificationMeasureVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/overall/ClusteringMeasureVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/overall/ClusteringMeasureVO.class
new file mode 100644
index 0000000..59fa3b7
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/overall/ClusteringMeasureVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/overall/Measure.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/overall/Measure.class
new file mode 100644
index 0000000..b4e5898
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/overall/Measure.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/overall/RegressionMeasureVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/overall/RegressionMeasureVO.class
new file mode 100644
index 0000000..4e8de2d
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/overall/RegressionMeasureVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/overall/StatisticalMeasureVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/overall/StatisticalMeasureVO.class
new file mode 100644
index 0000000..84df303
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/overall/StatisticalMeasureVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/overall/UserDefinedMeasureVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/overall/UserDefinedMeasureVO.class
new file mode 100644
index 0000000..4208196
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/log4mex/perf/overall/UserDefinedMeasureVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/MEXConstant.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/MEXConstant.class
new file mode 100644
index 0000000..8553918
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/MEXConstant.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/MEXController.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/MEXController.class
new file mode 100644
index 0000000..003456b
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/MEXController.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/MEXEnum.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/MEXEnum.class
new file mode 100644
index 0000000..8aa814b
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/MEXEnum.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/DCAT.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/DCAT.class
new file mode 100644
index 0000000..95d3362
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/DCAT.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/DOAP.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/DOAP.class
new file mode 100644
index 0000000..daabfd8
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/DOAP.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/FOAF.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/FOAF.class
new file mode 100644
index 0000000..546ed36
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/FOAF.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/IOntology.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/IOntology.class
new file mode 100644
index 0000000..fd334dd
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/IOntology.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/PROVO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/PROVO.class
new file mode 100644
index 0000000..65fd4bf
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/PROVO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/mex/MEXALGO.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/mex/MEXALGO.class
new file mode 100644
index 0000000..74f9e57
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/mex/MEXALGO.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/mex/MEXALGO_10.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/mex/MEXALGO_10.class
new file mode 100644
index 0000000..c1854d5
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/mex/MEXALGO_10.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/mex/MEXCORE.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/mex/MEXCORE.class
new file mode 100644
index 0000000..c486a3d
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/mex/MEXCORE.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/mex/MEXCORE_10.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/mex/MEXCORE_10.class
new file mode 100644
index 0000000..ebdb3c2
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/mex/MEXCORE_10.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/mex/MEXPERF.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/mex/MEXPERF.class
new file mode 100644
index 0000000..71f5bfc
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/mex/MEXPERF.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/mex/MEXPERF_10.class b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/mex/MEXPERF_10.class
new file mode 100644
index 0000000..18f75bb
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/org/aksw/mex/util/ontology/mex/MEXPERF_10.class differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/version.prop b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/version.prop
new file mode 100644
index 0000000..0ca44e8
--- /dev/null
+++ b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/version.prop
@@ -0,0 +1 @@
+version=1.0.2
\ No newline at end of file
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/weather.arff b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/weather.arff
new file mode 100644
index 0000000..2cecc50
--- /dev/null
+++ b/out/artifacts/rest4mex_war_exploded/WEB-INF/classes/weather.arff
@@ -0,0 +1,23 @@
+@relation weather
+
+@attribute outlook {sunny, overcast, rainy}
+@attribute temperature numeric
+@attribute humidity numeric
+@attribute windy {TRUE, FALSE}
+@attribute play {yes, no}
+
+@data
+sunny,85,85,FALSE,no
+sunny,80,90,TRUE,no
+overcast,83,86,FALSE,yes
+rainy,70,96,FALSE,yes
+rainy,68,80,FALSE,yes
+rainy,65,70,TRUE,no
+overcast,64,65,TRUE,yes
+sunny,72,95,FALSE,no
+sunny,69,70,FALSE,yes
+rainy,75,80,FALSE,yes
+sunny,75,70,TRUE,yes
+overcast,72,90,TRUE,yes
+overcast,81,75,FALSE,yes
+rainy,71,91,TRUE,no
\ No newline at end of file
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/activation-1.1.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/activation-1.1.jar
new file mode 100644
index 0000000..53f82a1
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/activation-1.1.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/commons-cli-1.3.1.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/commons-cli-1.3.1.jar
new file mode 100644
index 0000000..c3e7a1f
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/commons-cli-1.3.1.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/commons-codec-1.6.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/commons-codec-1.6.jar
new file mode 100644
index 0000000..ee1bc49
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/commons-codec-1.6.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/commons-csv-1.0.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/commons-csv-1.0.jar
new file mode 100644
index 0000000..5f58e40
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/commons-csv-1.0.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/commons-lang3-3.1.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/commons-lang3-3.1.jar
new file mode 100644
index 0000000..a85e539
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/commons-lang3-3.1.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/guava-18.0.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/guava-18.0.jar
new file mode 100644
index 0000000..8f89e49
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/guava-18.0.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/httpclient-4.2.6.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/httpclient-4.2.6.jar
new file mode 100644
index 0000000..11331df
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/httpclient-4.2.6.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/httpclient-cache-4.2.6.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/httpclient-cache-4.2.6.jar
new file mode 100644
index 0000000..f6a7cd4
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/httpclient-cache-4.2.6.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/httpcore-4.2.5.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/httpcore-4.2.5.jar
new file mode 100644
index 0000000..498144c
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/httpcore-4.2.5.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jackson-annotations-2.3.0.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jackson-annotations-2.3.0.jar
new file mode 100644
index 0000000..3901f32
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jackson-annotations-2.3.0.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jackson-core-2.3.3.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jackson-core-2.3.3.jar
new file mode 100644
index 0000000..8312650
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jackson-core-2.3.3.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jackson-databind-2.3.3.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jackson-databind-2.3.3.jar
new file mode 100644
index 0000000..f323102
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jackson-databind-2.3.3.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/java-cup-0.11a.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/java-cup-0.11a.jar
new file mode 100644
index 0000000..73ffa0b
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/java-cup-0.11a.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/javax.json-1.0.4.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/javax.json-1.0.4.jar
new file mode 100644
index 0000000..09967d8
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/javax.json-1.0.4.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/javax.json-api-1.0.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/javax.json-api-1.0.jar
new file mode 100644
index 0000000..d276c79
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/javax.json-api-1.0.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/javax.mail-1.5.0.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/javax.mail-1.5.0.jar
new file mode 100644
index 0000000..f726e13
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/javax.mail-1.5.0.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jcl-over-slf4j-1.7.6.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jcl-over-slf4j-1.7.6.jar
new file mode 100644
index 0000000..1a1ceee
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jcl-over-slf4j-1.7.6.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jena-arq-2.13.0.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jena-arq-2.13.0.jar
new file mode 100644
index 0000000..3b17e6e
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jena-arq-2.13.0.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jena-core-2.13.0.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jena-core-2.13.0.jar
new file mode 100644
index 0000000..ba93796
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jena-core-2.13.0.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jena-iri-1.1.2.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jena-iri-1.1.2.jar
new file mode 100644
index 0000000..d520498
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jena-iri-1.1.2.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/json-simple-1.1.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/json-simple-1.1.jar
new file mode 100644
index 0000000..f395f41
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/json-simple-1.1.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jsonld-java-0.5.1.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jsonld-java-0.5.1.jar
new file mode 100644
index 0000000..d61cc0f
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/jsonld-java-0.5.1.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/libthrift-0.9.2.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/libthrift-0.9.2.jar
new file mode 100644
index 0000000..39143a5
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/libthrift-0.9.2.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/log4j-1.2.17.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/log4j-1.2.17.jar
new file mode 100644
index 0000000..1d425cf
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/log4j-1.2.17.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/slf4j-api-1.7.6.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/slf4j-api-1.7.6.jar
new file mode 100644
index 0000000..19aaf37
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/slf4j-api-1.7.6.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/slf4j-log4j12-1.7.6.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/slf4j-log4j12-1.7.6.jar
new file mode 100644
index 0000000..d1cc245
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/slf4j-log4j12-1.7.6.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/weka-stable-3.6.6.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/weka-stable-3.6.6.jar
new file mode 100644
index 0000000..7604266
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/weka-stable-3.6.6.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/xercesImpl-2.11.0.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/xercesImpl-2.11.0.jar
new file mode 100644
index 0000000..0aaa990
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/xercesImpl-2.11.0.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/xml-apis-1.4.01.jar b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/xml-apis-1.4.01.jar
new file mode 100644
index 0000000..4673346
Binary files /dev/null and b/out/artifacts/rest4mex_war_exploded/WEB-INF/lib/xml-apis-1.4.01.jar differ
diff --git a/out/artifacts/rest4mex_war_exploded/WEB-INF/web.xml b/out/artifacts/rest4mex_war_exploded/WEB-INF/web.xml
new file mode 100644
index 0000000..28b415f
--- /dev/null
+++ b/out/artifacts/rest4mex_war_exploded/WEB-INF/web.xml
@@ -0,0 +1,8 @@
+
+
+
+
diff --git a/python/framework/.idea/inspectionProfiles/profiles_settings.xml b/python/framework/.idea/inspectionProfiles/profiles_settings.xml
new file mode 100644
index 0000000..cb2fdb3
--- /dev/null
+++ b/python/framework/.idea/inspectionProfiles/profiles_settings.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/python/framework/.idea/misc.xml b/python/framework/.idea/misc.xml
new file mode 100644
index 0000000..425894c
--- /dev/null
+++ b/python/framework/.idea/misc.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/python/framework/.idea/modules.xml b/python/framework/.idea/modules.xml
new file mode 100644
index 0000000..fd63bed
--- /dev/null
+++ b/python/framework/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/python/framework/.idea/workspace.xml b/python/framework/.idea/workspace.xml
new file mode 100644
index 0000000..9d5bfd3
--- /dev/null
+++ b/python/framework/.idea/workspace.xml
@@ -0,0 +1,289 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ DEFINITION_ORDER
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1480058214776
+
+
+ 1480058214776
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/python/framework/experiment.py b/python/framework/experiment.py
index 16d6e25..0da76ac 100644
--- a/python/framework/experiment.py
+++ b/python/framework/experiment.py
@@ -10,11 +10,6 @@
X = iris.data
y = iris.target
-
-#print iris.feature_names
-#print iris.target_names
-#print iris.target
-
#train/test split
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.3)
@@ -39,22 +34,33 @@
@mex_framework.experiment_info
def set_experiment_info():
- params = {'author': "Igor Costa 2", 'email': "igorcosta@ime.eb.br", 'title': "Scikit Learn Test", 'tags': ['Scikit Learn', 'Python 2.7', 'MEX', 'Iris']}
+ params = {'author': "Igor Costa 2",
+ 'email': "igorcosta@ime.eb.br",
+ 'title': "Scikit Learn Test",
+ 'tags': ['Scikit Learn', 'Python 2.7', 'MEX', 'Iris']}
return params
@mex_framework.execution
def execution():
- params = {'id':"0", 'accuracy': "99"}
+ params = {'id':"0",
+ 'accuracy': accuracy}
return params
@mex_framework.hardware
def set_hardware_info():
- params = {'cpu': "Intel Core i7", 'memory': "16 GB", 'hd': "SSD", 'cache': '6M',' os': 'OSX El Capitan 10.11.6', 'video': 'Nvidia GeForce GT750M'}
+ params = {'cpu': "Intel Core i7",
+ 'memory': "16 GB",
+ 'hd': "SSD",
+ 'cache': '6M',
+ ' os': 'macOS Sierra 10.12',
+ 'video': 'Nvidia GeForce GT750M'}
return params
@mex_framework.dataset_name
def set_dataset_name():
- params = {'name': 'Iris', 'URI': 'http://archive.ics.uci.edu/ml/datasets/Iris', 'description': 'This is perhaps the best known database to be found in the pattern recognition literature. Fisher\'s paper is a classic in the field and is referenced frequently to this day. (See Duda & Hart, for example.) The data set contains 3 classes of 50 instances each, where each class refers to a type of iris plant. One class is linearly separable from the other 2; the latter are NOT linearly separable from each other.' }
+ params = {'name': 'Iris',
+ 'URI': 'http://archive.ics.uci.edu/ml/datasets/Iris',
+ 'description': 'This is perhaps the best known database to be found in the pattern recognition literature. Fisher\'s paper is a classic in the field and is referenced frequently to this day. (See Duda & Hart, for example.) The data set contains 3 classes of 50 instances each, where each class refers to a type of iris plant. One class is linearly separable from the other 2; the latter are NOT linearly separable from each other.' }
return params
@@ -66,17 +72,23 @@ def set_features():
@mex_framework.algorithm
def algorithm():
- params = {'algorithmID' : '0', 'algorithmName':'K-Nearest Neighbors', 'algorithmURI': 'http://scikit-learn.org/stable/modules/neighbors.html', 'algorithmClass': 'NearestNeighbor'}
+ params = {'algorithmID' : '0',
+ 'algorithmName':'K-Nearest Neighbors',
+ 'algorithmURI': 'http://scikit-learn.org/stable/modules/neighbors.html',
+ 'algorithmClass': 'NearestNeighbor'}
return params
@mex_framework.measure
def measure():
- params = {'idMeasure' : 'ACCURACY', 'algorithmID': '0', 'idPhase': 'TEST'}
+ params = {'idMeasure' : 'ACCURACY',
+ 'algorithmID': '0',
+ 'idPhase': 'TEST'}
return params
@mex_framework.sampling_method
def set_sampling_method():
- params = {'trainSize':'0.7', 'testSize':'0.3'}
+ params = {'trainSize':X_train,
+ 'testSize':X_test}
return params
@mex_framework.start
diff --git a/python/framework/experiment_2.py b/python/framework/experiment_2.py
new file mode 100644
index 0000000..d94e0ff
--- /dev/null
+++ b/python/framework/experiment_2.py
@@ -0,0 +1,125 @@
+import numpy as np
+from sklearn.datasets import load_iris
+from sklearn.svm import SVC
+from sklearn.model_selection import train_test_split
+from sklearn.model_selection import cross_val_score
+from sklearn.model_selection import cross_val_predict
+from sklearn import metrics
+import mex_framework
+
+
+@mex_framework.experiment_info
+def set_experiment_info():
+ author = 'Igor Costa'
+ email = 'igorsc93@ime.eb.br'
+ title = 'SVM Experiment'
+ tags = ['Scikit Learn', 'Python 2.7', 'MEX', 'Iris']
+
+ return {'author': author, 'email': email, 'title': title, 'tags': tags}
+
+@mex_framework.hardware
+def set_hardware_info():
+ cpu = 'Intel Core i7'
+ memory = '16 GB'
+ hd = 'SSD'
+ cache = '6M'
+ os = 'macOS Sierra 10.12'
+ video = 'Nvidia GeForce GT750M'
+ return {'cpu': cpu, 'memory': memory, 'hd': hd, 'cache': cache, 'os': os, 'video': video}
+
+
+iris = load_iris()
+
+X = iris.data
+y = iris.target
+
+@mex_framework.dataset_name
+def set_dataset_name():
+ name = 'Iris'
+ URI = 'http://archive.ics.uci.edu/ml/datasets/Iris'
+ description = 'This is perhaps the best known database to be found in the pattern recognition literature. ' \
+ 'Fisher\'s paper is a classic in the field and is referenced frequently to this day. (See Duda & Hart, for example.) ' \
+ 'The data set contains 3 classes of 50 instances each, where each class refers to a type of iris plant. One class is linearly ' \
+ 'separable from the other 2; the latter are NOT linearly separable from each other.'
+ return {'name': name,'URI': URI,'description': description }
+
+@mex_framework.features
+def set_features():
+ features = iris.feature_names
+ return {'features': features}
+
+
+
+
+#train/test split
+X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.3)
+
+
+clf = SVC(kernel='linear', C=1).fit(X_train,y_train)
+
+@mex_framework.algorithm
+def algorithm():
+ algorithmID = 0
+ algorithmName = 'Support Vector Machine'
+ algorithmURI = 'http://scikit-learn.org/stable/modules/generated/sklearn.svm.SVC.html#sklearn.svm.SVC.predict'
+ algorithmClass = 'SVM'
+ return {'algorithmID' : algorithmID, 'algorithmName':algorithmName,
+ 'algorithmURI': algorithmURI,
+ 'algorithmClass': algorithmClass}
+
+
+y_pred = clf.predict(X_test)
+#accuracies = metrics.accuracy_score(y_test, y_pred)
+
+clf.fit(X,y)
+
+new_data = [[1,2,3,4],
+ [4,3,2,1],
+ [4,2,1,3],
+ [3,1,4,2],
+ [2,2,4,4],
+ ]
+
+predictions = clf.predict(new_data) # 0 - Setosa, 1 - Versicolor, 2 - Virginica
+print predictions
+
+predicted = cross_val_predict(clf,X,y)
+#accuracies = cross_val_score(clf, X, y)
+
+@mex_framework.sampling_method
+def set_sampling_method():
+ klass = 'HoldOutCrossValidation'
+ return {'class': klass, 'trainSize':X_train, 'testSize':X_test}
+
+accuracies = metrics.accuracy_score(y, predicted)
+print accuracies
+
+@mex_framework.measure
+def measure():
+ return {'idMeasure' : 'ACCURACY','algorithmID': '0', 'idPhase': 'TEST'}
+
+
+@mex_framework.execution
+def execution():
+ return {'id':"0", 'accuracy': accuracies}
+
+
+@mex_framework.start
+def start():
+ return 'Ok'
+
+
+
+set_features()
+set_dataset_name()
+set_experiment_info()
+set_hardware_info()
+set_sampling_method()
+execution()
+algorithm()
+measure()
+start()
+
+
+
+
diff --git a/python/framework/mex_framework.pyc b/python/framework/mex_framework.pyc
index cb119f9..a1b4163 100644
Binary files a/python/framework/mex_framework.pyc and b/python/framework/mex_framework.pyc differ
diff --git a/rest4mex/cache/hardware.txt b/rest4mex/cache/hardware.txt
index 2081aa5..448b190 100644
--- a/rest4mex/cache/hardware.txt
+++ b/rest4mex/cache/hardware.txt
@@ -1 +1 @@
-{"cache":"6M","memory":"16 GB"," os":"OSX El Capitan 10.11.6","cpu":"Intel Core i7","video":"Nvidia GeForce GT750M","hd":"SSD"}
\ No newline at end of file
+{"cache":"6M","memory":"16 GB"," os":"OSX Sierra 10.12.6","cpu":"Intel Core i7","video":"Nvidia GeForce GT750M","hd":"SSD"}
\ No newline at end of file
diff --git a/rest4mex/cache/samplingmethod.txt b/rest4mex/cache/samplingmethod.txt
new file mode 100644
index 0000000..af8292b
--- /dev/null
+++ b/rest4mex/cache/samplingmethod.txt
@@ -0,0 +1 @@
+{"testSize":"0.3","trainSize":"0.7"}
\ No newline at end of file
diff --git a/rest4mex/src/main/java/MexController.java b/rest4mex/src/main/java/MexController.java
index 9881a61..b9d6323 100644
--- a/rest4mex/src/main/java/MexController.java
+++ b/rest4mex/src/main/java/MexController.java
@@ -208,21 +208,12 @@ public String setSamplingMethod(String content) throws Exception {
Object obj = parser.parse(stringToParse);
JSONObject jsonObject = (JSONObject) obj;
- SamplingMethod aSM = (SamplingMethod) jsonObject.get("klass");
- double trainSize = (double) jsonObject.get("trainSize");
- double testSize = (double) jsonObject.get("testSize");
- int folds = (int) jsonObject.get("folds");
- boolean sequential = (boolean) jsonObject.get("sequential");
-
+ try(FileWriter file = new FileWriter("/Users/igorcosta/mexproject/rest4mex/cache/samplingmethod.txt")) {
+ file.write(jsonObject.toJSONString());
+ System.out.println(jsonObject);
+ }
- mex.Configuration().setSamplingMethod(aSM.klass(), trainSize, testSize);
- mex.Configuration().SamplingMethod().setFolds(folds);
- mex.Configuration().SamplingMethod().setSequential(sequential);
-
- //MEXSerializer.getInstance().parse(mex);
- //MEXSerializer.getInstance().saveToDisk("/Users/igorcosta/Downloads/experiment_1.ttl","",mex);
- //return Response.status(201);
return "Sampling method - OK";
}
@@ -276,6 +267,7 @@ public static void main(String[] args) throws Exception {
//@Consumes("application/json")
public String start (String content) throws Exception {
JSONParser parser = new JSONParser();
+ String mexfile = "/Users/igorcosta/mexproject/rest4mex/cache/test1.ttl";
//algorithm
@@ -309,8 +301,8 @@ public String start (String content) throws Exception {
JSONObject jsonExecution = (JSONObject) execution_;
String id = (String) jsonExecution.get("id");
- boolean enabled = (boolean) jsonExecution.get("enable");
- double accuracy = (double) jsonExecution.get("accuracy");
+ //boolean enabled = (boolean) jsonExecution.get("enable");
+ //double accuracy = (double) jsonExecution.get("accuracy");
//mex.Configuration().addExecution(MEXEnum.EnumExecutionsType.OVERALL, key.phaseID());
//mex.Configuration().Execution(String.valueOf(value)).setAlgorithm(algtemp);
@@ -345,9 +337,8 @@ public String start (String content) throws Exception {
Object features_ = parser.parse(new FileReader("/Users/igorcosta/mexproject/rest4mex/cache/features.txt"));
JSONObject jsonFeatures = (JSONObject) features_;
- String[] features = (String[]) jsonFeatures.get("features");
-
- mex.Configuration().addFeature(features);
+// String[] features = (String[]) jsonFeatures.get("features");
+// mex.Configuration().addFeature(features);
//Hardware
@@ -365,6 +356,28 @@ public String start (String content) throws Exception {
//Sampling Method
+ Object samplingMethod = parser.parse(new FileReader("/Users/igorcosta/mexproject/rest4mex/cache/samplingmethod.txt"));
+ JSONObject jsonSamplingMethod = (JSONObject) samplingMethod;
+
+ SamplingMethod aSM = (SamplingMethod) jsonSamplingMethod.get("klass");
+ double trainSize = (double) jsonSamplingMethod.get("trainSize");
+ double testSize = (double) jsonSamplingMethod.get("testSize");
+ int folds = (int) jsonSamplingMethod.get("folds");
+ boolean sequential = (boolean) jsonSamplingMethod.get("sequential");
+
+ mex.Configuration().setSamplingMethod(aSM.klass(), trainSize, testSize);
+ mex.Configuration().SamplingMethod().setFolds(folds);
+ mex.Configuration().SamplingMethod().setSequential(sequential);
+
+
+ //interface version
+
+ //measure
+
+
+ MEXSerializer.getInstance().saveToDisk(mexfile, "/Users/igorcosta/Downloads/experiment_1.ttl", mex, MEXConstant.EnumRDFFormats.TTL);
+
+
return "Your experiment has been generated.";
}
diff --git a/rest4mex/src/main/java/MexServlet.java b/rest4mex/src/main/java/MexServlet.java
index 4697efa..b396efa 100644
--- a/rest4mex/src/main/java/MexServlet.java
+++ b/rest4mex/src/main/java/MexServlet.java
@@ -12,6 +12,6 @@
public class MexServlet extends HttpServlet {
@Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
- resp.getWriter().write("Welcome To NEW MEX@!");
+ resp.getWriter().write("Welcome To MEX");
}
}