Skip to content

Commit 37d207e

Browse files
committed
code refactoring
1 parent 5c74252 commit 37d207e

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Thu, 30 Nov 2017 20:51:29 -0400
1+
#Fri, 01 Dec 2017 00:26:36 -0400
22

33

44
C\:\\Users\\Luscas\\Documents\\GitHub\\javaMachineLearning\\MachineLearning=

MachineLearning/build/classes/.netbeans_automatic_build

Whitespace-only changes.

MachineLearning/build/classes/.netbeans_update_resources

Whitespace-only changes.

MachineLearning/nbproject/project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ endorsed.classpath=
3131
excludes=
3232
file.reference.weka.jar=C:\\Program Files\\Weka-3-8\\weka.jar
3333
includes=**
34-
jar.compress=false
34+
jar.compress=true
3535
javac.classpath=\
3636
${file.reference.weka.jar}
3737
# Space-separated list of extra javac options

MachineLearning/src/machinelearning/ElasticClassifier.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ public enum Type{
2323
DECISION_TREE, NAIVEBAYES, KNN, MULTILAYER_PERCEPTRON, SUPPORT_VECTOR_MACHINE;
2424
}
2525

26-
ElasticClassifier(Type type, String dataSet) throws Exception{
26+
public ElasticClassifier(Type type, String dataSet) throws Exception{
2727
this.type = type;
2828
Class cls = getTechnique();
2929
mLC = createInstance(cls, dataSet);
3030
}
3131

32-
ElasticClassifier(Type type, String dataSet, int classIndex) throws Exception{
32+
public ElasticClassifier(Type type, String dataSet, int classIndex) throws Exception{
3333
this.type = type;
3434
Class cls = getTechnique();
3535
mLC = createInstance(cls, dataSet, classIndex);

0 commit comments

Comments
 (0)