Uses of Interface
biz.k11i.xgboost.util.FVec
-
Packages that use FVec Package Description biz.k11i.xgboost biz.k11i.xgboost.gbm biz.k11i.xgboost.tree biz.k11i.xgboost.util -
-
Uses of FVec in biz.k11i.xgboost
Methods in biz.k11i.xgboost with parameters of type FVec Modifier and Type Method Description float[]
Predictor. predict(FVec feat)
Generates predictions for given feature vector.float[]
Predictor. predict(FVec feat, boolean output_margin)
Generates predictions for given feature vector.float[]
Predictor. predict(FVec feat, boolean output_margin, int ntree_limit)
Generates predictions for given feature vector.int[]
Predictor. predictLeaf(FVec feat)
Predicts leaf index of each tree.int[]
Predictor. predictLeaf(FVec feat, int ntree_limit)
Predicts leaf index of each tree.float
Predictor. predictSingle(FVec feat)
Generates a prediction for given feature vector.float
Predictor. predictSingle(FVec feat, boolean output_margin)
Generates a prediction for given feature vector.float
Predictor. predictSingle(FVec feat, boolean output_margin, int ntree_limit)
Generates a prediction for given feature vector. -
Uses of FVec in biz.k11i.xgboost.gbm
Methods in biz.k11i.xgboost.gbm with parameters of type FVec Modifier and Type Method Description float[]
GBLinear. predict(FVec feat, int ntree_limit)
float[]
GBTree. predict(FVec feat, int ntree_limit)
float[]
GradBooster. predict(FVec feat, int ntree_limit)
Generates predictions for given feature vector.int[]
GBLinear. predictLeaf(FVec feat, int ntree_limit)
int[]
GBTree. predictLeaf(FVec feat, int ntree_limit)
int[]
GradBooster. predictLeaf(FVec feat, int ntree_limit)
Predicts the leaf index of each tree.float
GBLinear. predictSingle(FVec feat, int ntree_limit)
float
GBTree. predictSingle(FVec feat, int ntree_limit)
float
GradBooster. predictSingle(FVec feat, int ntree_limit)
Generates a prediction for given feature vector. -
Uses of FVec in biz.k11i.xgboost.tree
Methods in biz.k11i.xgboost.tree with parameters of type FVec Modifier and Type Method Description int
RegTree. getLeafIndex(FVec feat, int root_id)
Retrieves nodes from root to leaf and returns leaf index.float
RegTree. getLeafValue(FVec feat, int root_id)
Retrieves nodes from root to leaf and returns leaf value. -
Uses of FVec in biz.k11i.xgboost.util
Methods in biz.k11i.xgboost.util that return FVec Modifier and Type Method Description static FVec
FVec.Transformer. fromArray(double[] values, boolean treatsZeroAsNA)
Builds FVec from dense vector.static FVec
FVec.Transformer. fromArray(float[] values, boolean treatsZeroAsNA)
Builds FVec from dense vector.static FVec
FVec.Transformer. fromMap(Map<Integer,? extends Number> map)
Builds FVec from map.
-