com.sjm.machlearn.classifiers.neuralnets
Class BPFeatureVector
java.lang.Object
|
+--com.sjm.machlearn.util.MainClass
|
+--com.sjm.machlearn.classifiers.neuralnets.BPFeatureVector
- public class BPFeatureVector
- extends MainClass
Methods inherited from class com.sjm.machlearn.util.MainClass |
_internalError,
_internalError,
addDebugListener,
debugMesg,
debugMesg,
debugMesg,
debugMesg,
debugMesg,
debugMesg,
debugOff,
debugOn,
internalError,
internalError,
setDebug,
setDebugLevel |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
BPFeatureVector
public BPFeatureVector(DataSet ds,
boolean remove_output)
BPFeatureVector
public BPFeatureVector(Example ex,
boolean remove_output)
BPFeatureVector
public BPFeatureVector(FeatureIdList fid,
boolean remove_output)
size
public int size()
convert
public Example convert(double[] values)
- convert() : functions that
convert between neural net inputs
and Examples,DataSets,etc.
convert
public double[][] convert(DataSet dataset)
convert
public double[] convert(Example example)
getOutputValues
public double[][] getOutputValues(DataSet dataset)
- getOutpuValues() : gets the
neural net output values from
and example or dataset
getOutputValues
public double[] getOutputValues(Example example)
getValue
public double getValue(Example example,
int index)
- getValue() : get the neural net
input for the example at the given index