public class EvaluationTools
extends java.lang.Object
ROC
and ROCMultiClass
resultsModifier and Type | Method and Description |
---|---|
static void |
exportRocChartsToHtmlFile(ROC roc,
java.io.File file)
Given a
ROC chart, export the ROC chart and precision vs. |
static void |
exportRocChartsToHtmlFile(ROCMultiClass roc,
java.io.File file)
Given a
ROCMultiClass chart, export the ROC chart and precision vs. |
static java.lang.String |
rocChartToHtml(ROC roc)
Given a
ROC instance, render the ROC chart and precision vs. |
static java.lang.String |
rocChartToHtml(ROCMultiClass rocMultiClass)
Given a
ROCMultiClass instance, render the ROC chart and precision vs. |
static java.lang.String |
rocChartToHtml(ROCMultiClass rocMultiClass,
java.util.List<java.lang.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, java.io.File file) throws java.io.IOException
ROC
chart, export the ROC chart and precision vs. recall charts to a stand-alone HTML fileroc
- ROC to exportfile
- File to export tojava.io.IOException
public static void exportRocChartsToHtmlFile(ROCMultiClass roc, java.io.File file) throws java.lang.Exception
ROCMultiClass
chart, export the ROC chart and precision vs. recall charts to a stand-alone HTML fileroc
- ROC to exportfile
- File to export tojava.lang.Exception
public static java.lang.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 java.lang.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 java.lang.String rocChartToHtml(ROCMultiClass rocMultiClass, java.util.List<java.lang.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 null