public class EvaluationTools extends Object
ROC and ROCMultiClass results| Modifier and Type | Method and Description |
|---|---|
static String |
evaluationCalibrationToHtml(EvaluationCalibration ec) |
static void |
exportevaluationCalibrationToHtmlFile(EvaluationCalibration ec,
File file)
Given a
EvaluationCalibration instance, export the charts to a stand-alone HTML file |
static void |
exportRocChartsToHtmlFile(ROC roc,
File file)
Given a
ROC chart, export the ROC chart and precision vs. |
static void |
exportRocChartsToHtmlFile(ROCMultiClass roc,
File file)
Given a
ROCMultiClass chart, export the ROC chart and precision vs. |
static String |
rocChartToHtml(ROC roc)
Given a
ROC instance, render the ROC chart and precision vs. |
static String |
rocChartToHtml(ROCMultiClass rocMultiClass)
Given a
ROCMultiClass instance, render the ROC chart and precision vs. |
static String |
rocChartToHtml(ROCMultiClass rocMultiClass,
List<String> classNames)
Given a
ROCMultiClass instance and (optionally) names for each class, render the ROC chart to a stand-alone
HTML file (returned as a String) |
public static void exportRocChartsToHtmlFile(ROC roc, File file) throws IOException
ROC chart, export the ROC chart and precision vs. recall charts to a stand-alone HTML fileroc - ROC to exportfile - File to export toIOExceptionpublic static void exportRocChartsToHtmlFile(ROCMultiClass roc, File file) throws Exception
ROCMultiClass chart, export the ROC chart and precision vs. recall charts to a stand-alone HTML fileroc - ROC to exportfile - File to export toExceptionpublic static String rocChartToHtml(ROC roc)
ROC instance, render the ROC chart and precision vs. recall charts to a stand-alone HTML file (returned as a String)roc - ROC to renderpublic static String rocChartToHtml(ROCMultiClass rocMultiClass)
ROCMultiClass instance, render the ROC chart and precision vs. recall charts to a stand-alone HTML file (returned as a String)rocMultiClass - ROC to renderpublic static String rocChartToHtml(ROCMultiClass rocMultiClass, List<String> classNames)
ROCMultiClass instance and (optionally) names for each class, render the ROC chart to a stand-alone
HTML file (returned as a String)rocMultiClass - ROC to renderclassNames - Names of the classes. May be nullpublic static void exportevaluationCalibrationToHtmlFile(EvaluationCalibration ec, File file) throws IOException
EvaluationCalibration instance, export the charts to a stand-alone HTML fileroc - ROC to exportfile - File to export toIOExceptionpublic static String evaluationCalibrationToHtml(EvaluationCalibration ec)
Copyright © 2017. All rights reserved.