Modifier and Type | Field and Description |
---|---|
protected double[] |
observed |
protected double[] |
predicted |
protected int |
record |
protected double[][] |
values |
Constructor and Description |
---|
DoubleArrayDataset(double[][] values,
double[] observed) |
Modifier and Type | Method and Description |
---|---|
boolean |
first() |
double[] |
getFeatures() |
Integer |
getID() |
Double |
getObserved() |
Double |
getPredicted() |
void |
handleError(Exception x) |
boolean |
last() |
boolean |
next() |
boolean |
prev() |
void |
setPredicted(Double result) |
int |
size() |
protected double[][] values
protected double[] observed
protected double[] predicted
protected int record
public DoubleArrayDataset(double[][] values, double[] observed)
public boolean first() throws net.idea.modbcum.i.exceptions.AmbitException, UnsupportedOperationException
first
in interface IDataset<Integer,double[],Double>
net.idea.modbcum.i.exceptions.AmbitException
UnsupportedOperationException
public double[] getFeatures()
getFeatures
in interface IDataset<Integer,double[],Double>
public Double getObserved()
getObserved
in interface IDataset<Integer,double[],Double>
public Double getPredicted()
getPredicted
in interface IDataset<Integer,double[],Double>
public void handleError(Exception x) throws net.idea.modbcum.i.exceptions.AmbitException
handleError
in interface IDataset<Integer,double[],Double>
net.idea.modbcum.i.exceptions.AmbitException
public boolean last() throws net.idea.modbcum.i.exceptions.AmbitException, UnsupportedOperationException
last
in interface IDataset<Integer,double[],Double>
net.idea.modbcum.i.exceptions.AmbitException
UnsupportedOperationException
public boolean next() throws net.idea.modbcum.i.exceptions.AmbitException, UnsupportedOperationException
next
in interface IDataset<Integer,double[],Double>
net.idea.modbcum.i.exceptions.AmbitException
UnsupportedOperationException
public boolean prev() throws net.idea.modbcum.i.exceptions.AmbitException, UnsupportedOperationException
prev
in interface IDataset<Integer,double[],Double>
net.idea.modbcum.i.exceptions.AmbitException
UnsupportedOperationException
public void setPredicted(Double result)
setPredicted
in interface IDataset<Integer,double[],Double>
public int size() throws net.idea.modbcum.i.exceptions.AmbitException, UnsupportedOperationException
size
in interface IDataset<Integer,double[],Double>
net.idea.modbcum.i.exceptions.AmbitException
UnsupportedOperationException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.