File tree 2 files changed +5
-2
lines changed
src/main/java/adaa/analytics/rules/logic/representation
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ codeQuality {
27
27
}
28
28
29
29
sourceCompatibility = 1.8
30
- version = ' 1.7.20 '
30
+ version = ' 1.7.21 '
31
31
32
32
33
33
jar {
Original file line number Diff line number Diff line change @@ -62,13 +62,16 @@ public String toString() {
62
62
sb .append (super .toString ());
63
63
sb .append ("\n Estimator:\n " );
64
64
65
+ IContrastExampleSet ces = (IContrastExampleSet )trainingSet ;
66
+ List <String > groups = ces .getContrastAttribute ().getMapping ().getValues ();
67
+
65
68
// get times from training estimator
66
69
ArrayList <Double > times = trainingEstimator .getTimes ();
67
70
68
71
// build header
69
72
sb .append ("time,entire-set" );
70
73
for (int i = 0 ; i < groupEstimators .size (); ++i ) {
71
- sb .append (",group-" + ( i + 1 ));
74
+ sb .append (",group-" + groups . get ( i ));
72
75
}
73
76
74
77
for (int i = 0 ; i < rules .size (); ++i ) {
You can’t perform that action at this time.
0 commit comments