|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.android.activityminer.logic.evaluation.EvaluationResultPrinter
public class EvaluationResultPrinter
A printer for Evaluation Results.
| Constructor Summary | |
|---|---|
EvaluationResultPrinter()
|
|
| Method Summary | |
|---|---|
private static String |
createLine(int len)
Does create a string representation of a line with the given length. |
static String |
getPerClassStatisticHeaderString(Context context,
boolean addClassColumn)
Does create a string representation of the per class statistic column headers. |
static String |
getPerClassStatisticValueString(Context context,
double[] measureValues,
String classLabel)
Does create a string representation of the per class statistic values as column entries with the class label in the end. |
static void |
print(Context context,
OutputStream os,
EvaluationResult evalResult,
String validationStrategy,
android.support.v4.util.LongSparseArray<String> mapCid2Name)
Does print the evaluation result to an output stream. |
static void |
printCollection(Context context,
OutputStream os,
EvaluationResultCollection evalResultCollection)
Does print an evaluation result collection to an output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EvaluationResultPrinter()
| Method Detail |
|---|
public static final void printCollection(Context context,
OutputStream os,
EvaluationResultCollection evalResultCollection)
context - the contextos - the output streamevalResultCollection - the evaluation result collection to printprivate static final String createLine(int len)
len - the line length in characters
public static final void print(Context context,
OutputStream os,
EvaluationResult evalResult,
String validationStrategy,
android.support.v4.util.LongSparseArray<String> mapCid2Name)
context - the contextos - the output streamevalResult - the evaluation result to printvalidationStrategy - the validation strategymapCid2Name - the mapping of class identifiers to names
public static final String getPerClassStatisticValueString(Context context,
double[] measureValues,
String classLabel)
context - the contextmeasureValues - the measure valuesclassLabel - the class label
public static final String getPerClassStatisticHeaderString(Context context,
boolean addClassColumn)
context - the contextaddClassColumn - if true a column for the class label is added in the end
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||