Serializable
BaseClassificationPredictor
, BaseRegressionPredictor
public class BasePredictor extends Object implements Serializable
Modifier and Type | Field | Description |
---|---|---|
protected Map<String,Type> |
features |
|
protected int |
numDoubles |
|
protected int |
numStrings |
|
protected Predictor |
predictor |
Modifier | Constructor | Description |
---|---|---|
protected |
BasePredictor(Predictor predictor) |
Modifier and Type | Method | Description |
---|---|---|
protected Iterable<?> |
extractFeatureValues(Map<String,?> row) |
|
protected static Predictor |
getModel(String id) |
protected Predictor predictor
protected int numDoubles
protected int numStrings
protected BasePredictor(Predictor predictor)
protected static Predictor getModel(String id) throws ClassNotFoundException, IllegalAccessException, InstantiationException
Copyright © 2019. All rights reserved.