Uses of Interface
biz.k11i.xgboost.util.FVec

Packages that use FVec
  • 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.
    float[]
    Predictor.predict(FVec feat, float base_margin)
    Generates predictions for given feature vector.
    float[]
    Predictor.predict(FVec feat, float base_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.
    Predictor.predictLeafPath(FVec feat)
    Predicts path to leaf of each tree.
    Predictor.predictLeafPath(FVec feat, int ntree_limit)
    Predicts path to leaf 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 base_score)
     
    float[]
    GBTree.predict(FVec feat, int ntree_limit, float base_score)
     
    float[]
    GradBooster.predict(FVec feat, int ntree_limit, float base_score)
    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.
    GBLinear.predictLeafPath(FVec feat, int ntree_limit)
     
    GBTree.predictLeafPath(FVec feat, int ntree_limit)
     
    GradBooster.predictLeafPath(FVec feat, int ntree_limit)
    Predicts the path to leaf of each tree.
    float
    GBLinear.predictSingle(FVec feat, int ntree_limit, float base_score)
     
    float
    GBTree.predictSingle(FVec feat, int ntree_limit, float base_score)
     
    float
    GradBooster.predictSingle(FVec feat, int ntree_limit, float base_score)
    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)
    Retrieves nodes from root to leaf and returns leaf index.
    int
    RegTreeImpl.getLeafIndex(FVec feat)
    Retrieves nodes from root to leaf and returns leaf index.
    void
    RegTree.getLeafPath(FVec feat, StringBuilder sb)
    Retrieves nodes from root to leaf and returns path to leaf.
    void
    RegTreeImpl.getLeafPath(FVec feat, StringBuilder sb)
    Retrieves nodes from root to leaf and returns path to leaf.
    float
    RegTree.getLeafValue(FVec feat, int root_id)
    Retrieves nodes from root to leaf and returns leaf value.
    float
    RegTreeImpl.getLeafValue(FVec feat, int root_id)
    Retrieves nodes from root to leaf and returns leaf value.
    int
    RegTreeImpl.Node.next(FVec feat)
     
  • 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.