214 lines
6.6 KiB
C
214 lines
6.6 KiB
C
/* DO NOT EDIT THIS FILE - it is machine generated */
|
|
#include <jni.h>
|
|
/* Header for class org_dmlc_xgboost4j_wrapper_XgboostJNI */
|
|
|
|
#ifndef _Included_org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
#define _Included_org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGDMatrixCreateFromFile
|
|
* Signature: (Ljava/lang/String;I)J
|
|
*/
|
|
JNIEXPORT jlong JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGDMatrixCreateFromFile
|
|
(JNIEnv *, jclass, jstring, jint);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGDMatrixCreateFromCSR
|
|
* Signature: ([J[J[F)J
|
|
*/
|
|
JNIEXPORT jlong JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGDMatrixCreateFromCSR
|
|
(JNIEnv *, jclass, jlongArray, jintArray, jfloatArray);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGDMatrixCreateFromCSC
|
|
* Signature: ([J[J[F)J
|
|
*/
|
|
JNIEXPORT jlong JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGDMatrixCreateFromCSC
|
|
(JNIEnv *, jclass, jlongArray, jintArray, jfloatArray);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGDMatrixCreateFromMat
|
|
* Signature: ([FIIF)J
|
|
*/
|
|
JNIEXPORT jlong JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGDMatrixCreateFromMat
|
|
(JNIEnv *, jclass, jfloatArray, jint, jint, jfloat);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGDMatrixSliceDMatrix
|
|
* Signature: (J[I)J
|
|
*/
|
|
JNIEXPORT jlong JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGDMatrixSliceDMatrix
|
|
(JNIEnv *, jclass, jlong, jintArray);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGDMatrixFree
|
|
* Signature: (J)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGDMatrixFree
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGDMatrixSaveBinary
|
|
* Signature: (JLjava/lang/String;I)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGDMatrixSaveBinary
|
|
(JNIEnv *, jclass, jlong, jstring, jint);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGDMatrixSetFloatInfo
|
|
* Signature: (JLjava/lang/String;[F)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGDMatrixSetFloatInfo
|
|
(JNIEnv *, jclass, jlong, jstring, jfloatArray);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGDMatrixSetUIntInfo
|
|
* Signature: (JLjava/lang/String;[I)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGDMatrixSetUIntInfo
|
|
(JNIEnv *, jclass, jlong, jstring, jintArray);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGDMatrixSetGroup
|
|
* Signature: (J[I)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGDMatrixSetGroup
|
|
(JNIEnv *, jclass, jlong, jintArray);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGDMatrixGetFloatInfo
|
|
* Signature: (JLjava/lang/String;)[F
|
|
*/
|
|
JNIEXPORT jfloatArray JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGDMatrixGetFloatInfo
|
|
(JNIEnv *, jclass, jlong, jstring);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGDMatrixGetUIntInfo
|
|
* Signature: (JLjava/lang/String;)[I
|
|
*/
|
|
JNIEXPORT jintArray JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGDMatrixGetUIntInfo
|
|
(JNIEnv *, jclass, jlong, jstring);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGDMatrixNumRow
|
|
* Signature: (J)J
|
|
*/
|
|
JNIEXPORT jlong JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGDMatrixNumRow
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGBoosterCreate
|
|
* Signature: ([J)J
|
|
*/
|
|
JNIEXPORT jlong JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGBoosterCreate
|
|
(JNIEnv *, jclass, jlongArray);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGBoosterFree
|
|
* Signature: (J)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGBoosterFree
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGBoosterSetParam
|
|
* Signature: (JLjava/lang/String;Ljava/lang/String;)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGBoosterSetParam
|
|
(JNIEnv *, jclass, jlong, jstring, jstring);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGBoosterUpdateOneIter
|
|
* Signature: (JIJ)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGBoosterUpdateOneIter
|
|
(JNIEnv *, jclass, jlong, jint, jlong);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGBoosterBoostOneIter
|
|
* Signature: (JJ[F[F)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGBoosterBoostOneIter
|
|
(JNIEnv *, jclass, jlong, jlong, jfloatArray, jfloatArray);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGBoosterEvalOneIter
|
|
* Signature: (JI[J[Ljava/lang/String;)Ljava/lang/String;
|
|
*/
|
|
JNIEXPORT jstring JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGBoosterEvalOneIter
|
|
(JNIEnv *, jclass, jlong, jint, jlongArray, jobjectArray);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGBoosterPredict
|
|
* Signature: (JJIJ)[F
|
|
*/
|
|
JNIEXPORT jfloatArray JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGBoosterPredict
|
|
(JNIEnv *, jclass, jlong, jlong, jint, jlong);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGBoosterLoadModel
|
|
* Signature: (JLjava/lang/String;)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGBoosterLoadModel
|
|
(JNIEnv *, jclass, jlong, jstring);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGBoosterSaveModel
|
|
* Signature: (JLjava/lang/String;)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGBoosterSaveModel
|
|
(JNIEnv *, jclass, jlong, jstring);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGBoosterLoadModelFromBuffer
|
|
* Signature: (JJJ)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGBoosterLoadModelFromBuffer
|
|
(JNIEnv *, jclass, jlong, jlong, jlong);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGBoosterGetModelRaw
|
|
* Signature: (J)Ljava/lang/String;
|
|
*/
|
|
JNIEXPORT jstring JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGBoosterGetModelRaw
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
/*
|
|
* Class: org_dmlc_xgboost4j_wrapper_XgboostJNI
|
|
* Method: XGBoosterDumpModel
|
|
* Signature: (JLjava/lang/String;I)[Ljava/lang/String;
|
|
*/
|
|
JNIEXPORT jobjectArray JNICALL Java_org_dmlc_xgboost4j_wrapper_XgboostJNI_XGBoosterDumpModel
|
|
(JNIEnv *, jclass, jlong, jstring, jint);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|