public class ROCCurve extends Object
Modifier | Constructor and Description |
---|---|
protected |
ROCCurve() |
|
ROCCurve(String name,
double[] x,
double[] y,
double area,
int maxPoints)
Creates a new ROC curve container.
|
Modifier and Type | Method and Description |
---|---|
double |
getArea()
Returns the curve's area.
|
int |
getMaxPoints() |
String |
getName()
Returns the curve's name.
|
double[] |
getX()
Returns the curve's x-values.
|
double[] |
getY()
Returns the curve's y-values.
|
protected void |
setArea(double area) |
protected void |
setName(String name) |
protected void |
setX(double[] x) |
protected void |
setY(double[] y) |
public ROCCurve(String name, double[] x, double[] y, double area, int maxPoints)
name
- the curve's namex
- the curve's x-valuesy
- the curve's y-valuesarea
- the curve's areamaxPoints
- the maximum number of points to store when downsampling the curve; -1 disabled downsamplingprotected ROCCurve()
public int getMaxPoints()
protected void setName(String name)
name
- the name to setprotected void setArea(double area)
area
- the area to setprotected void setX(double[] x)
x
- the x to setprotected void setY(double[] y)
y
- the y to setpublic String getName()
public final double getArea()
public final double[] getX()
public final double[] getY()
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.