@@ -1020,6 +1020,7 @@ else if (args[6].equals("-basic"))
1020
1020
numThread = Integer .parseInt (args [7 ]);
1021
1021
} catch (Exception e ) {
1022
1022
System .out .println ("Please set the number of thread" );
1023
+ return ;
1023
1024
}
1024
1025
if (numThread < 1 ) {
1025
1026
System .out .println ("# of Threads should be non-negative" );
@@ -1030,7 +1031,8 @@ else if (args[6].equals("-basic"))
1030
1031
try {
1031
1032
elipson = Double .parseDouble (args [8 ]);
1032
1033
} catch (Exception e ) {
1033
- System .out .println ("Please set the threshlod for stop MCL" );
1034
+ System .out .println ("Please set threshlod to stop MCL" );
1035
+ return ;
1034
1036
}
1035
1037
if (numThread < 0 ) {
1036
1038
System .out .println ("Please set positive threshold" );
@@ -1041,7 +1043,7 @@ else if (args[6].equals("-basic"))
1041
1043
try {
1042
1044
seed = Integer .parseInt (args [9 ]);
1043
1045
} catch (Exception e ) {
1044
- System .out .println ("Please set the random seed number " );
1046
+ System .out .println ("Using random seed" );
1045
1047
}
1046
1048
1047
1049
double skiprate =0.5 ;
@@ -1050,7 +1052,8 @@ else if (args[6].equals("-basic"))
1050
1052
try {
1051
1053
skiprate = Double .parseDouble (args [10 ]);
1052
1054
} catch (Exception e ) {
1053
- System .out .println ("Please set the threshlod for stop MCL" );
1055
+ System .out .println ("Using default skip rate = 0.5" );
1056
+
1054
1057
}
1055
1058
if ( skiprate <= 0 || skiprate >=1 ) {
1056
1059
System .out .println ("Please set skip rate between 0 to 1 " );
@@ -1097,7 +1100,8 @@ else if(args[4].equals("-col"))
1097
1100
}
1098
1101
1099
1102
ClusterMeasure cm ;
1100
- cm = new ClusterMeasure (args [1 ], args [2 ], args [3 ], type , max , min );
1103
+ cm = new ClusterMeasure (args [1 ], args [2 ], args [3 ], type , max , min );
1104
+ System .out .println ();
1101
1105
System .out .println ("Accuracy : " + cm .Accuracy ());
1102
1106
}
1103
1107
}
0 commit comments