| Modifier and Type | Method and Description |
|---|---|
CatBoostPredictions |
CatBoostModel.predict(float[][] numericFeatures,
int[][] catFeatureHashes)
Same as
CatBoostModel.predict(float[][], String[][], CatBoostPredictions), but returns predictions instead of taking
it as third parameter. |
CatBoostPredictions |
CatBoostModel.predict(float[][] numericFeatures,
String[][] catFeatures)
Same as
CatBoostModel.predict(float[][], String[][], CatBoostPredictions), but returns prediction instead of taking
it as third parameter. |
CatBoostPredictions |
CatBoostModel.predict(float[] numericFeatures,
int[] catFeatureHashes)
Same as
CatBoostModel.predict(float[], int[], CatBoostPredictions), but returns prediction instead of taking it as
third parameter. |
CatBoostPredictions |
CatBoostModel.predict(float[] numericFeatures,
String[] catFeatures)
Same as
CatBoostModel.predict(float[], String[], CatBoostPredictions), but returns prediction instead of taking it
as third parameter. |
| Modifier and Type | Method and Description |
|---|---|
void |
CatBoostModel.predict(float[][] numericFeatures,
int[][] catFeatureHashes,
CatBoostPredictions prediction)
Same as
CatBoostModel.predict(float[][], String[][], CatBoostPredictions), but accept categoric features as hashes
computed by CatBoostModel.hashCategoricalFeature(String). |
void |
CatBoostModel.predict(float[][] numericFeatures,
String[][] catFeatures,
CatBoostPredictions prediction)
Apply model to a batch of objects.
|
void |
CatBoostModel.predict(float[] numericFeatures,
int[] catFeatureHashes,
CatBoostPredictions prediction)
Same as
CatBoostModel.predict(float[], String[], CatBoostPredictions), but accept categoric features as hashes
computed by CatBoostModel.hashCategoricalFeature(String). |
void |
CatBoostModel.predict(float[] numericFeatures,
String[] catFeatures,
CatBoostPredictions prediction)
Apply model to object defined by features.
|
Copyright © 2020 CatBoost dev team. All rights reserved.