public class Point
extends java.lang.Object
implements java.io.Serializable
Modifier | Constructor and Description |
---|---|
protected |
Point() |
|
Point(org.nd4j.linalg.api.ndarray.INDArray array) |
|
Point(java.lang.String id,
org.nd4j.linalg.api.ndarray.INDArray array) |
|
Point(java.lang.String id,
java.lang.String label,
double[] data) |
|
Point(java.lang.String id,
java.lang.String label,
org.nd4j.linalg.api.ndarray.INDArray array) |
Modifier and Type | Method and Description |
---|---|
org.nd4j.linalg.api.ndarray.INDArray |
getArray() |
java.lang.String |
getId() |
java.lang.String |
getLabel() |
void |
setArray(org.nd4j.linalg.api.ndarray.INDArray array) |
void |
setId(java.lang.String id) |
void |
setLabel(java.lang.String label) |
static java.util.List<Point> |
toPoints(java.util.List<org.nd4j.linalg.api.ndarray.INDArray> vectors) |
protected Point()
public Point(org.nd4j.linalg.api.ndarray.INDArray array)
public Point(java.lang.String id, org.nd4j.linalg.api.ndarray.INDArray array)
public Point(java.lang.String id, java.lang.String label, double[] data)
public Point(java.lang.String id, java.lang.String label, org.nd4j.linalg.api.ndarray.INDArray array)
public static java.util.List<Point> toPoints(java.util.List<org.nd4j.linalg.api.ndarray.INDArray> vectors)
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
public org.nd4j.linalg.api.ndarray.INDArray getArray()
public void setArray(org.nd4j.linalg.api.ndarray.INDArray array)