public class WeightVectorLoad extends BaseSourceFunc<double[]>
Constructor and Description |
---|
WeightVectorLoad(BinaryBatchModel binaryBatchModel) |
WeightVectorLoad(BinaryBatchModel binaryBatchModel,
SVMJobParameters svmJobParameters) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Weather we have more data
|
double[] |
next()
Get the next value
|
void |
prepare(TSetContext context)
Prepare the function.
|
getInput, getTSetContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public WeightVectorLoad(BinaryBatchModel binaryBatchModel)
public WeightVectorLoad(BinaryBatchModel binaryBatchModel, SVMJobParameters svmJobParameters)
public void prepare(TSetContext context)
TFunction
prepare
in interface TFunction<double[],double[]>
prepare
in class BaseTFunction<double[],double[]>
context
- CONTEXTpublic boolean hasNext()
SourceFunc
public double[] next()
SourceFunc