Package ai.catboost

Class CatBoostJNIImpl

java.lang.Object
ai.catboost.CatBoostJNIImpl

class CatBoostJNIImpl extends Object
  • Constructor Details

    • CatBoostJNIImpl

      CatBoostJNIImpl()
  • Method Details

    • checkCall

      static final void checkCall(@Nullable String message) throws CatBoostError
      Throws:
      CatBoostError
    • catBoostHashCatFeature

      @Nullable static final String catBoostHashCatFeature(@Nonnull String catFeature, @Nonnull int[] hash)
    • catBoostHashCatFeatures

      @Nullable static final String catBoostHashCatFeatures(@Nonnull String[] catFeatures, @Nonnull int[] hashes)
    • catBoostLoadModelFromFile

      @Nullable static final String catBoostLoadModelFromFile(@Nonnull String fname, @Nonnull long[] handle, @Nullable String formatName)
    • catBoostLoadModelFromArray

      @Nullable static final String catBoostLoadModelFromArray(@Nonnull byte[] data, @Nonnull long[] handle, @Nullable String formatName)
    • catBoostFreeModel

      @Nullable static final String catBoostFreeModel(long handle)
    • catBoostModelGetSupportedEvaluatorTypes

      @Nullable static final String catBoostModelGetSupportedEvaluatorTypes(long handle, @Nonnull String[][] evaluatorTypes)
    • catBoostModelSetEvaluatorType

      @Nullable static final String catBoostModelSetEvaluatorType(long handle, @Nonnull String evaluatorType)
    • catBoostModelGetEvaluatorType

      @Nullable static final String catBoostModelGetEvaluatorType(long handle, @Nonnull String[] evaluatorType)
    • catBoostModelGetPredictionDimension

      @Nullable static final String catBoostModelGetPredictionDimension(long handle, @Nonnull int[] classesCount)
    • catBoostModelGetUsedNumericFeatureCount

      @Nullable static final String catBoostModelGetUsedNumericFeatureCount(long handle, @Nonnull int[] numericFeatureCount)
    • catBoostModelGetUsedCategoricalFeatureCount

      @Nullable static final String catBoostModelGetUsedCategoricalFeatureCount(long handle, @Nonnull int[] catFeatureCount)
    • catBoostModelGetUsedTextFeatureCount

      @Nullable static final String catBoostModelGetUsedTextFeatureCount(long handle, @Nonnull int[] textFeatureCount)
    • catBoostModelGetUsedEmbeddingFeatureCount

      @Nullable static final String catBoostModelGetUsedEmbeddingFeatureCount(long handle, @Nonnull int[] embeddingFeatureCount)
    • catBoostModelGetFlatFeatureVectorExpectedSize

      @Nullable static final String catBoostModelGetFlatFeatureVectorExpectedSize(long handle, @Nonnull int[] featureVectorExpectedSize)
    • catBoostModelGetMetadata

      @Nullable static final String catBoostModelGetMetadata(long handle, @Nonnull String[][] keys, @Nonnull String[][] values)
    • catBoostModelGetFloatFeatures

      @Nullable static final String catBoostModelGetFloatFeatures(long handle, @Nonnull String[][] names, @Nonnull int[][] flat_feature_index, @Nonnull int[][] feature_index, @Nonnull int[][] has_nans, @Nonnull String[][] nan_value_treatment)
    • catBoostModelGetCatFeatures

      @Nullable static final String catBoostModelGetCatFeatures(long handle, @Nonnull String[][] names, @Nonnull int[][] flat_feature_index, @Nonnull int[][] feature_index)
    • catBoostModelGetTextFeatures

      @Nullable static final String catBoostModelGetTextFeatures(long handle, @Nonnull String[][] names, @Nonnull int[][] flat_feature_index, @Nonnull int[][] feature_index)
    • catBoostModelGetEmbeddingFeatures

      @Nullable static final String catBoostModelGetEmbeddingFeatures(long handle, @Nonnull String[][] names, @Nonnull int[][] flat_feature_index, @Nonnull int[][] feature_index)
    • catBoostModelGetUsedFeatureIndices

      @Nullable static final String catBoostModelGetUsedFeatureIndices(long handle, @Nonnull int[][] featureIndices)
    • catBoostModelGetTreeCount

      @Nullable static final String catBoostModelGetTreeCount(long handle, @Nonnull int[] treeCount)
    • catBoostModelPredict

      @Nullable static final String catBoostModelPredict(long handle, @Nullable float[] numericFeatures, @Nullable String[] catFeatures, @Nullable String[] textFeatures, @Nullable float[][] embeddingFeatures, @Nonnull double[] predictions)
    • catBoostModelPredict

      @Nullable static final String catBoostModelPredict(long handle, @Nullable float[] numericFeatures, @Nullable int[] catFeatureHashes, @Nullable String[] textFeatures, @Nullable float[][] embeddingFeatures, @Nonnull double[] predictions)
    • catBoostModelPredict

      @Nullable static final String catBoostModelPredict(long handle, @Nullable float[][] numericFeatures, @Nullable String[][] catFeatures, @Nullable String[][] textFeatures, @Nullable float[][][] embeddingFeatures, @Nonnull double[] predictions)
    • catBoostModelPredict

      @Nullable static final String catBoostModelPredict(long handle, @Nullable float[][] numericFeatures, @Nullable int[][] catFeatureHashes, @Nullable String[][] textFeatures, @Nullable float[][][] embeddingFeatures, @Nonnull double[] predictions)
    • catBoostModelPredictTransposed

      @Nullable static final String catBoostModelPredictTransposed(long handle, @Nonnull float[][] numericFeatures, @Nonnull double[] predictions)