public abstract class AbstractOnlineLearner<M extends Model> extends Object implements OnlineLearner<M>
| Modifier and Type | Field and Description |
|---|---|
protected int |
featureDimension |
protected int |
numOutcomeClasses |
protected int |
outcomeDimension |
protected java.util.function.Supplier<java.util.stream.Stream<de.jungblut.online.ml.FeatureOutcomePair>> |
streamSupplier |
protected boolean |
verbose |
| Constructor and Description |
|---|
AbstractOnlineLearner() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
init(java.util.function.Supplier<java.util.stream.Stream<de.jungblut.online.ml.FeatureOutcomePair>> streamSupplier) |
protected void |
peekDimensions(java.util.function.Supplier<java.util.stream.Stream<de.jungblut.online.ml.FeatureOutcomePair>> streamSupplier)
Peeks for the feature and outcome dimensions.
|
void |
setVerbose(boolean verbose) |
void |
verbose() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittrainprotected java.util.function.Supplier<java.util.stream.Stream<de.jungblut.online.ml.FeatureOutcomePair>> streamSupplier
protected boolean verbose
protected int featureDimension
protected int outcomeDimension
protected int numOutcomeClasses
protected void init(java.util.function.Supplier<java.util.stream.Stream<de.jungblut.online.ml.FeatureOutcomePair>> streamSupplier)
protected void peekDimensions(java.util.function.Supplier<java.util.stream.Stream<de.jungblut.online.ml.FeatureOutcomePair>> streamSupplier)
streamSupplier - the supplier that gets streams.public void verbose()
public void setVerbose(boolean verbose)
Copyright © 2015. All rights reserved.