index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EKappaMetricType.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum EKappaMetricType {
Cohen,
Weighted;
public final int swigValue() {
return swigValue;
}
public static EKappaMetricType swigToEnum(int swigValue) {
EKappaMetricType[] swigValues = EKappaMetricType.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (EKappaMetricType swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + EKappaMetricType.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private EKappaMetricType() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private EKappaMetricType(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private EKappaMetricType(EKappaMetricType swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ELaunchMode.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum ELaunchMode {
Train,
Eval,
CV;
public final int swigValue() {
return swigValue;
}
public static ELaunchMode swigToEnum(int swigValue) {
ELaunchMode[] swigValues = ELaunchMode.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (ELaunchMode swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + ELaunchMode.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private ELaunchMode() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private ELaunchMode(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private ELaunchMode(ELaunchMode swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ELeavesEstimation.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum ELeavesEstimation {
Gradient,
Newton,
Exact,
Simple;
public final int swigValue() {
return swigValue;
}
public static ELeavesEstimation swigToEnum(int swigValue) {
ELeavesEstimation[] swigValues = ELeavesEstimation.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (ELeavesEstimation swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + ELeavesEstimation.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private ELeavesEstimation() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private ELeavesEstimation(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private ELeavesEstimation(ELeavesEstimation swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ELeavesEstimationStepBacktracking.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum ELeavesEstimationStepBacktracking {
No,
AnyImprovement,
Armijo;
public final int swigValue() {
return swigValue;
}
public static ELeavesEstimationStepBacktracking swigToEnum(int swigValue) {
ELeavesEstimationStepBacktracking[] swigValues = ELeavesEstimationStepBacktracking.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (ELeavesEstimationStepBacktracking swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + ELeavesEstimationStepBacktracking.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private ELeavesEstimationStepBacktracking() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private ELeavesEstimationStepBacktracking(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private ELeavesEstimationStepBacktracking(ELeavesEstimationStepBacktracking swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ELoadUnimplementedPolicy.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum ELoadUnimplementedPolicy {
SkipWithWarning,
Exception,
ExceptionOnChange;
public final int swigValue() {
return swigValue;
}
public static ELoadUnimplementedPolicy swigToEnum(int swigValue) {
ELoadUnimplementedPolicy[] swigValues = ELoadUnimplementedPolicy.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (ELoadUnimplementedPolicy swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + ELoadUnimplementedPolicy.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private ELoadUnimplementedPolicy() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private ELoadUnimplementedPolicy(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private ELoadUnimplementedPolicy(ELoadUnimplementedPolicy swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ELoggingLevel.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum ELoggingLevel {
Silent,
Verbose,
Info,
Debug;
public final int swigValue() {
return swigValue;
}
public static ELoggingLevel swigToEnum(int swigValue) {
ELoggingLevel[] swigValues = ELoggingLevel.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (ELoggingLevel swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + ELoggingLevel.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private ELoggingLevel() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private ELoggingLevel(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private ELoggingLevel(ELoggingLevel swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ELossFunction.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum ELossFunction {
Logloss,
CrossEntropy,
CtrFactor,
Focal,
RMSE,
LogCosh,
Lq,
MAE,
Quantile,
MultiQuantile,
Expectile,
LogLinQuantile,
MAPE,
Poisson,
MSLE,
MedianAbsoluteError,
SMAPE,
Huber,
Tweedie,
Cox,
RMSEWithUncertainty,
MultiClass,
MultiClassOneVsAll,
PairLogit,
PairLogitPairwise,
YetiRank,
YetiRankPairwise,
QueryRMSE,
GroupQuantile,
QuerySoftMax,
QueryCrossEntropy,
StochasticFilter,
LambdaMart,
StochasticRank,
PythonUserDefinedPerObject,
PythonUserDefinedMultiTarget,
UserPerObjMetric,
UserQuerywiseMetric,
R2,
NumErrors,
FairLoss,
AUC,
Accuracy,
BalancedAccuracy,
BalancedErrorRate,
BrierScore,
Precision,
Recall,
F1,
TotalF1,
F,
MCC,
ZeroOneLoss,
HammingLoss,
HingeLoss,
Kappa,
WKappa,
LogLikelihoodOfPrediction,
NormalizedGini,
PRAUC,
PairAccuracy,
AverageGain,
QueryAverage,
QueryAUC,
PFound,
PrecisionAt,
RecallAt,
MAP,
NDCG,
DCG,
FilteredDCG,
MRR,
ERR,
SurvivalAft,
MultiRMSE,
MultiRMSEWithMissingValues,
MultiLogloss,
MultiCrossEntropy,
Combination;
public final int swigValue() {
return swigValue;
}
public static ELossFunction swigToEnum(int swigValue) {
ELossFunction[] swigValues = ELossFunction.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (ELossFunction swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + ELossFunction.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private ELossFunction() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private ELossFunction(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private ELossFunction(ELossFunction swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EMetricBestValue.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum EMetricBestValue {
Max,
Min,
FixedValue,
Undefined;
public final int swigValue() {
return swigValue;
}
public static EMetricBestValue swigToEnum(int swigValue) {
EMetricBestValue[] swigValues = EMetricBestValue.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (EMetricBestValue swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + EMetricBestValue.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private EMetricBestValue() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private EMetricBestValue(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private EMetricBestValue(EMetricBestValue swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EModelShrinkMode.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum EModelShrinkMode {
Constant,
Decreasing;
public final int swigValue() {
return swigValue;
}
public static EModelShrinkMode swigToEnum(int swigValue) {
EModelShrinkMode[] swigValues = EModelShrinkMode.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (EModelShrinkMode swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + EModelShrinkMode.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private EModelShrinkMode() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private EModelShrinkMode(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private EModelShrinkMode(EModelShrinkMode swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EModelType.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum EModelType {
CatboostBinary(0),
AppleCoreML(1),
Cpp(2),
Python(3),
Json(4),
Onnx(5),
Pmml(6),
CPUSnapshot(7);
public final int swigValue() {
return swigValue;
}
public static EModelType swigToEnum(int swigValue) {
EModelType[] swigValues = EModelType.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (EModelType swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + EModelType.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private EModelType() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private EModelType(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private EModelType(EModelType swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ENanMode.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum ENanMode {
Min,
Max,
Forbidden;
public final int swigValue() {
return swigValue;
}
public static ENanMode swigToEnum(int swigValue) {
ENanMode[] swigValues = ENanMode.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (ENanMode swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + ENanMode.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private ENanMode() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private ENanMode(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private ENanMode(ENanMode swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ENdcgDenominatorType.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum ENdcgDenominatorType {
LogPosition,
Position;
public final int swigValue() {
return swigValue;
}
public static ENdcgDenominatorType swigToEnum(int swigValue) {
ENdcgDenominatorType[] swigValues = ENdcgDenominatorType.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (ENdcgDenominatorType swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + ENdcgDenominatorType.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private ENdcgDenominatorType() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private ENdcgDenominatorType(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private ENdcgDenominatorType(ENdcgDenominatorType swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ENdcgMetricType.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum ENdcgMetricType {
Base,
Exp;
public final int swigValue() {
return swigValue;
}
public static ENdcgMetricType swigToEnum(int swigValue) {
ENdcgMetricType[] swigValues = ENdcgMetricType.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (ENdcgMetricType swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + ENdcgMetricType.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private ENdcgMetricType() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private ENdcgMetricType(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private ENdcgMetricType(ENdcgMetricType swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ENdcgSortType.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum ENdcgSortType {
None,
ByPrediction,
ByTarget;
public final int swigValue() {
return swigValue;
}
public static ENdcgSortType swigToEnum(int swigValue) {
ENdcgSortType[] swigValues = ENdcgSortType.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (ENdcgSortType swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + ENdcgSortType.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private ENdcgSortType() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private ENdcgSortType(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private ENdcgSortType(ENdcgSortType swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ENodeType.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum ENodeType {
Master,
SingleHost;
public final int swigValue() {
return swigValue;
}
public static ENodeType swigToEnum(int swigValue) {
ENodeType[] swigValues = ENodeType.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (ENodeType swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + ENodeType.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private ENodeType() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private ENodeType(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private ENodeType(ENodeType swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EObservationsToBootstrap.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum EObservationsToBootstrap {
LearnAndTest,
TestOnly;
public final int swigValue() {
return swigValue;
}
public static EObservationsToBootstrap swigToEnum(int swigValue) {
EObservationsToBootstrap[] swigValues = EObservationsToBootstrap.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (EObservationsToBootstrap swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + EObservationsToBootstrap.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private EObservationsToBootstrap() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private EObservationsToBootstrap(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private EObservationsToBootstrap(EObservationsToBootstrap swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EOverfittingDetectorType.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum EOverfittingDetectorType {
None,
Wilcoxon,
IncToDec,
Iter;
public final int swigValue() {
return swigValue;
}
public static EOverfittingDetectorType swigToEnum(int swigValue) {
EOverfittingDetectorType[] swigValues = EOverfittingDetectorType.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (EOverfittingDetectorType swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + EOverfittingDetectorType.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private EOverfittingDetectorType() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private EOverfittingDetectorType(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private EOverfittingDetectorType(EOverfittingDetectorType swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EPreCalcShapValues.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum EPreCalcShapValues {
Auto,
UsePreCalc,
NoPreCalc;
public final int swigValue() {
return swigValue;
}
public static EPreCalcShapValues swigToEnum(int swigValue) {
EPreCalcShapValues[] swigValues = EPreCalcShapValues.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (EPreCalcShapValues swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + EPreCalcShapValues.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private EPreCalcShapValues() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private EPreCalcShapValues(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private EPreCalcShapValues(EPreCalcShapValues swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EPredictionType.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum EPredictionType {
Probability,
LogProbability,
Class,
RawFormulaVal,
Exponent,
RMSEWithUncertainty,
InternalRawFormulaVal,
VirtEnsembles,
TotalUncertainty;
public final int swigValue() {
return swigValue;
}
public static EPredictionType swigToEnum(int swigValue) {
EPredictionType[] swigValues = EPredictionType.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (EPredictionType swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + EPredictionType.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private EPredictionType() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private EPredictionType(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private EPredictionType(EPredictionType swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EPriorEstimation.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum EPriorEstimation {
No,
BetaPrior;
public final int swigValue() {
return swigValue;
}
public static EPriorEstimation swigToEnum(int swigValue) {
EPriorEstimation[] swigValues = EPriorEstimation.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (EPriorEstimation swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + EPriorEstimation.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private EPriorEstimation() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private EPriorEstimation(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private EPriorEstimation(EPriorEstimation swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EProjectionType.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum EProjectionType {
TreeCtr,
SimpleCtr;
public final int swigValue() {
return swigValue;
}
public static EProjectionType swigToEnum(int swigValue) {
EProjectionType[] swigValues = EProjectionType.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (EProjectionType swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + EProjectionType.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private EProjectionType() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private EProjectionType(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private EProjectionType(EProjectionType swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ERandomScoreType.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum ERandomScoreType {
NormalWithModelSizeDecrease,
Gumbel;
public final int swigValue() {
return swigValue;
}
public static ERandomScoreType swigToEnum(int swigValue) {
ERandomScoreType[] swigValues = ERandomScoreType.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (ERandomScoreType swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + ERandomScoreType.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private ERandomScoreType() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private ERandomScoreType(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private ERandomScoreType(ERandomScoreType swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ERankingType.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum ERankingType {
CrossEntropy,
AbsoluteValue,
Order;
public final int swigValue() {
return swigValue;
}
public static ERankingType swigToEnum(int swigValue) {
ERankingType[] swigValues = ERankingType.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (ERankingType swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + ERankingType.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private ERankingType() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private ERankingType(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private ERankingType(ERankingType swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ERawTargetType.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum ERawTargetType {
Boolean,
Integer,
Float,
String,
None;
public final int swigValue() {
return swigValue;
}
public static ERawTargetType swigToEnum(int swigValue) {
ERawTargetType[] swigValues = ERawTargetType.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (ERawTargetType swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + ERawTargetType.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private ERawTargetType() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private ERawTargetType(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private ERawTargetType(ERawTargetType swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ESamplingFrequency.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum ESamplingFrequency {
PerTree,
PerTreeLevel;
public final int swigValue() {
return swigValue;
}
public static ESamplingFrequency swigToEnum(int swigValue) {
ESamplingFrequency[] swigValues = ESamplingFrequency.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (ESamplingFrequency swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + ESamplingFrequency.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private ESamplingFrequency() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private ESamplingFrequency(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private ESamplingFrequency(ESamplingFrequency swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ESamplingUnit.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum ESamplingUnit {
Object,
Group;
public final int swigValue() {
return swigValue;
}
public static ESamplingUnit swigToEnum(int swigValue) {
ESamplingUnit[] swigValues = ESamplingUnit.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (ESamplingUnit swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + ESamplingUnit.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private ESamplingUnit() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private ESamplingUnit(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private ESamplingUnit(ESamplingUnit swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EScoreFunction.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum EScoreFunction {
SolarL2,
Cosine,
NewtonL2,
NewtonCosine,
LOOL2,
SatL2,
L2;
public final int swigValue() {
return swigValue;
}
public static EScoreFunction swigToEnum(int swigValue) {
EScoreFunction[] swigValues = EScoreFunction.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (EScoreFunction swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + EScoreFunction.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private EScoreFunction() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private EScoreFunction(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private EScoreFunction(EScoreFunction swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ETaskType.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public enum ETaskType {
GPU,
CPU;
public final int swigValue() {
return swigValue;
}
public static ETaskType swigToEnum(int swigValue) {
ETaskType[] swigValues = ETaskType.class.getEnumConstants();
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
return swigValues[swigValue];
for (ETaskType swigEnum : swigValues)
if (swigEnum.swigValue == swigValue)
return swigEnum;
throw new IllegalArgumentException("No enum " + ETaskType.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private ETaskType() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private ETaskType(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private ETaskType(ETaskType swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;
}
private final int swigValue;
private static class SwigNext {
private static int next = 0;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/IJVMLineDataReader.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class IJVMLineDataReader extends ILineDataReader {
private transient long swigCPtr;
protected IJVMLineDataReader(long cPtr, boolean cMemoryOwn) {
super(native_implJNI.IJVMLineDataReader_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(IJVMLineDataReader obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_IJVMLineDataReader(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
protected void swigDirectorDisconnect() {
swigCMemOwn = false;
delete();
}
public void swigReleaseOwnership() {
swigCMemOwn = false;
native_implJNI.IJVMLineDataReader_change_ownership(this, swigCPtr, false);
}
public void swigTakeOwnership() {
swigCMemOwn = true;
native_implJNI.IJVMLineDataReader_change_ownership(this, swigCPtr, true);
}
public boolean ReadLine(SWIGTYPE_p_TString line, SWIGTYPE_p_unsigned_long_long lineIdx) {
return (getClass() == IJVMLineDataReader.class) ? native_implJNI.IJVMLineDataReader_ReadLine(swigCPtr, this, SWIGTYPE_p_TString.getCPtr(line), SWIGTYPE_p_unsigned_long_long.getCPtr(lineIdx)) : native_implJNI.IJVMLineDataReader_ReadLineSwigExplicitIJVMLineDataReader(swigCPtr, this, SWIGTYPE_p_TString.getCPtr(line), SWIGTYPE_p_unsigned_long_long.getCPtr(lineIdx));
}
public boolean ReadLineJVM(TStringOutWrapper line) {
return native_implJNI.IJVMLineDataReader_ReadLineJVM(swigCPtr, this, TStringOutWrapper.getCPtr(line), line);
}
public void setLineIndex(java.math.BigInteger value) {
native_implJNI.IJVMLineDataReader_LineIndex_set(swigCPtr, this, value);
}
public java.math.BigInteger getLineIndex() {
return native_implJNI.IJVMLineDataReader_LineIndex_get(swigCPtr, this);
}
public IJVMLineDataReader() {
this(native_implJNI.new_IJVMLineDataReader(), true);
native_implJNI.IJVMLineDataReader_director_connect(this, swigCPtr, true, true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ILineDataReader.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class ILineDataReader {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected ILineDataReader(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(ILineDataReader obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_ILineDataReader(swigCPtr);
}
swigCPtr = 0;
}
}
protected void swigDirectorDisconnect() {
swigCMemOwn = false;
delete();
}
public void swigReleaseOwnership() {
swigCMemOwn = false;
native_implJNI.ILineDataReader_change_ownership(this, swigCPtr, false);
}
public void swigTakeOwnership() {
swigCMemOwn = true;
native_implJNI.ILineDataReader_change_ownership(this, swigCPtr, true);
}
public java.math.BigInteger GetDataLineCount(boolean estimate) {
return native_implJNI.ILineDataReader_GetDataLineCount__SWIG_0(swigCPtr, this, estimate);
}
public java.math.BigInteger GetDataLineCount() {
return native_implJNI.ILineDataReader_GetDataLineCount__SWIG_1(swigCPtr, this);
}
public TMaybe_TString GetHeader() {
return new TMaybe_TString(native_implJNI.ILineDataReader_GetHeader(swigCPtr, this), true);
}
public boolean ReadLine(SWIGTYPE_p_TString line, SWIGTYPE_p_unsigned_long_long lineIdx) {
return native_implJNI.ILineDataReader_ReadLine__SWIG_0(swigCPtr, this, SWIGTYPE_p_TString.getCPtr(line), SWIGTYPE_p_unsigned_long_long.getCPtr(lineIdx));
}
public boolean ReadLine(SWIGTYPE_p_TString line) {
return native_implJNI.ILineDataReader_ReadLine__SWIG_1(swigCPtr, this, SWIGTYPE_p_TString.getCPtr(line));
}
public ILineDataReader() {
this(native_implJNI.new_ILineDataReader(), true);
native_implJNI.ILineDataReader_director_connect(this, swigCPtr, true, true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/IQuantizedFeaturesDataVisitor.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class IQuantizedFeaturesDataVisitor {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected IQuantizedFeaturesDataVisitor(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(IQuantizedFeaturesDataVisitor obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_IQuantizedFeaturesDataVisitor(swigCPtr);
}
swigCPtr = 0;
}
}
public void Start(TDataMetaInfo metaInfo, int objectCount, TQuantizedFeaturesInfo quantizedFeaturesInfo) {
native_implJNI.IQuantizedFeaturesDataVisitor_Start(swigCPtr, this, TDataMetaInfo.getCPtr(metaInfo), metaInfo, objectCount, TQuantizedFeaturesInfo.getCPtr(quantizedFeaturesInfo), quantizedFeaturesInfo);
}
public void AddGroupId(long[] groupIdData) {
native_implJNI.IQuantizedFeaturesDataVisitor_AddGroupId(swigCPtr, this, groupIdData);
}
public void AddSubgroupId(int[] subgroupIdData) {
native_implJNI.IQuantizedFeaturesDataVisitor_AddSubgroupId(swigCPtr, this, subgroupIdData);
}
public void AddTimestamp(long[] timestampData) {
native_implJNI.IQuantizedFeaturesDataVisitor_AddTimestamp(swigCPtr, this, timestampData);
}
public void AddFeature(TFeaturesLayout featuresLayout, int flatFeatureIdx, int objectCount, byte bitsPerDocumentFeature, TVector_i64 featureDataBuffer) {
native_implJNI.IQuantizedFeaturesDataVisitor_AddFeature(swigCPtr, this, TFeaturesLayout.getCPtr(featuresLayout), featuresLayout, flatFeatureIdx, objectCount, bitsPerDocumentFeature, TVector_i64.getCPtr(featureDataBuffer), featureDataBuffer);
}
public void AddTarget(float[] targetData) {
native_implJNI.IQuantizedFeaturesDataVisitor_AddTarget__SWIG_0(swigCPtr, this, targetData);
}
public void AddTarget(TVector_TString targetData) {
native_implJNI.IQuantizedFeaturesDataVisitor_AddTarget__SWIG_1(swigCPtr, this, TVector_TString.getCPtr(targetData), targetData);
}
public void AddBaseline(int baselineIdx, float[] baselineData) {
native_implJNI.IQuantizedFeaturesDataVisitor_AddBaseline(swigCPtr, this, baselineIdx, baselineData);
}
public void AddWeight(float[] weightData) {
native_implJNI.IQuantizedFeaturesDataVisitor_AddWeight(swigCPtr, this, weightData);
}
public void AddGroupWeight(float[] groupWeightData) {
native_implJNI.IQuantizedFeaturesDataVisitor_AddGroupWeight(swigCPtr, this, groupWeightData);
}
public void Finish() {
native_implJNI.IQuantizedFeaturesDataVisitor_Finish(swigCPtr, this);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/QuantizedFeaturesInfoPtr.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class QuantizedFeaturesInfoPtr implements Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected QuantizedFeaturesInfoPtr(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(QuantizedFeaturesInfoPtr obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_QuantizedFeaturesInfoPtr(swigCPtr);
}
swigCPtr = 0;
}
}
public TQuantizedFeaturesInfo __deref__() {
long cPtr = native_implJNI.QuantizedFeaturesInfoPtr___deref__(swigCPtr, this);
return (cPtr == 0) ? null : new TQuantizedFeaturesInfo(cPtr, false);
}
public TQuantizedFeaturesInfo Get() {
long cPtr = native_implJNI.QuantizedFeaturesInfoPtr_Get(swigCPtr, this);
return (cPtr == 0) ? null : new TQuantizedFeaturesInfo(cPtr, false);
}
public void Set(TQuantizedFeaturesInfo t) {
native_implJNI.QuantizedFeaturesInfoPtr_Set(swigCPtr, this, TQuantizedFeaturesInfo.getCPtr(t), t);
}
public QuantizedFeaturesInfoPtr(TQuantizedFeaturesInfo pointee) {
this();
if (pointee != null) {
pointee.releaseMem();
this.Set(pointee);
}
}
private void writeObject(ObjectOutputStream out) throws IOException {
out.writeObject(this.Get());
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_QuantizedFeaturesInfoPtr();
this.swigCMemOwn = true;
TQuantizedFeaturesInfo pointee = (TQuantizedFeaturesInfo)in.readObject();
if (pointee != null) {
pointee.releaseMem();
this.Set(pointee);
}
}
public boolean equals(Object obj) {
if (obj instanceof QuantizedFeaturesInfoPtr) {
boolean ptrEqual = (((QuantizedFeaturesInfoPtr)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl(((QuantizedFeaturesInfoPtr)obj).Get());
}
} else {
return false;
}
}
public QuantizedFeaturesInfoPtr() {
this(native_implJNI.new_QuantizedFeaturesInfoPtr(), true);
}
public TFeaturesLayoutPtr GetFeaturesLayout() {
return new TFeaturesLayoutPtr(native_implJNI.QuantizedFeaturesInfoPtr_GetFeaturesLayout(swigCPtr, this), true);
}
public void Init(TFeaturesLayout featuresLayout) {
native_implJNI.QuantizedFeaturesInfoPtr_Init(swigCPtr, this, TFeaturesLayout.getCPtr(featuresLayout), featuresLayout);
}
public boolean EqualWithoutOptionsTo(TQuantizedFeaturesInfo rhs, boolean ignoreSparsity) {
return native_implJNI.QuantizedFeaturesInfoPtr_EqualWithoutOptionsTo__SWIG_0(swigCPtr, this, TQuantizedFeaturesInfo.getCPtr(rhs), rhs, ignoreSparsity);
}
public boolean EqualWithoutOptionsTo(TQuantizedFeaturesInfo rhs) {
return native_implJNI.QuantizedFeaturesInfoPtr_EqualWithoutOptionsTo__SWIG_1(swigCPtr, this, TQuantizedFeaturesInfo.getCPtr(rhs), rhs);
}
public ENanMode GetNanMode(int floatFeatureIdx) {
return ENanMode.swigToEnum(native_implJNI.QuantizedFeaturesInfoPtr_GetNanMode(swigCPtr, this, floatFeatureIdx));
}
public void SetNanMode(int floatFeatureIdx, ENanMode nanMode) {
native_implJNI.QuantizedFeaturesInfoPtr_SetNanMode(swigCPtr, this, floatFeatureIdx, nanMode.swigValue());
}
public void GetQuantization(int floatFeatureIdx, TVector_float borders, SWIGTYPE_p_bool hasDefaultQuantizedBin, TDefaultQuantizedBin defaultQuantizedBin) {
native_implJNI.QuantizedFeaturesInfoPtr_GetQuantization(swigCPtr, this, floatFeatureIdx, TVector_float.getCPtr(borders), borders, SWIGTYPE_p_bool.getCPtr(hasDefaultQuantizedBin), TDefaultQuantizedBin.getCPtr(defaultQuantizedBin), defaultQuantizedBin);
}
public void SetQuantization(int floatFeatureIdx, TVector_float borders, TDefaultQuantizedBin defaultQuantizedBin) {
native_implJNI.QuantizedFeaturesInfoPtr_SetQuantization__SWIG_0(swigCPtr, this, floatFeatureIdx, TVector_float.getCPtr(borders), borders, TDefaultQuantizedBin.getCPtr(defaultQuantizedBin), defaultQuantizedBin);
}
public void SetQuantization(int floatFeatureIdx, TVector_float borders) {
native_implJNI.QuantizedFeaturesInfoPtr_SetQuantization__SWIG_1(swigCPtr, this, floatFeatureIdx, TVector_float.getCPtr(borders), borders);
}
public boolean equalsImpl(TQuantizedFeaturesInfo rhs) {
return native_implJNI.QuantizedFeaturesInfoPtr_equalsImpl(swigCPtr, this, TQuantizedFeaturesInfo.getCPtr(rhs), rhs);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/SWIGTYPE_p_NCB__TGroupedPairsInfo.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class SWIGTYPE_p_NCB__TGroupedPairsInfo {
private transient long swigCPtr;
protected SWIGTYPE_p_NCB__TGroupedPairsInfo(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_NCB__TGroupedPairsInfo() {
swigCPtr = 0;
}
protected static long getCPtr(SWIGTYPE_p_NCB__TGroupedPairsInfo obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/SWIGTYPE_p_NCB__TObjectsDataProviderPtr.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class SWIGTYPE_p_NCB__TObjectsDataProviderPtr {
private transient long swigCPtr;
protected SWIGTYPE_p_NCB__TObjectsDataProviderPtr(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_NCB__TObjectsDataProviderPtr() {
swigCPtr = 0;
}
protected static long getCPtr(SWIGTYPE_p_NCB__TObjectsDataProviderPtr obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/SWIGTYPE_p_NJson__TJsonValue.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class SWIGTYPE_p_NJson__TJsonValue {
private transient long swigCPtr;
protected SWIGTYPE_p_NJson__TJsonValue(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_NJson__TJsonValue() {
swigCPtr = 0;
}
protected static long getCPtr(SWIGTYPE_p_NJson__TJsonValue obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/SWIGTYPE_p_TCtrHelper.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class SWIGTYPE_p_TCtrHelper {
private transient long swigCPtr;
protected SWIGTYPE_p_TCtrHelper(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_TCtrHelper() {
swigCPtr = 0;
}
protected static long getCPtr(SWIGTYPE_p_TCtrHelper obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/SWIGTYPE_p_TString.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class SWIGTYPE_p_TString {
private transient long swigCPtr;
protected SWIGTYPE_p_TString(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_TString() {
swigCPtr = 0;
}
protected static long getCPtr(SWIGTYPE_p_TString obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/SWIGTYPE_p_TVectorT_TVectorT_TVectorT_TVectorT_double_t_t_t_t.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class SWIGTYPE_p_TVectorT_TVectorT_TVectorT_TVectorT_double_t_t_t_t {
private transient long swigCPtr;
protected SWIGTYPE_p_TVectorT_TVectorT_TVectorT_TVectorT_double_t_t_t_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_TVectorT_TVectorT_TVectorT_TVectorT_double_t_t_t_t() {
swigCPtr = 0;
}
protected static long getCPtr(SWIGTYPE_p_TVectorT_TVectorT_TVectorT_TVectorT_double_t_t_t_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/SWIGTYPE_p_TVectorT_TVectorT_TVectorT_double_t_t_t.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class SWIGTYPE_p_TVectorT_TVectorT_TVectorT_double_t_t_t {
private transient long swigCPtr;
protected SWIGTYPE_p_TVectorT_TVectorT_TVectorT_double_t_t_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_TVectorT_TVectorT_TVectorT_double_t_t_t() {
swigCPtr = 0;
}
protected static long getCPtr(SWIGTYPE_p_TVectorT_TVectorT_TVectorT_double_t_t_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/SWIGTYPE_p_TVectorT_TVectorT_int_t_t.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class SWIGTYPE_p_TVectorT_TVectorT_int_t_t {
private transient long swigCPtr;
protected SWIGTYPE_p_TVectorT_TVectorT_int_t_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_TVectorT_TVectorT_int_t_t() {
swigCPtr = 0;
}
protected static long getCPtr(SWIGTYPE_p_TVectorT_TVectorT_int_t_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/SWIGTYPE_p_TVectorT_int_t.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class SWIGTYPE_p_TVectorT_int_t {
private transient long swigCPtr;
protected SWIGTYPE_p_TVectorT_int_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_TVectorT_int_t() {
swigCPtr = 0;
}
protected static long getCPtr(SWIGTYPE_p_TVectorT_int_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/SWIGTYPE_p_bool.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class SWIGTYPE_p_bool {
private transient long swigCPtr;
protected SWIGTYPE_p_bool(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_bool() {
swigCPtr = 0;
}
protected static long getCPtr(SWIGTYPE_p_bool obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/SWIGTYPE_p_unsigned_long_long.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class SWIGTYPE_p_unsigned_long_long {
private transient long swigCPtr;
protected SWIGTYPE_p_unsigned_long_long(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
swigCPtr = cPtr;
}
protected SWIGTYPE_p_unsigned_long_long() {
swigCPtr = 0;
}
protected static long getCPtr(SWIGTYPE_p_unsigned_long_long obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TApplyResultIterator.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TApplyResultIterator {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TApplyResultIterator(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TApplyResultIterator obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TApplyResultIterator(swigCPtr);
}
swigCPtr = 0;
}
}
public TApplyResultIterator(TFullModel model, SWIGTYPE_p_NCB__TObjectsDataProviderPtr objectsDataProvider, EPredictionType predictionType, TLocalExecutor localExecutor) throws Exception {
this(native_implJNI.new_TApplyResultIterator(TFullModel.getCPtr(model), model, SWIGTYPE_p_NCB__TObjectsDataProviderPtr.getCPtr(objectsDataProvider), predictionType.swigValue(), TLocalExecutor.getCPtr(localExecutor), localExecutor), true);
}
public double GetSingleDimensionalResult(int objectIdx) {
return native_implJNI.TApplyResultIterator_GetSingleDimensionalResult(swigCPtr, this, objectIdx);
}
public TVector_double GetSingleDimensionalResults() {
return new TVector_double(native_implJNI.TApplyResultIterator_GetSingleDimensionalResults(swigCPtr, this), false);
}
public void GetMultiDimensionalResult(int objectIdx, double[] result) {
native_implJNI.TApplyResultIterator_GetMultiDimensionalResult(swigCPtr, this, objectIdx, result);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TCatBoostOptions.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TCatBoostOptions {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TCatBoostOptions(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TCatBoostOptions obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TCatBoostOptions(swigCPtr);
}
swigCPtr = 0;
}
}
public TCatBoostOptions(ETaskType taskType) throws Exception {
this(native_implJNI.new_TCatBoostOptions(taskType.swigValue()), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TClassTargetPreprocessor.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TClassTargetPreprocessor {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TClassTargetPreprocessor(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TClassTargetPreprocessor obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TClassTargetPreprocessor(swigCPtr);
}
swigCPtr = 0;
}
}
public TClassTargetPreprocessor(String plainJsonParamsAsString, ERawTargetType rawTargetType, boolean trainDataHasWeights, boolean trainDataHasGroups) throws Exception {
this(native_implJNI.new_TClassTargetPreprocessor(plainJsonParamsAsString, rawTargetType.swigValue(), trainDataHasWeights, trainDataHasGroups), true);
}
public boolean IsNeedToProcessDistinctTargetValues() throws Exception {
return native_implJNI.TClassTargetPreprocessor_IsNeedToProcessDistinctTargetValues(swigCPtr, this);
}
public void ProcessDistinctFloatTargetValues(float[] distinctTargetValues) throws Exception {
native_implJNI.TClassTargetPreprocessor_ProcessDistinctFloatTargetValues(swigCPtr, this, distinctTargetValues);
}
public void ProcessDistinctIntTargetValues(int[] distinctTargetValues) throws Exception {
native_implJNI.TClassTargetPreprocessor_ProcessDistinctIntTargetValues(swigCPtr, this, distinctTargetValues);
}
public void ProcessDistinctStringTargetValues(TVector_TString distinctTargetValues) throws Exception {
native_implJNI.TClassTargetPreprocessor_ProcessDistinctStringTargetValues(swigCPtr, this, TVector_TString.getCPtr(distinctTargetValues), distinctTargetValues);
}
public String GetLossFunction() throws Exception {
return native_implJNI.TClassTargetPreprocessor_GetLossFunction(swigCPtr, this);
}
public String GetUpdatedCatBoostOptionsJsonAsString() throws Exception {
return native_implJNI.TClassTargetPreprocessor_GetUpdatedCatBoostOptionsJsonAsString(swigCPtr, this);
}
public TVector_i8 GetSerializedLabelConverter() throws Exception {
return new TVector_i8(native_implJNI.TClassTargetPreprocessor_GetSerializedLabelConverter(swigCPtr, this), true);
}
public TVector_float PreprocessFloatTarget(float[] targetValues) throws Exception {
return new TVector_float(native_implJNI.TClassTargetPreprocessor_PreprocessFloatTarget(swigCPtr, this, targetValues), true);
}
public TVector_float PreprocessIntTarget(int[] targetValues) throws Exception {
return new TVector_float(native_implJNI.TClassTargetPreprocessor_PreprocessIntTarget(swigCPtr, this, targetValues), true);
}
public TVector_float PreprocessStringTarget(TVector_TString targetValues) throws Exception {
return new TVector_float(native_implJNI.TClassTargetPreprocessor_PreprocessStringTarget(swigCPtr, this, TVector_TString.getCPtr(targetValues), targetValues), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TColumn.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TColumn implements Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TColumn(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TColumn obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TColumn(swigCPtr);
}
swigCPtr = 0;
}
}
public void setType(EColumn value) {
native_implJNI.TColumn_Type_set(swigCPtr, this, value.swigValue());
}
public EColumn getType() {
return EColumn.swigToEnum(native_implJNI.TColumn_Type_get(swigCPtr, this));
}
public void setId(String value) {
native_implJNI.TColumn_Id_set(swigCPtr, this, value);
}
public String getId() {
return native_implJNI.TColumn_Id_get(swigCPtr, this);
}
private void writeObject(ObjectOutputStream out) throws IOException {
out.writeUnshared(this.getType());
out.writeUnshared(this.getId());
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TColumn();
this.swigCMemOwn = true;
this.setType((EColumn)in.readUnshared());
this.setId((String)in.readUnshared());
}
public boolean equalsImpl(TColumn rhs) {
return native_implJNI.TColumn_equalsImpl(swigCPtr, this, TColumn.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TColumn) {
boolean ptrEqual = (((TColumn)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TColumn)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
public TColumn() {
this(native_implJNI.new_TColumn(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TCombinationClassFeatures.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TCombinationClassFeatures {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TCombinationClassFeatures(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TCombinationClassFeatures obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TCombinationClassFeatures(swigCPtr);
}
swigCPtr = 0;
}
}
public long size() {
return native_implJNI.TCombinationClassFeatures_size(swigCPtr, this);
}
public TCombinationClassFeatures() {
this(native_implJNI.new_TCombinationClassFeatures(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TDataColumnsMetaInfo.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TDataColumnsMetaInfo implements Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TDataColumnsMetaInfo(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TDataColumnsMetaInfo obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TDataColumnsMetaInfo(swigCPtr);
}
swigCPtr = 0;
}
}
public void setColumns(TVector_TColumn value) {
native_implJNI.TDataColumnsMetaInfo_Columns_set(swigCPtr, this, TVector_TColumn.getCPtr(value), value);
}
public TVector_TColumn getColumns() {
long cPtr = native_implJNI.TDataColumnsMetaInfo_Columns_get(swigCPtr, this);
return (cPtr == 0) ? null : new TVector_TColumn(cPtr, false);
}
private void writeObject(ObjectOutputStream out) throws IOException {
out.writeUnshared(this.getColumns());
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TDataColumnsMetaInfo();
this.swigCMemOwn = true;
this.setColumns((TVector_TColumn)in.readUnshared());
}
public boolean equalsImpl(TDataColumnsMetaInfo rhs) {
return native_implJNI.TDataColumnsMetaInfo_equalsImpl(swigCPtr, this, TDataColumnsMetaInfo.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TDataColumnsMetaInfo) {
boolean ptrEqual = (((TDataColumnsMetaInfo)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TDataColumnsMetaInfo)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
public TDataColumnsMetaInfo() {
this(native_implJNI.new_TDataColumnsMetaInfo(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TDataMetaInfo.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TDataMetaInfo {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TDataMetaInfo(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TDataMetaInfo obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TDataMetaInfo(swigCPtr);
}
swigCPtr = 0;
}
}
public void setObjectCount(java.math.BigInteger value) {
native_implJNI.TDataMetaInfo_ObjectCount_set(swigCPtr, this, value);
}
public java.math.BigInteger getObjectCount() {
return native_implJNI.TDataMetaInfo_ObjectCount_get(swigCPtr, this);
}
public void setFeaturesLayout(TFeaturesLayoutPtr value) {
native_implJNI.TDataMetaInfo_FeaturesLayout_set(swigCPtr, this, TFeaturesLayoutPtr.getCPtr(value), value);
}
public TFeaturesLayoutPtr getFeaturesLayout() {
long cPtr = native_implJNI.TDataMetaInfo_FeaturesLayout_get(swigCPtr, this);
return (cPtr == 0) ? null : new TFeaturesLayoutPtr(cPtr, false);
}
public void setTargetType(ERawTargetType value) {
native_implJNI.TDataMetaInfo_TargetType_set(swigCPtr, this, value.swigValue());
}
public ERawTargetType getTargetType() {
return ERawTargetType.swigToEnum(native_implJNI.TDataMetaInfo_TargetType_get(swigCPtr, this));
}
public void setTargetCount(long value) {
native_implJNI.TDataMetaInfo_TargetCount_set(swigCPtr, this, value);
}
public long getTargetCount() {
return native_implJNI.TDataMetaInfo_TargetCount_get(swigCPtr, this);
}
public void setBaselineCount(long value) {
native_implJNI.TDataMetaInfo_BaselineCount_set(swigCPtr, this, value);
}
public long getBaselineCount() {
return native_implJNI.TDataMetaInfo_BaselineCount_get(swigCPtr, this);
}
public void setHasGroupId(boolean value) {
native_implJNI.TDataMetaInfo_HasGroupId_set(swigCPtr, this, value);
}
public boolean getHasGroupId() {
return native_implJNI.TDataMetaInfo_HasGroupId_get(swigCPtr, this);
}
public void setHasGroupWeight(boolean value) {
native_implJNI.TDataMetaInfo_HasGroupWeight_set(swigCPtr, this, value);
}
public boolean getHasGroupWeight() {
return native_implJNI.TDataMetaInfo_HasGroupWeight_get(swigCPtr, this);
}
public void setHasSubgroupIds(boolean value) {
native_implJNI.TDataMetaInfo_HasSubgroupIds_set(swigCPtr, this, value);
}
public boolean getHasSubgroupIds() {
return native_implJNI.TDataMetaInfo_HasSubgroupIds_get(swigCPtr, this);
}
public void setHasWeights(boolean value) {
native_implJNI.TDataMetaInfo_HasWeights_set(swigCPtr, this, value);
}
public boolean getHasWeights() {
return native_implJNI.TDataMetaInfo_HasWeights_get(swigCPtr, this);
}
public void setHasTimestamp(boolean value) {
native_implJNI.TDataMetaInfo_HasTimestamp_set(swigCPtr, this, value);
}
public boolean getHasTimestamp() {
return native_implJNI.TDataMetaInfo_HasTimestamp_get(swigCPtr, this);
}
public void setHasPairs(boolean value) {
native_implJNI.TDataMetaInfo_HasPairs_set(swigCPtr, this, value);
}
public boolean getHasPairs() {
return native_implJNI.TDataMetaInfo_HasPairs_get(swigCPtr, this);
}
public void setHasGraph(boolean value) {
native_implJNI.TDataMetaInfo_HasGraph_set(swigCPtr, this, value);
}
public boolean getHasGraph() {
return native_implJNI.TDataMetaInfo_HasGraph_get(swigCPtr, this);
}
public void setColumnsInfo(TMaybe_TDataColumnsMetaInfo value) {
native_implJNI.TDataMetaInfo_ColumnsInfo_set(swigCPtr, this, TMaybe_TDataColumnsMetaInfo.getCPtr(value), value);
}
public TMaybe_TDataColumnsMetaInfo getColumnsInfo() {
long cPtr = native_implJNI.TDataMetaInfo_ColumnsInfo_get(swigCPtr, this);
return (cPtr == 0) ? null : new TMaybe_TDataColumnsMetaInfo(cPtr, false);
}
public long GetFeatureCount() {
return native_implJNI.TDataMetaInfo_GetFeatureCount(swigCPtr, this);
}
// Needed for deserialization
void setSwigCPtr(long swigCPtr) {
this.swigCPtr = swigCPtr;
}
public TDataMetaInfo() {
this(native_implJNI.new_TDataMetaInfo(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TDataProviderBuilderOptions.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TDataProviderBuilderOptions {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TDataProviderBuilderOptions(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TDataProviderBuilderOptions obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TDataProviderBuilderOptions(swigCPtr);
}
swigCPtr = 0;
}
}
public void setMaxCpuRamUsage(java.math.BigInteger value) {
native_implJNI.TDataProviderBuilderOptions_MaxCpuRamUsage_set(swigCPtr, this, value);
}
public java.math.BigInteger getMaxCpuRamUsage() {
return native_implJNI.TDataProviderBuilderOptions_MaxCpuRamUsage_get(swigCPtr, this);
}
public void setSkipCheck(boolean value) {
native_implJNI.TDataProviderBuilderOptions_SkipCheck_set(swigCPtr, this, value);
}
public boolean getSkipCheck() {
return native_implJNI.TDataProviderBuilderOptions_SkipCheck_get(swigCPtr, this);
}
public TDataProviderBuilderOptions() {
this(native_implJNI.new_TDataProviderBuilderOptions(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TDataProviderClosureForJVM.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TDataProviderClosureForJVM {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TDataProviderClosureForJVM(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TDataProviderClosureForJVM obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TDataProviderClosureForJVM(swigCPtr);
}
swigCPtr = 0;
}
}
public TDataProviderClosureForJVM(EDatasetVisitorType visitorType, TDataProviderBuilderOptions options, boolean hasFeatures, TLocalExecutor localExecutor) throws Exception {
this(native_implJNI.new_TDataProviderClosureForJVM(visitorType.swigValue(), TDataProviderBuilderOptions.getCPtr(options), options, hasFeatures, TLocalExecutor.getCPtr(localExecutor), localExecutor), true);
}
public IQuantizedFeaturesDataVisitor GetQuantizedVisitor() throws Exception {
long cPtr = native_implJNI.TDataProviderClosureForJVM_GetQuantizedVisitor(swigCPtr, this);
return (cPtr == 0) ? null : new IQuantizedFeaturesDataVisitor(cPtr, false);
}
public TDataProviderPtr GetResult() throws Exception {
return new TDataProviderPtr(native_implJNI.TDataProviderClosureForJVM_GetResult(swigCPtr, this), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TDataProviderPtr.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TDataProviderPtr {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TDataProviderPtr(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TDataProviderPtr obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TDataProviderPtr(swigCPtr);
}
swigCPtr = 0;
}
}
public long GetObjectCount() {
return native_implJNI.TDataProviderPtr_GetObjectCount(swigCPtr, this);
}
public TQuantizedObjectsDataProviderPtr GetQuantizedObjectsDataProvider() {
return new TQuantizedObjectsDataProviderPtr(native_implJNI.TDataProviderPtr_GetQuantizedObjectsDataProvider(swigCPtr, this), true);
}
public TDataProviderPtr() {
this(native_implJNI.new_TDataProviderPtr(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TDefaultQuantizedBin.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TDefaultQuantizedBin implements Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TDefaultQuantizedBin(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TDefaultQuantizedBin obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TDefaultQuantizedBin(swigCPtr);
}
swigCPtr = 0;
}
}
public void setIdx(long value) {
native_implJNI.TDefaultQuantizedBin_Idx_set(swigCPtr, this, value);
}
public long getIdx() {
return native_implJNI.TDefaultQuantizedBin_Idx_get(swigCPtr, this);
}
public void setFraction(float value) {
native_implJNI.TDefaultQuantizedBin_Fraction_set(swigCPtr, this, value);
}
public float getFraction() {
return native_implJNI.TDefaultQuantizedBin_Fraction_get(swigCPtr, this);
}
private void writeObject(ObjectOutputStream out) throws IOException {
out.writeLong(this.getIdx());
out.writeFloat(this.getFraction());
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TDefaultQuantizedBin();
this.swigCMemOwn = true;
this.setIdx(in.readLong());
this.setFraction(in.readFloat());
}
public TDefaultQuantizedBin() {
this(native_implJNI.new_TDefaultQuantizedBin(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TDsvFormatOptions.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TDsvFormatOptions {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TDsvFormatOptions(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TDsvFormatOptions obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TDsvFormatOptions(swigCPtr);
}
swigCPtr = 0;
}
}
public void setHasHeader(boolean value) {
native_implJNI.TDsvFormatOptions_HasHeader_set(swigCPtr, this, value);
}
public boolean getHasHeader() {
return native_implJNI.TDsvFormatOptions_HasHeader_get(swigCPtr, this);
}
public void setDelimiter(char value) {
native_implJNI.TDsvFormatOptions_Delimiter_set(swigCPtr, this, value);
}
public char getDelimiter() {
return native_implJNI.TDsvFormatOptions_Delimiter_get(swigCPtr, this);
}
public void setNumVectorDelimiter(char value) {
native_implJNI.TDsvFormatOptions_NumVectorDelimiter_set(swigCPtr, this, value);
}
public char getNumVectorDelimiter() {
return native_implJNI.TDsvFormatOptions_NumVectorDelimiter_get(swigCPtr, this);
}
public void setIgnoreCsvQuoting(boolean value) {
native_implJNI.TDsvFormatOptions_IgnoreCsvQuoting_set(swigCPtr, this, value);
}
public boolean getIgnoreCsvQuoting() {
return native_implJNI.TDsvFormatOptions_IgnoreCsvQuoting_get(swigCPtr, this);
}
public TDsvFormatOptions() {
this(native_implJNI.new_TDsvFormatOptions(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TEstimatedForCPUObjectsDataProviders.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TEstimatedForCPUObjectsDataProviders {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TEstimatedForCPUObjectsDataProviders(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TEstimatedForCPUObjectsDataProviders obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TEstimatedForCPUObjectsDataProviders(swigCPtr);
}
swigCPtr = 0;
}
}
public void setLearn(TQuantizedObjectsDataProviderPtr value) {
native_implJNI.TEstimatedForCPUObjectsDataProviders_Learn_set(swigCPtr, this, TQuantizedObjectsDataProviderPtr.getCPtr(value), value);
}
public TQuantizedObjectsDataProviderPtr getLearn() {
long cPtr = native_implJNI.TEstimatedForCPUObjectsDataProviders_Learn_get(swigCPtr, this);
return (cPtr == 0) ? null : new TQuantizedObjectsDataProviderPtr(cPtr, false);
}
public void setTest(TVector_TQuantizedObjectsDataProviderPtr value) {
native_implJNI.TEstimatedForCPUObjectsDataProviders_Test_set(swigCPtr, this, TVector_TQuantizedObjectsDataProviderPtr.getCPtr(value), value);
}
public TVector_TQuantizedObjectsDataProviderPtr getTest() {
long cPtr = native_implJNI.TEstimatedForCPUObjectsDataProviders_Test_get(swigCPtr, this);
return (cPtr == 0) ? null : new TVector_TQuantizedObjectsDataProviderPtr(cPtr, false);
}
public TEstimatedForCPUObjectsDataProviders() {
this(native_implJNI.new_TEstimatedForCPUObjectsDataProviders(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TFeatureMetaInfo.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TFeatureMetaInfo implements Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TFeatureMetaInfo(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TFeatureMetaInfo obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TFeatureMetaInfo(swigCPtr);
}
swigCPtr = 0;
}
}
public void setType(EFeatureType value) {
native_implJNI.TFeatureMetaInfo_Type_set(swigCPtr, this, value.swigValue());
}
public EFeatureType getType() {
return EFeatureType.swigToEnum(native_implJNI.TFeatureMetaInfo_Type_get(swigCPtr, this));
}
public void setName(String value) {
native_implJNI.TFeatureMetaInfo_Name_set(swigCPtr, this, value);
}
public String getName() {
return native_implJNI.TFeatureMetaInfo_Name_get(swigCPtr, this);
}
public void setIsSparse(boolean value) {
native_implJNI.TFeatureMetaInfo_IsSparse_set(swigCPtr, this, value);
}
public boolean getIsSparse() {
return native_implJNI.TFeatureMetaInfo_IsSparse_get(swigCPtr, this);
}
public void setIsIgnored(boolean value) {
native_implJNI.TFeatureMetaInfo_IsIgnored_set(swigCPtr, this, value);
}
public boolean getIsIgnored() {
return native_implJNI.TFeatureMetaInfo_IsIgnored_get(swigCPtr, this);
}
public void setIsAvailable(boolean value) {
native_implJNI.TFeatureMetaInfo_IsAvailable_set(swigCPtr, this, value);
}
public boolean getIsAvailable() {
return native_implJNI.TFeatureMetaInfo_IsAvailable_get(swigCPtr, this);
}
public TFeatureMetaInfo() {
this(native_implJNI.new_TFeatureMetaInfo(), true);
}
private void writeObject(ObjectOutputStream out) throws IOException {
out.writeUnshared(this.getType());
out.writeUTF(this.getName());
out.writeBoolean(this.getIsSparse());
out.writeBoolean(this.getIsIgnored());
out.writeBoolean(this.getIsAvailable());
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TFeatureMetaInfo();
this.swigCMemOwn = true;
this.setType((EFeatureType)in.readUnshared());
this.setName(in.readUTF());
this.setIsSparse(in.readBoolean());
this.setIsIgnored(in.readBoolean());
this.setIsAvailable(in.readBoolean());
}
public boolean equalsImpl(TFeatureMetaInfo rhs) {
return native_implJNI.TFeatureMetaInfo_equalsImpl(swigCPtr, this, TFeatureMetaInfo.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TFeatureMetaInfo) {
boolean ptrEqual = (((TFeatureMetaInfo)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TFeatureMetaInfo)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TFeaturesLayout.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TFeaturesLayout implements Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TFeaturesLayout(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TFeaturesLayout obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TFeaturesLayout(swigCPtr);
}
swigCPtr = 0;
}
}
public TFeaturesLayout() {
this(native_implJNI.new_TFeaturesLayout(), true);
}
public void Init(TVector_TFeatureMetaInfo data) throws Exception {
native_implJNI.TFeaturesLayout_Init(swigCPtr, this, TVector_TFeatureMetaInfo.getCPtr(data), data);
}
public TVector_TString GetExternalFeatureIds() throws Exception {
return new TVector_TString(native_implJNI.TFeaturesLayout_GetExternalFeatureIds(swigCPtr, this), true);
}
public long GetExternalFeatureCount() {
return native_implJNI.TFeaturesLayout_GetExternalFeatureCount(swigCPtr, this);
}
public TVector_TFeatureMetaInfo GetExternalFeaturesMetaInfoAsVector() throws Exception {
return new TVector_TFeatureMetaInfo(native_implJNI.TFeaturesLayout_GetExternalFeaturesMetaInfoAsVector(swigCPtr, this), true);
}
private void writeObject(ObjectOutputStream out) throws IOException {
TVector_TFeatureMetaInfo data = null;
try {
data = this.GetExternalFeaturesMetaInfoAsVector();
} catch (Exception e) {
throw new IOException(
"Error in TFeaturesLayout::GetExternalFeaturesMetaInfoAsVector: " + e.getMessage()
);
}
out.writeUnshared(data);
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TFeaturesLayout();
this.swigCMemOwn = true;
TVector_TFeatureMetaInfo data = (TVector_TFeatureMetaInfo)in.readUnshared();
try {
Init(data);
} catch (Exception e) {
throw new IOException(
"Error in TFeaturesLayout::Init: " + e.getMessage()
);
}
}
public boolean equalsImpl(TFeaturesLayout rhs) {
return native_implJNI.TFeaturesLayout_equalsImpl(swigCPtr, this, TFeaturesLayout.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TFeaturesLayout) {
boolean ptrEqual = (((TFeaturesLayout)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TFeaturesLayout)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
void releaseMem() {
this.swigCMemOwn = false;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TFeaturesLayoutPtr.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TFeaturesLayoutPtr implements Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TFeaturesLayoutPtr(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TFeaturesLayoutPtr obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TFeaturesLayoutPtr(swigCPtr);
}
swigCPtr = 0;
}
}
public TFeaturesLayout __deref__() {
long cPtr = native_implJNI.TFeaturesLayoutPtr___deref__(swigCPtr, this);
return (cPtr == 0) ? null : new TFeaturesLayout(cPtr, false);
}
public TFeaturesLayout Get() {
long cPtr = native_implJNI.TFeaturesLayoutPtr_Get(swigCPtr, this);
return (cPtr == 0) ? null : new TFeaturesLayout(cPtr, false);
}
public void Set(TFeaturesLayout t) {
native_implJNI.TFeaturesLayoutPtr_Set(swigCPtr, this, TFeaturesLayout.getCPtr(t), t);
}
public TFeaturesLayoutPtr(TFeaturesLayout pointee) {
this();
if (pointee != null) {
pointee.releaseMem();
this.Set(pointee);
}
}
private void writeObject(ObjectOutputStream out) throws IOException {
out.writeObject(this.Get());
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TFeaturesLayoutPtr();
this.swigCMemOwn = true;
TFeaturesLayout pointee = (TFeaturesLayout)in.readObject();
if (pointee != null) {
pointee.releaseMem();
this.Set(pointee);
}
}
public boolean equals(Object obj) {
if (obj instanceof TFeaturesLayoutPtr) {
boolean ptrEqual = (((TFeaturesLayoutPtr)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl(((TFeaturesLayoutPtr)obj).Get());
}
} else {
return false;
}
}
public TFeaturesLayoutPtr() {
this(native_implJNI.new_TFeaturesLayoutPtr(), true);
}
public void Init(TVector_TFeatureMetaInfo data) throws Exception {
native_implJNI.TFeaturesLayoutPtr_Init(swigCPtr, this, TVector_TFeatureMetaInfo.getCPtr(data), data);
}
public TVector_TString GetExternalFeatureIds() throws Exception {
return new TVector_TString(native_implJNI.TFeaturesLayoutPtr_GetExternalFeatureIds(swigCPtr, this), true);
}
public long GetExternalFeatureCount() {
return native_implJNI.TFeaturesLayoutPtr_GetExternalFeatureCount(swigCPtr, this);
}
public TVector_TFeatureMetaInfo GetExternalFeaturesMetaInfoAsVector() throws Exception {
return new TVector_TFeatureMetaInfo(native_implJNI.TFeaturesLayoutPtr_GetExternalFeaturesMetaInfoAsVector(swigCPtr, this), true);
}
public boolean equalsImpl(TFeaturesLayout rhs) {
return native_implJNI.TFeaturesLayoutPtr_equalsImpl(swigCPtr, this, TFeaturesLayout.getCPtr(rhs), rhs);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TFinalCtrsCalcer.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TFinalCtrsCalcer {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TFinalCtrsCalcer(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TFinalCtrsCalcer obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TFinalCtrsCalcer(swigCPtr);
}
swigCPtr = 0;
}
}
public TFinalCtrsCalcer(TFullModel modelWithoutCtrData, TCatBoostOptions catBoostOptions, TQuantizedFeaturesInfo quantizedFeaturesInfo, TVector_float preprocessedLearnTarget, TTargetStatsForCtrs targetStatsForCtrs, SWIGTYPE_p_TCtrHelper ctrHelper, TLocalExecutor localExecutor) throws Exception {
this(native_implJNI.new_TFinalCtrsCalcer(TFullModel.getCPtr(modelWithoutCtrData), modelWithoutCtrData, TCatBoostOptions.getCPtr(catBoostOptions), catBoostOptions, TQuantizedFeaturesInfo.getCPtr(quantizedFeaturesInfo), quantizedFeaturesInfo, TVector_float.getCPtr(preprocessedLearnTarget), preprocessedLearnTarget, TTargetStatsForCtrs.getCPtr(targetStatsForCtrs), targetStatsForCtrs, SWIGTYPE_p_TCtrHelper.getCPtr(ctrHelper), TLocalExecutor.getCPtr(localExecutor), localExecutor), true);
}
public TVector_i32 GetCatFeatureFlatIndicesUsedForCtrs() throws Exception {
return new TVector_i32(native_implJNI.TFinalCtrsCalcer_GetCatFeatureFlatIndicesUsedForCtrs(swigCPtr, this), true);
}
public void ProcessForFeature(int catFeatureFlatIdx, TQuantizedObjectsDataProviderPtr learnData, TVector_TQuantizedObjectsDataProviderPtr testData) throws Exception {
native_implJNI.TFinalCtrsCalcer_ProcessForFeature(swigCPtr, this, catFeatureFlatIdx, TQuantizedObjectsDataProviderPtr.getCPtr(learnData), learnData, TVector_TQuantizedObjectsDataProviderPtr.getCPtr(testData), testData);
}
public TFullModel GetModelWithCtrData() throws Exception {
return new TFullModel(native_implJNI.TFinalCtrsCalcer_GetModelWithCtrData(swigCPtr, this), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TFullModel.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TFullModel implements Externalizable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TFullModel(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TFullModel obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TFullModel(swigCPtr);
}
swigCPtr = 0;
}
}
public long GetDimensionsCount() {
return native_implJNI.TFullModel_GetDimensionsCount(swigCPtr, this);
}
public int GetLeafCount() {
return native_implJNI.TFullModel_GetLeafCount(swigCPtr, this);
}
public boolean HasLeafWeights() {
return native_implJNI.TFullModel_HasLeafWeights(swigCPtr, this);
}
public void Calc(double[] featureValuesFromSpark, double[] result) {
native_implJNI.TFullModel_Calc(swigCPtr, this, featureValuesFromSpark, result);
}
public void CalcSparse(int size, int[] featureIndicesFromSpark, double[] featureValuesFromSpark, double[] result) {
native_implJNI.TFullModel_CalcSparse(swigCPtr, this, size, featureIndicesFromSpark, featureValuesFromSpark, result);
}
public void Save(String fileName, EModelType format, String exportParametersJsonString, int poolCatFeaturesMaxUniqValueCount) throws Exception {
native_implJNI.TFullModel_Save(swigCPtr, this, fileName, format.swigValue(), exportParametersJsonString, poolCatFeaturesMaxUniqValueCount);
}
public TVector_i8 Serialize() {
return new TVector_i8(native_implJNI.TFullModel_Serialize(swigCPtr, this), true);
}
public void Deserialize(byte[] binaryBuffer) {
native_implJNI.TFullModel_Deserialize(swigCPtr, this, binaryBuffer);
}
private void writeSerialized(java.nio.ByteBuffer serializedData, DataOutput out) throws IOException {
// Transfer data by blocks because there's no way to copy data to out directly
final int BUFFER_SIZE = 16384;
byte[] javaBuffer = new byte[BUFFER_SIZE];
while (serializedData.remaining() >= BUFFER_SIZE) {
serializedData.get(javaBuffer, 0, BUFFER_SIZE);
out.write(javaBuffer);
}
if (serializedData.hasRemaining()) {
final int remaining = serializedData.remaining();
serializedData.get(javaBuffer, 0, remaining);
out.write(javaBuffer, 0, remaining);
}
}
public void writeExternal(ObjectOutput out) throws IOException {
TVector_i8 data;
try {
data = Serialize();
} catch (Exception e) {
throw new IOException("Error in TFullModel::Serialize: " + e.getMessage());
}
java.nio.ByteBuffer byteBuffer = data.asDirectByteBuffer();
out.writeInt(byteBuffer.remaining());
writeSerialized(byteBuffer, out);
}
// without writing size to the stream, can be used to save to local or HDFS file
public void write(DataOutput out) throws IOException {
TVector_i8 data;
try {
data = Serialize();
} catch (Exception e) {
throw new IOException("Error in TFullModel::Serialize: " + e.getMessage());
}
java.nio.ByteBuffer byteBuffer = data.asDirectByteBuffer();
writeSerialized(byteBuffer, out);
}
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
read(in.readInt(), in);
}
// without reading size from the stream, can be used to save to local or HDFS file
public void read(int size, DataInput in) throws IOException {
byte[] data = new byte[size];
in.readFully(data);
try {
Deserialize(data);
} catch (Exception e) {
throw new IOException("Error in TFullModel::Deserialize: " + e.getMessage());
}
}
public boolean equalsImpl(TFullModel rhs) {
return native_implJNI.TFullModel_equalsImpl(swigCPtr, this, TFullModel.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TFullModel) {
boolean ptrEqual = (((TFullModel)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TFullModel)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
public TFullModel() {
this(native_implJNI.new_TFullModel(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TIntermediateDataMetaInfo.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TIntermediateDataMetaInfo extends TDataMetaInfo implements Serializable {
private transient long swigCPtr;
protected TIntermediateDataMetaInfo(long cPtr, boolean cMemoryOwn) {
super(native_implJNI.TIntermediateDataMetaInfo_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(TIntermediateDataMetaInfo obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TIntermediateDataMetaInfo(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public TIntermediateDataMetaInfo() {
this(native_implJNI.new_TIntermediateDataMetaInfo__SWIG_0(), true);
}
public TIntermediateDataMetaInfo(TDataMetaInfo dataMetaInfo, boolean hasUnknownNumberOfSparseFeatures) {
this(native_implJNI.new_TIntermediateDataMetaInfo__SWIG_1(TDataMetaInfo.getCPtr(dataMetaInfo), dataMetaInfo, hasUnknownNumberOfSparseFeatures), true);
}
public boolean HasSparseFeatures() {
return native_implJNI.TIntermediateDataMetaInfo_HasSparseFeatures(swigCPtr, this);
}
public void setHasUnknownNumberOfSparseFeatures(boolean value) {
native_implJNI.TIntermediateDataMetaInfo_HasUnknownNumberOfSparseFeatures_set(swigCPtr, this, value);
}
public boolean getHasUnknownNumberOfSparseFeatures() {
return native_implJNI.TIntermediateDataMetaInfo_HasUnknownNumberOfSparseFeatures_get(swigCPtr, this);
}
public TIntermediateDataMetaInfo Clone() {
return new TIntermediateDataMetaInfo(native_implJNI.TIntermediateDataMetaInfo_Clone(swigCPtr, this), true);
}
public TIntermediateDataMetaInfo SetAvailableFeatures(int[] selectedFeatures) throws Exception {
return new TIntermediateDataMetaInfo(native_implJNI.TIntermediateDataMetaInfo_SetAvailableFeatures(swigCPtr, this, selectedFeatures), true);
}
private void writeObject(ObjectOutputStream out) throws IOException {
out.writeUnshared(this.getObjectCount());
out.writeUnshared(this.getFeaturesLayout());
out.writeUnshared(this.getTargetType());
out.writeLong(this.getTargetCount());
out.writeLong(this.getBaselineCount());
out.writeBoolean(this.getHasGroupId());
out.writeBoolean(this.getHasGroupWeight());
out.writeBoolean(this.getHasSubgroupIds());
out.writeBoolean(this.getHasWeights());
out.writeBoolean(this.getHasTimestamp());
out.writeBoolean(this.getHasPairs());
out.writeUnshared(this.getColumnsInfo());
out.writeBoolean(this.getHasUnknownNumberOfSparseFeatures());
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TIntermediateDataMetaInfo__SWIG_0();
super.setSwigCPtr(native_implJNI.TIntermediateDataMetaInfo_SWIGUpcast(this.swigCPtr));
this.swigCMemOwn = true;
this.setObjectCount((java.math.BigInteger)in.readUnshared());
this.setFeaturesLayout((TFeaturesLayoutPtr)in.readUnshared());
this.setTargetType((ERawTargetType)in.readUnshared());
this.setTargetCount(in.readLong());
this.setBaselineCount(in.readLong());
this.setHasGroupId(in.readBoolean());
this.setHasGroupWeight(in.readBoolean());
this.setHasSubgroupIds(in.readBoolean());
this.setHasWeights(in.readBoolean());
this.setHasTimestamp(in.readBoolean());
this.setHasPairs(in.readBoolean());
this.setColumnsInfo((TMaybe_TDataColumnsMetaInfo)in.readUnshared());
this.setHasUnknownNumberOfSparseFeatures(in.readBoolean());
}
public boolean equalsImpl(TIntermediateDataMetaInfo rhs) {
return native_implJNI.TIntermediateDataMetaInfo_equalsImpl(swigCPtr, this, TIntermediateDataMetaInfo.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TIntermediateDataMetaInfo) {
boolean ptrEqual = (((TIntermediateDataMetaInfo)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TIntermediateDataMetaInfo)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TLocalExecutor.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TLocalExecutor {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TLocalExecutor(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TLocalExecutor obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TLocalExecutor(swigCPtr);
}
swigCPtr = 0;
}
}
public void Init(int threadCount) {
native_implJNI.TLocalExecutor_Init(swigCPtr, this, threadCount);
}
public TLocalExecutor() {
this(native_implJNI.new_TLocalExecutor(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TMaybe_TDataColumnsMetaInfo.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TMaybe_TDataColumnsMetaInfo implements Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TMaybe_TDataColumnsMetaInfo(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TMaybe_TDataColumnsMetaInfo obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TMaybe_TDataColumnsMetaInfo(swigCPtr);
}
swigCPtr = 0;
}
}
public TMaybe_TDataColumnsMetaInfo() {
this(native_implJNI.new_TMaybe_TDataColumnsMetaInfo__SWIG_0(), true);
}
public TMaybe_TDataColumnsMetaInfo(TDataColumnsMetaInfo arg) {
this(native_implJNI.new_TMaybe_TDataColumnsMetaInfo__SWIG_1(TDataColumnsMetaInfo.getCPtr(arg), arg), true);
}
public boolean Defined() {
return native_implJNI.TMaybe_TDataColumnsMetaInfo_Defined(swigCPtr, this);
}
public TDataColumnsMetaInfo GetRef() {
return new TDataColumnsMetaInfo(native_implJNI.TMaybe_TDataColumnsMetaInfo_GetRef(swigCPtr, this), false);
}
public void MoveInto(TMaybe_TDataColumnsMetaInfo rhs) {
native_implJNI.TMaybe_TDataColumnsMetaInfo_MoveInto(swigCPtr, this, TMaybe_TDataColumnsMetaInfo.getCPtr(rhs), rhs);
}
private void writeObject(ObjectOutputStream out) throws IOException {
boolean isDefined = this.Defined();
out.writeBoolean(isDefined);
if (isDefined) {
out.writeUnshared(this.GetRef());
}
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TMaybe_TDataColumnsMetaInfo__SWIG_0();
this.swigCMemOwn = true;
boolean isDefined = in.readBoolean();
if (isDefined) {
this.MoveInto(new TMaybe_TDataColumnsMetaInfo((TDataColumnsMetaInfo)in.readUnshared()));
}
}
public boolean equalsImpl(TMaybe_TDataColumnsMetaInfo rhs) {
return native_implJNI.TMaybe_TDataColumnsMetaInfo_equalsImpl(swigCPtr, this, TMaybe_TDataColumnsMetaInfo.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TMaybe_TDataColumnsMetaInfo) {
boolean ptrEqual = (((TMaybe_TDataColumnsMetaInfo)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TMaybe_TDataColumnsMetaInfo)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TMaybe_TString.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TMaybe_TString implements Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TMaybe_TString(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TMaybe_TString obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TMaybe_TString(swigCPtr);
}
swigCPtr = 0;
}
}
public TMaybe_TString() {
this(native_implJNI.new_TMaybe_TString__SWIG_0(), true);
}
public TMaybe_TString(String arg) {
this(native_implJNI.new_TMaybe_TString__SWIG_1(arg), true);
}
public boolean Defined() {
return native_implJNI.TMaybe_TString_Defined(swigCPtr, this);
}
public String GetRef() {
return native_implJNI.TMaybe_TString_GetRef(swigCPtr, this);
}
public void MoveInto(TMaybe_TString rhs) {
native_implJNI.TMaybe_TString_MoveInto(swigCPtr, this, TMaybe_TString.getCPtr(rhs), rhs);
}
private void writeObject(ObjectOutputStream out) throws IOException {
boolean isDefined = this.Defined();
out.writeBoolean(isDefined);
if (isDefined) {
out.writeUnshared(this.GetRef());
}
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TMaybe_TString__SWIG_0();
this.swigCMemOwn = true;
boolean isDefined = in.readBoolean();
if (isDefined) {
this.MoveInto(new TMaybe_TString((String)in.readUnshared()));
}
}
public boolean equalsImpl(TMaybe_TString rhs) {
return native_implJNI.TMaybe_TString_equalsImpl(swigCPtr, this, TMaybe_TString.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TMaybe_TString) {
boolean ptrEqual = (((TMaybe_TString)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TMaybe_TString)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TNanModeAndBordersBuilder.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TNanModeAndBordersBuilder {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TNanModeAndBordersBuilder(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TNanModeAndBordersBuilder obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TNanModeAndBordersBuilder(swigCPtr);
}
swigCPtr = 0;
}
}
public TNanModeAndBordersBuilder(QuantizedFeaturesInfoPtr quantizedFeaturesInfo) throws Exception {
this(native_implJNI.new_TNanModeAndBordersBuilder(QuantizedFeaturesInfoPtr.getCPtr(quantizedFeaturesInfo), quantizedFeaturesInfo), true);
}
public boolean HasFeaturesToCalc() {
return native_implJNI.TNanModeAndBordersBuilder_HasFeaturesToCalc(swigCPtr, this);
}
public void SetSampleSize(int sampleSize) {
native_implJNI.TNanModeAndBordersBuilder_SetSampleSize(swigCPtr, this, sampleSize);
}
public void AddSample(double[] objectData) {
native_implJNI.TNanModeAndBordersBuilder_AddSample(swigCPtr, this, objectData);
}
public void CalcBordersWithoutNans(int threadCount) throws Exception {
native_implJNI.TNanModeAndBordersBuilder_CalcBordersWithoutNans(swigCPtr, this, threadCount);
}
public void Finish(byte[] hasNans) throws Exception {
native_implJNI.TNanModeAndBordersBuilder_Finish(swigCPtr, this, hasNans);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TPairsDataBuilder.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TPairsDataBuilder {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TPairsDataBuilder(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TPairsDataBuilder obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TPairsDataBuilder(swigCPtr);
}
swigCPtr = 0;
}
}
public void Add(long groupIdx, int winnerIdxInGroup, int loserIdxInGroup) {
native_implJNI.TPairsDataBuilder_Add__SWIG_0(swigCPtr, this, groupIdx, winnerIdxInGroup, loserIdxInGroup);
}
public void Add(long groupIdx, int winnerIdxInGroup, int loserIdxInGroup, float weight) {
native_implJNI.TPairsDataBuilder_Add__SWIG_1(swigCPtr, this, groupIdx, winnerIdxInGroup, loserIdxInGroup, weight);
}
public void AddToResult(IQuantizedFeaturesDataVisitor visitor) throws Exception {
native_implJNI.TPairsDataBuilder_AddToResult(swigCPtr, this, IQuantizedFeaturesDataVisitor.getCPtr(visitor), visitor);
}
public void setPairs(SWIGTYPE_p_NCB__TGroupedPairsInfo value) {
native_implJNI.TPairsDataBuilder_Pairs_set(swigCPtr, this, SWIGTYPE_p_NCB__TGroupedPairsInfo.getCPtr(value));
}
public SWIGTYPE_p_NCB__TGroupedPairsInfo getPairs() {
return new SWIGTYPE_p_NCB__TGroupedPairsInfo(native_implJNI.TPairsDataBuilder_Pairs_get(swigCPtr, this), true);
}
public TPairsDataBuilder() {
this(native_implJNI.new_TPairsDataBuilder(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TPrecomputedOnlineCtrMetaData.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TPrecomputedOnlineCtrMetaData {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TPrecomputedOnlineCtrMetaData(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TPrecomputedOnlineCtrMetaData obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TPrecomputedOnlineCtrMetaData(swigCPtr);
}
swigCPtr = 0;
}
}
public void Append(TPrecomputedOnlineCtrMetaData add) {
native_implJNI.TPrecomputedOnlineCtrMetaData_Append(swigCPtr, this, TPrecomputedOnlineCtrMetaData.getCPtr(add), add);
}
public String SerializeToJson() throws Exception {
return native_implJNI.TPrecomputedOnlineCtrMetaData_SerializeToJson(swigCPtr, this);
}
public static TPrecomputedOnlineCtrMetaData DeserializeFromJson(String serializedJson) throws Exception {
return new TPrecomputedOnlineCtrMetaData(native_implJNI.TPrecomputedOnlineCtrMetaData_DeserializeFromJson(serializedJson), true);
}
public TPrecomputedOnlineCtrMetaData() {
this(native_implJNI.new_TPrecomputedOnlineCtrMetaData(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TQuantizedFeaturesInfo.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TQuantizedFeaturesInfo implements Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TQuantizedFeaturesInfo(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TQuantizedFeaturesInfo obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TQuantizedFeaturesInfo(swigCPtr);
}
swigCPtr = 0;
}
}
public TFeaturesLayoutPtr GetFeaturesLayout() {
return new TFeaturesLayoutPtr(native_implJNI.TQuantizedFeaturesInfo_GetFeaturesLayout(swigCPtr, this), true);
}
public void Init(TFeaturesLayout featuresLayout) {
native_implJNI.TQuantizedFeaturesInfo_Init(swigCPtr, this, TFeaturesLayout.getCPtr(featuresLayout), featuresLayout);
}
public boolean EqualWithoutOptionsTo(TQuantizedFeaturesInfo rhs, boolean ignoreSparsity) {
return native_implJNI.TQuantizedFeaturesInfo_EqualWithoutOptionsTo__SWIG_0(swigCPtr, this, TQuantizedFeaturesInfo.getCPtr(rhs), rhs, ignoreSparsity);
}
public boolean EqualWithoutOptionsTo(TQuantizedFeaturesInfo rhs) {
return native_implJNI.TQuantizedFeaturesInfo_EqualWithoutOptionsTo__SWIG_1(swigCPtr, this, TQuantizedFeaturesInfo.getCPtr(rhs), rhs);
}
public ENanMode GetNanMode(int floatFeatureIdx) {
return ENanMode.swigToEnum(native_implJNI.TQuantizedFeaturesInfo_GetNanMode(swigCPtr, this, floatFeatureIdx));
}
public void SetNanMode(int floatFeatureIdx, ENanMode nanMode) {
native_implJNI.TQuantizedFeaturesInfo_SetNanMode(swigCPtr, this, floatFeatureIdx, nanMode.swigValue());
}
public void GetQuantization(int floatFeatureIdx, TVector_float borders, SWIGTYPE_p_bool hasDefaultQuantizedBin, TDefaultQuantizedBin defaultQuantizedBin) {
native_implJNI.TQuantizedFeaturesInfo_GetQuantization(swigCPtr, this, floatFeatureIdx, TVector_float.getCPtr(borders), borders, SWIGTYPE_p_bool.getCPtr(hasDefaultQuantizedBin), TDefaultQuantizedBin.getCPtr(defaultQuantizedBin), defaultQuantizedBin);
}
public void SetQuantization(int floatFeatureIdx, TVector_float borders, TDefaultQuantizedBin defaultQuantizedBin) {
native_implJNI.TQuantizedFeaturesInfo_SetQuantization__SWIG_0(swigCPtr, this, floatFeatureIdx, TVector_float.getCPtr(borders), borders, TDefaultQuantizedBin.getCPtr(defaultQuantizedBin), defaultQuantizedBin);
}
public void SetQuantization(int floatFeatureIdx, TVector_float borders) {
native_implJNI.TQuantizedFeaturesInfo_SetQuantization__SWIG_1(swigCPtr, this, floatFeatureIdx, TVector_float.getCPtr(borders), borders);
}
private void writeObject(ObjectOutputStream out) throws IOException {
try {
TFeaturesLayout featuresLayout = this.GetFeaturesLayout().Get();
out.writeObject(featuresLayout);
int[] availableFloatFeatures
= native_impl.GetAvailableFeatures_Float(featuresLayout).toPrimitiveArray();
ENanMode nanMode;
TVector_float borders = new TVector_float();
boolp hasDefaultQuantizedBin = new boolp();
TDefaultQuantizedBin defaultQuantizedBin = new TDefaultQuantizedBin();
for (int i : availableFloatFeatures) {
nanMode = this.GetNanMode(i);
out.writeUnshared(nanMode);
this.GetQuantization(i, borders, hasDefaultQuantizedBin.cast(), defaultQuantizedBin);
out.writeUnshared(borders);
boolean hasDefaultQuantizedBinValue = hasDefaultQuantizedBin.value();
out.writeBoolean(hasDefaultQuantizedBinValue);
if (hasDefaultQuantizedBinValue) {
out.writeUnshared(defaultQuantizedBin);
}
}
out.writeUnshared(native_impl.GetCategoricalFeaturesUniqueValuesCounts(this));
} catch (Exception e) {
throw new IOException(e);
}
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
try {
this.swigCPtr = native_implJNI.new_TQuantizedFeaturesInfo();
this.swigCMemOwn = true;
TFeaturesLayout featuresLayout = (TFeaturesLayout)in.readObject();
int[] availableFloatFeatures
= native_impl.GetAvailableFeatures_Float(featuresLayout).toPrimitiveArray();
Init(featuresLayout);
for (int i : availableFloatFeatures) {
this.SetNanMode(i, (ENanMode)in.readUnshared());
TVector_float borders = (TVector_float)in.readUnshared();
boolean hasDefaultQuantizedBinValue = in.readBoolean();
TDefaultQuantizedBin defaultQuantizedBin = null;
if (hasDefaultQuantizedBinValue) {
defaultQuantizedBin = (TDefaultQuantizedBin)in.readUnshared();
}
this.SetQuantization(i, borders, defaultQuantizedBin);
}
TVector_i32 catFeaturesUniqueValuesCounts = (TVector_i32)in.readUnshared();
native_impl.UpdateCatFeaturesInfo(
catFeaturesUniqueValuesCounts.toPrimitiveArray(),
/*isInitialization*/ false,
this
);
} catch (Exception e) {
throw new IOException(e);
}
}
public boolean equalsImpl(TQuantizedFeaturesInfo rhs) {
return native_implJNI.TQuantizedFeaturesInfo_equalsImpl(swigCPtr, this, TQuantizedFeaturesInfo.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TQuantizedFeaturesInfo) {
boolean ptrEqual = (((TQuantizedFeaturesInfo)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TQuantizedFeaturesInfo)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
void releaseMem() {
this.swigCMemOwn = false;
}
public TQuantizedFeaturesInfo() {
this(native_implJNI.new_TQuantizedFeaturesInfo(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TQuantizedObjectsDataProviderPtr.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TQuantizedObjectsDataProviderPtr {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TQuantizedObjectsDataProviderPtr(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TQuantizedObjectsDataProviderPtr obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TQuantizedObjectsDataProviderPtr(swigCPtr);
}
swigCPtr = 0;
}
}
public SWIGTYPE_p_NCB__TObjectsDataProviderPtr ToBase() {
return new SWIGTYPE_p_NCB__TObjectsDataProviderPtr(native_implJNI.TQuantizedObjectsDataProviderPtr_ToBase(swigCPtr, this), true);
}
public TQuantizedObjectsDataProviderPtr() {
this(native_implJNI.new_TQuantizedObjectsDataProviderPtr(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TQuantizedRowAssembler.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TQuantizedRowAssembler {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TQuantizedRowAssembler(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TQuantizedRowAssembler obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TQuantizedRowAssembler(swigCPtr);
}
swigCPtr = 0;
}
}
public TQuantizedRowAssembler(TQuantizedObjectsDataProviderPtr objectsData) throws Exception {
this(native_implJNI.new_TQuantizedRowAssembler(TQuantizedObjectsDataProviderPtr.getCPtr(objectsData), objectsData), true);
}
public int GetObjectBlobSize() throws Exception {
return native_implJNI.TQuantizedRowAssembler_GetObjectBlobSize(swigCPtr, this);
}
public void AssembleObjectBlob(int objectIdx, byte[] buffer) throws Exception {
native_implJNI.TQuantizedRowAssembler_AssembleObjectBlob(swigCPtr, this, objectIdx, buffer);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TRawDatasetRow.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TRawDatasetRow {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TRawDatasetRow(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TRawDatasetRow obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TRawDatasetRow(swigCPtr);
}
swigCPtr = 0;
}
}
public void setGroupId(long value) {
native_implJNI.TRawDatasetRow_GroupId_set(swigCPtr, this, value);
}
public long getGroupId() {
return native_implJNI.TRawDatasetRow_GroupId_get(swigCPtr, this);
}
public void setSubgroupId(int value) {
native_implJNI.TRawDatasetRow_SubgroupId_set(swigCPtr, this, value);
}
public int getSubgroupId() {
return native_implJNI.TRawDatasetRow_SubgroupId_get(swigCPtr, this);
}
public void setTimestamp(long value) {
native_implJNI.TRawDatasetRow_Timestamp_set(swigCPtr, this, value);
}
public long getTimestamp() {
return native_implJNI.TRawDatasetRow_Timestamp_get(swigCPtr, this);
}
public void setStringTarget(String value) {
native_implJNI.TRawDatasetRow_StringTarget_set(swigCPtr, this, value);
}
public String getStringTarget() {
return native_implJNI.TRawDatasetRow_StringTarget_get(swigCPtr, this);
}
public void setFloatTarget(float value) {
native_implJNI.TRawDatasetRow_FloatTarget_set(swigCPtr, this, value);
}
public float getFloatTarget() {
return native_implJNI.TRawDatasetRow_FloatTarget_get(swigCPtr, this);
}
public void setWeight(float value) {
native_implJNI.TRawDatasetRow_Weight_set(swigCPtr, this, value);
}
public float getWeight() {
return native_implJNI.TRawDatasetRow_Weight_get(swigCPtr, this);
}
public void setGroupWeight(float value) {
native_implJNI.TRawDatasetRow_GroupWeight_set(swigCPtr, this, value);
}
public float getGroupWeight() {
return native_implJNI.TRawDatasetRow_GroupWeight_get(swigCPtr, this);
}
public void setSparseFloatFeaturesIndices(TVector_i32 value) {
native_implJNI.TRawDatasetRow_SparseFloatFeaturesIndices_set(swigCPtr, this, TVector_i32.getCPtr(value), value);
}
public TVector_i32 getSparseFloatFeaturesIndices() {
long cPtr = native_implJNI.TRawDatasetRow_SparseFloatFeaturesIndices_get(swigCPtr, this);
return (cPtr == 0) ? null : new TVector_i32(cPtr, false);
}
public void setSparseFloatFeaturesValues(TVector_double value) {
native_implJNI.TRawDatasetRow_SparseFloatFeaturesValues_set(swigCPtr, this, TVector_double.getCPtr(value), value);
}
public TVector_double getSparseFloatFeaturesValues() {
long cPtr = native_implJNI.TRawDatasetRow_SparseFloatFeaturesValues_get(swigCPtr, this);
return (cPtr == 0) ? null : new TVector_double(cPtr, false);
}
public void GetDenseFloatFeatures(double[] output) {
native_implJNI.TRawDatasetRow_GetDenseFloatFeatures(swigCPtr, this, output);
}
public void GetBaselines(double[] output) {
native_implJNI.TRawDatasetRow_GetBaselines(swigCPtr, this, output);
}
public TRawDatasetRow() {
this(native_implJNI.new_TRawDatasetRow(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TRawDatasetRowsReader.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TRawDatasetRowsReader {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TRawDatasetRowsReader(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TRawDatasetRowsReader obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TRawDatasetRowsReader(swigCPtr);
}
swigCPtr = 0;
}
}
public TRawDatasetRowsReader(String schema, ILineDataReader lineReader, String columnDescriptionPathWithScheme, TVector_TColumn columnsDescription, String plainJsonParamsAsString, boolean hasHeader, int blockSize, int threadCount) throws Exception {
this(native_implJNI.new_TRawDatasetRowsReader(schema, ILineDataReader.getCPtr(lineReader), lineReader, columnDescriptionPathWithScheme, TVector_TColumn.getCPtr(columnsDescription), columnsDescription, plainJsonParamsAsString, hasHeader, blockSize, threadCount), true);
}
public TIntermediateDataMetaInfo GetMetaInfo() {
return new TIntermediateDataMetaInfo(native_implJNI.TRawDatasetRowsReader_GetMetaInfo(swigCPtr, this), true);
}
public int ReadNextBlock() throws Exception {
return native_implJNI.TRawDatasetRowsReader_ReadNextBlock(swigCPtr, this);
}
public TRawDatasetRow GetRow(int objectIdx) throws Exception {
return new TRawDatasetRow(native_implJNI.TRawDatasetRowsReader_GetRow(swigCPtr, this, objectIdx), false);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TRawObjectsDataProviderPtr.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TRawObjectsDataProviderPtr {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TRawObjectsDataProviderPtr(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TRawObjectsDataProviderPtr obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TRawObjectsDataProviderPtr(swigCPtr);
}
swigCPtr = 0;
}
}
public SWIGTYPE_p_NCB__TObjectsDataProviderPtr ToBase() {
return new SWIGTYPE_p_NCB__TObjectsDataProviderPtr(native_implJNI.TRawObjectsDataProviderPtr_ToBase(swigCPtr, this), true);
}
public TRawObjectsDataProviderPtr() {
this(native_implJNI.new_TRawObjectsDataProviderPtr(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TShapInteractionValuesResult.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TShapInteractionValuesResult {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TShapInteractionValuesResult(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TShapInteractionValuesResult obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TShapInteractionValuesResult(swigCPtr);
}
swigCPtr = 0;
}
}
public TShapInteractionValuesResult(SWIGTYPE_p_TVectorT_TVectorT_TVectorT_TVectorT_double_t_t_t_t data) {
this(native_implJNI.new_TShapInteractionValuesResult(SWIGTYPE_p_TVectorT_TVectorT_TVectorT_TVectorT_double_t_t_t_t.getCPtr(data)), true);
}
public int GetObjectCount() throws Exception {
return native_implJNI.TShapInteractionValuesResult_GetObjectCount(swigCPtr, this);
}
public int GetShapInteractionValuesCount() throws Exception {
return native_implJNI.TShapInteractionValuesResult_GetShapInteractionValuesCount(swigCPtr, this);
}
public TVector_double Get(int objectIdx, int dimensionIdx) throws Exception {
return new TVector_double(native_implJNI.TShapInteractionValuesResult_Get__SWIG_0(swigCPtr, this, objectIdx, dimensionIdx), true);
}
public TVector_double Get(int objectIdx) throws Exception {
return new TVector_double(native_implJNI.TShapInteractionValuesResult_Get__SWIG_1(swigCPtr, this, objectIdx), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TShapPreparedTrees.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TShapPreparedTrees implements Externalizable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TShapPreparedTrees(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TShapPreparedTrees obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TShapPreparedTrees(swigCPtr);
}
swigCPtr = 0;
}
}
public TVector_i8 Serialize() throws Exception {
return new TVector_i8(native_implJNI.TShapPreparedTrees_Serialize(swigCPtr, this), true);
}
public void Deserialize(byte[] binaryBuffer) throws Exception {
native_implJNI.TShapPreparedTrees_Deserialize(swigCPtr, this, binaryBuffer);
}
private void writeSerialized(java.nio.ByteBuffer serializedData, DataOutput out) throws IOException {
// Transfer data by blocks because there's no way to copy data to out directly
final int BUFFER_SIZE = 16384;
byte[] javaBuffer = new byte[BUFFER_SIZE];
while (serializedData.remaining() >= BUFFER_SIZE) {
serializedData.get(javaBuffer, 0, BUFFER_SIZE);
out.write(javaBuffer);
}
if (serializedData.hasRemaining()) {
final int remaining = serializedData.remaining();
serializedData.get(javaBuffer, 0, remaining);
out.write(javaBuffer, 0, remaining);
}
}
public void writeExternal(ObjectOutput out) throws IOException {
TVector_i8 data;
try {
data = Serialize();
} catch (Exception e) {
throw new IOException("Error in TShapPreparedTrees::Serialize: " + e.getMessage());
}
java.nio.ByteBuffer byteBuffer = data.asDirectByteBuffer();
out.writeInt(byteBuffer.remaining());
writeSerialized(byteBuffer, out);
}
// without writing size to the stream, can be used to save to local or HDFS file
public void write(DataOutput out) throws IOException {
TVector_i8 data;
try {
data = Serialize();
} catch (Exception e) {
throw new IOException("Error in TShapPreparedTrees::Serialize: " + e.getMessage());
}
java.nio.ByteBuffer byteBuffer = data.asDirectByteBuffer();
writeSerialized(byteBuffer, out);
}
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
read(in.readInt(), in);
}
// without reading size from the stream, can be used to save to local or HDFS file
public void read(int size, DataInput in) throws IOException {
byte[] data = new byte[size];
in.readFully(data);
try {
Deserialize(data);
} catch (Exception e) {
throw new IOException("Error in TShapPreparedTrees::Deserialize: " + e.getMessage());
}
}
public TShapPreparedTrees() {
this(native_implJNI.new_TShapPreparedTrees(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TShapValuesResult.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TShapValuesResult {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TShapValuesResult(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TShapValuesResult obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TShapValuesResult(swigCPtr);
}
swigCPtr = 0;
}
}
public TShapValuesResult(SWIGTYPE_p_TVectorT_TVectorT_TVectorT_double_t_t_t data) {
this(native_implJNI.new_TShapValuesResult(SWIGTYPE_p_TVectorT_TVectorT_TVectorT_double_t_t_t.getCPtr(data)), true);
}
public int GetObjectCount() throws Exception {
return native_implJNI.TShapValuesResult_GetObjectCount(swigCPtr, this);
}
public int GetShapValuesCount() throws Exception {
return native_implJNI.TShapValuesResult_GetShapValuesCount(swigCPtr, this);
}
public TVector_double Get(int objectIdx) throws Exception {
return new TVector_double(native_implJNI.TShapValuesResult_Get(swigCPtr, this, objectIdx), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TStringOutWrapper.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TStringOutWrapper {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TStringOutWrapper(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TStringOutWrapper obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TStringOutWrapper(swigCPtr);
}
swigCPtr = 0;
}
}
public TStringOutWrapper(SWIGTYPE_p_TString out) {
this(native_implJNI.new_TStringOutWrapper(SWIGTYPE_p_TString.getCPtr(out)), true);
}
public void Assign(byte[] data, int length) throws Exception {
native_implJNI.TStringOutWrapper_Assign(swigCPtr, this, data, length);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TTargetStatsForCtrs.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class TTargetStatsForCtrs {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TTargetStatsForCtrs(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TTargetStatsForCtrs obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TTargetStatsForCtrs(swigCPtr);
}
swigCPtr = 0;
}
}
public void setLearnTargetClass(SWIGTYPE_p_TVectorT_TVectorT_int_t_t value) {
native_implJNI.TTargetStatsForCtrs_LearnTargetClass_set(swigCPtr, this, SWIGTYPE_p_TVectorT_TVectorT_int_t_t.getCPtr(value));
}
public SWIGTYPE_p_TVectorT_TVectorT_int_t_t getLearnTargetClass() {
long cPtr = native_implJNI.TTargetStatsForCtrs_LearnTargetClass_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_TVectorT_TVectorT_int_t_t(cPtr, false);
}
public void setTargetClassesCount(SWIGTYPE_p_TVectorT_int_t value) {
native_implJNI.TTargetStatsForCtrs_TargetClassesCount_set(swigCPtr, this, SWIGTYPE_p_TVectorT_int_t.getCPtr(value));
}
public SWIGTYPE_p_TVectorT_int_t getTargetClassesCount() {
long cPtr = native_implJNI.TTargetStatsForCtrs_TargetClassesCount_get(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_TVectorT_int_t(cPtr, false);
}
public TTargetStatsForCtrs() {
this(native_implJNI.new_TTargetStatsForCtrs(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TVector_TColumn.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TVector_TColumn extends java.util.AbstractList<TColumn> implements java.util.RandomAccess,Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TVector_TColumn(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TVector_TColumn obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TVector_TColumn(swigCPtr);
}
swigCPtr = 0;
}
}
public void yresize(long new_size) {
native_implJNI.TVector_TColumn_yresize(swigCPtr, this, new_size);
}
public void reserve(long new_cap) {
native_implJNI.TVector_TColumn_reserve(swigCPtr, this, new_cap);
}
public TColumn getImpl(int index) {
return new TColumn(native_implJNI.TVector_TColumn_getImpl(swigCPtr, this, index), false);
}
public TColumn setImpl(int index, TColumn element) {
return new TColumn(native_implJNI.TVector_TColumn_setImpl(swigCPtr, this, index, TColumn.getCPtr(element), element), true);
}
public int sizeImpl() {
return native_implJNI.TVector_TColumn_sizeImpl(swigCPtr, this);
}
public void addImpl(TColumn element) {
native_implJNI.TVector_TColumn_addImpl__SWIG_0(swigCPtr, this, TColumn.getCPtr(element), element);
}
public void addImpl(int index, TColumn element) {
native_implJNI.TVector_TColumn_addImpl__SWIG_1(swigCPtr, this, index, TColumn.getCPtr(element), element);
}
public TColumn removeImpl(int index) {
return new TColumn(native_implJNI.TVector_TColumn_removeImpl(swigCPtr, this, index), true);
}
public TVector_TColumn(TColumn[] elements) {
this();
reserve(elements.length);
for (TColumn element : elements) {
addImpl(element);
}
}
public TVector_TColumn(Iterable<TColumn> elements) {
this();
for (TColumn element : elements) {
addImpl(element);
}
}
public TColumn get(int index) {
return getImpl(index);
}
public TColumn set(int index, TColumn element) {
return setImpl(index, element);
}
public int size() {
return sizeImpl();
}
public boolean add(TColumn element) {
modCount++;
addImpl(element);
return true;
}
public void add(int index, TColumn element) {
modCount++;
addImpl(index, element);
}
public TColumn remove(int index) {
modCount++;
return removeImpl(index);
}
// Generic serialization implementation - not very fast
private void writeObject(ObjectOutputStream out) throws IOException {
int length = this.size();
out.writeInt(length);
for (int i = 0; i < length; ++i) {
out.writeObject(this.get(i));
}
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TVector_TColumn();
this.swigCMemOwn = true;
int length = in.readInt();
this.reserve(length);
for (int i = 0; i < length; ++i) {
this.add((TColumn)in.readObject());
}
}
public boolean equalsImpl(TVector_TColumn rhs) {
return native_implJNI.TVector_TColumn_equalsImpl(swigCPtr, this, TVector_TColumn.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TVector_TColumn) {
boolean ptrEqual = (((TVector_TColumn)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TVector_TColumn)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
public TVector_TColumn() {
this(native_implJNI.new_TVector_TColumn(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TVector_TDataProviderPtr.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TVector_TDataProviderPtr extends java.util.AbstractList<TDataProviderPtr> implements java.util.RandomAccess,Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TVector_TDataProviderPtr(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TVector_TDataProviderPtr obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TVector_TDataProviderPtr(swigCPtr);
}
swigCPtr = 0;
}
}
public void yresize(long new_size) {
native_implJNI.TVector_TDataProviderPtr_yresize(swigCPtr, this, new_size);
}
public void reserve(long new_cap) {
native_implJNI.TVector_TDataProviderPtr_reserve(swigCPtr, this, new_cap);
}
public TDataProviderPtr getImpl(int index) {
return new TDataProviderPtr(native_implJNI.TVector_TDataProviderPtr_getImpl(swigCPtr, this, index), false);
}
public TDataProviderPtr setImpl(int index, TDataProviderPtr element) {
return new TDataProviderPtr(native_implJNI.TVector_TDataProviderPtr_setImpl(swigCPtr, this, index, TDataProviderPtr.getCPtr(element), element), true);
}
public int sizeImpl() {
return native_implJNI.TVector_TDataProviderPtr_sizeImpl(swigCPtr, this);
}
public void addImpl(TDataProviderPtr element) {
native_implJNI.TVector_TDataProviderPtr_addImpl__SWIG_0(swigCPtr, this, TDataProviderPtr.getCPtr(element), element);
}
public void addImpl(int index, TDataProviderPtr element) {
native_implJNI.TVector_TDataProviderPtr_addImpl__SWIG_1(swigCPtr, this, index, TDataProviderPtr.getCPtr(element), element);
}
public TDataProviderPtr removeImpl(int index) {
return new TDataProviderPtr(native_implJNI.TVector_TDataProviderPtr_removeImpl(swigCPtr, this, index), true);
}
public TVector_TDataProviderPtr(TDataProviderPtr[] elements) {
this();
reserve(elements.length);
for (TDataProviderPtr element : elements) {
addImpl(element);
}
}
public TVector_TDataProviderPtr(Iterable<TDataProviderPtr> elements) {
this();
for (TDataProviderPtr element : elements) {
addImpl(element);
}
}
public TDataProviderPtr get(int index) {
return getImpl(index);
}
public TDataProviderPtr set(int index, TDataProviderPtr element) {
return setImpl(index, element);
}
public int size() {
return sizeImpl();
}
public boolean add(TDataProviderPtr element) {
modCount++;
addImpl(element);
return true;
}
public void add(int index, TDataProviderPtr element) {
modCount++;
addImpl(index, element);
}
public TDataProviderPtr remove(int index) {
modCount++;
return removeImpl(index);
}
// Generic serialization implementation - not very fast
private void writeObject(ObjectOutputStream out) throws IOException {
int length = this.size();
out.writeInt(length);
for (int i = 0; i < length; ++i) {
out.writeObject(this.get(i));
}
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TVector_TDataProviderPtr();
this.swigCMemOwn = true;
int length = in.readInt();
this.reserve(length);
for (int i = 0; i < length; ++i) {
this.add((TDataProviderPtr)in.readObject());
}
}
public boolean equalsImpl(TVector_TDataProviderPtr rhs) {
return native_implJNI.TVector_TDataProviderPtr_equalsImpl(swigCPtr, this, TVector_TDataProviderPtr.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TVector_TDataProviderPtr) {
boolean ptrEqual = (((TVector_TDataProviderPtr)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TVector_TDataProviderPtr)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
public TVector_TDataProviderPtr() {
this(native_implJNI.new_TVector_TDataProviderPtr(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TVector_TFeatureMetaInfo.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TVector_TFeatureMetaInfo extends java.util.AbstractList<TFeatureMetaInfo> implements java.util.RandomAccess,Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TVector_TFeatureMetaInfo(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TVector_TFeatureMetaInfo obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TVector_TFeatureMetaInfo(swigCPtr);
}
swigCPtr = 0;
}
}
public void yresize(long new_size) {
native_implJNI.TVector_TFeatureMetaInfo_yresize(swigCPtr, this, new_size);
}
public void reserve(long new_cap) {
native_implJNI.TVector_TFeatureMetaInfo_reserve(swigCPtr, this, new_cap);
}
public TFeatureMetaInfo getImpl(int index) {
return new TFeatureMetaInfo(native_implJNI.TVector_TFeatureMetaInfo_getImpl(swigCPtr, this, index), false);
}
public TFeatureMetaInfo setImpl(int index, TFeatureMetaInfo element) {
return new TFeatureMetaInfo(native_implJNI.TVector_TFeatureMetaInfo_setImpl(swigCPtr, this, index, TFeatureMetaInfo.getCPtr(element), element), true);
}
public int sizeImpl() {
return native_implJNI.TVector_TFeatureMetaInfo_sizeImpl(swigCPtr, this);
}
public void addImpl(TFeatureMetaInfo element) {
native_implJNI.TVector_TFeatureMetaInfo_addImpl__SWIG_0(swigCPtr, this, TFeatureMetaInfo.getCPtr(element), element);
}
public void addImpl(int index, TFeatureMetaInfo element) {
native_implJNI.TVector_TFeatureMetaInfo_addImpl__SWIG_1(swigCPtr, this, index, TFeatureMetaInfo.getCPtr(element), element);
}
public TFeatureMetaInfo removeImpl(int index) {
return new TFeatureMetaInfo(native_implJNI.TVector_TFeatureMetaInfo_removeImpl(swigCPtr, this, index), true);
}
public TVector_TFeatureMetaInfo(TFeatureMetaInfo[] elements) {
this();
reserve(elements.length);
for (TFeatureMetaInfo element : elements) {
addImpl(element);
}
}
public TVector_TFeatureMetaInfo(Iterable<TFeatureMetaInfo> elements) {
this();
for (TFeatureMetaInfo element : elements) {
addImpl(element);
}
}
public TFeatureMetaInfo get(int index) {
return getImpl(index);
}
public TFeatureMetaInfo set(int index, TFeatureMetaInfo element) {
return setImpl(index, element);
}
public int size() {
return sizeImpl();
}
public boolean add(TFeatureMetaInfo element) {
modCount++;
addImpl(element);
return true;
}
public void add(int index, TFeatureMetaInfo element) {
modCount++;
addImpl(index, element);
}
public TFeatureMetaInfo remove(int index) {
modCount++;
return removeImpl(index);
}
// Generic serialization implementation - not very fast
private void writeObject(ObjectOutputStream out) throws IOException {
int length = this.size();
out.writeInt(length);
for (int i = 0; i < length; ++i) {
out.writeObject(this.get(i));
}
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TVector_TFeatureMetaInfo();
this.swigCMemOwn = true;
int length = in.readInt();
this.reserve(length);
for (int i = 0; i < length; ++i) {
this.add((TFeatureMetaInfo)in.readObject());
}
}
public boolean equalsImpl(TVector_TFeatureMetaInfo rhs) {
return native_implJNI.TVector_TFeatureMetaInfo_equalsImpl(swigCPtr, this, TVector_TFeatureMetaInfo.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TVector_TFeatureMetaInfo) {
boolean ptrEqual = (((TVector_TFeatureMetaInfo)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TVector_TFeatureMetaInfo)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
public TVector_TFeatureMetaInfo() {
this(native_implJNI.new_TVector_TFeatureMetaInfo(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TVector_TMaybeOwningConstArrayHolder_float.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TVector_TMaybeOwningConstArrayHolder_float extends java.util.AbstractList<float[]> implements java.util.RandomAccess,Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TVector_TMaybeOwningConstArrayHolder_float(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TVector_TMaybeOwningConstArrayHolder_float obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TVector_TMaybeOwningConstArrayHolder_float(swigCPtr);
}
swigCPtr = 0;
}
}
public void yresize(long new_size) {
native_implJNI.TVector_TMaybeOwningConstArrayHolder_float_yresize(swigCPtr, this, new_size);
}
public void reserve(long new_cap) {
native_implJNI.TVector_TMaybeOwningConstArrayHolder_float_reserve(swigCPtr, this, new_cap);
}
public float[] getImpl(int index) {
return native_implJNI.TVector_TMaybeOwningConstArrayHolder_float_getImpl(swigCPtr, this, index);
}
public float[] setImpl(int index, float[] element) {
return native_implJNI.TVector_TMaybeOwningConstArrayHolder_float_setImpl(swigCPtr, this, index, element);
}
public int sizeImpl() {
return native_implJNI.TVector_TMaybeOwningConstArrayHolder_float_sizeImpl(swigCPtr, this);
}
public void addImpl(float[] element) {
native_implJNI.TVector_TMaybeOwningConstArrayHolder_float_addImpl__SWIG_0(swigCPtr, this, element);
}
public void addImpl(int index, float[] element) {
native_implJNI.TVector_TMaybeOwningConstArrayHolder_float_addImpl__SWIG_1(swigCPtr, this, index, element);
}
public float[] removeImpl(int index) {
return native_implJNI.TVector_TMaybeOwningConstArrayHolder_float_removeImpl(swigCPtr, this, index);
}
public TVector_TMaybeOwningConstArrayHolder_float(float[][] elements) {
this();
reserve(elements.length);
for (float[] element : elements) {
addImpl(element);
}
}
public TVector_TMaybeOwningConstArrayHolder_float(Iterable<float[]> elements) {
this();
for (float[] element : elements) {
addImpl(element);
}
}
public float[] get(int index) {
return getImpl(index);
}
public float[] set(int index, float[] element) {
return setImpl(index, element);
}
public int size() {
return sizeImpl();
}
public boolean add(float[] element) {
modCount++;
addImpl(element);
return true;
}
public void add(int index, float[] element) {
modCount++;
addImpl(index, element);
}
public float[] remove(int index) {
modCount++;
return removeImpl(index);
}
// Generic serialization implementation - not very fast
private void writeObject(ObjectOutputStream out) throws IOException {
int length = this.size();
out.writeInt(length);
for (int i = 0; i < length; ++i) {
out.writeObject(this.get(i));
}
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TVector_TMaybeOwningConstArrayHolder_float();
this.swigCMemOwn = true;
int length = in.readInt();
this.reserve(length);
for (int i = 0; i < length; ++i) {
this.add((float[])in.readObject());
}
}
public boolean equalsImpl(TVector_TMaybeOwningConstArrayHolder_float rhs) {
return native_implJNI.TVector_TMaybeOwningConstArrayHolder_float_equalsImpl(swigCPtr, this, TVector_TMaybeOwningConstArrayHolder_float.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TVector_TMaybeOwningConstArrayHolder_float) {
boolean ptrEqual = (((TVector_TMaybeOwningConstArrayHolder_float)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TVector_TMaybeOwningConstArrayHolder_float)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
public TVector_TMaybeOwningConstArrayHolder_float() {
this(native_implJNI.new_TVector_TMaybeOwningConstArrayHolder_float(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TVector_TMaybeOwningConstArrayHolder_i32.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TVector_TMaybeOwningConstArrayHolder_i32 extends java.util.AbstractList<int[]> implements java.util.RandomAccess,Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TVector_TMaybeOwningConstArrayHolder_i32(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TVector_TMaybeOwningConstArrayHolder_i32 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TVector_TMaybeOwningConstArrayHolder_i32(swigCPtr);
}
swigCPtr = 0;
}
}
public void yresize(long new_size) {
native_implJNI.TVector_TMaybeOwningConstArrayHolder_i32_yresize(swigCPtr, this, new_size);
}
public void reserve(long new_cap) {
native_implJNI.TVector_TMaybeOwningConstArrayHolder_i32_reserve(swigCPtr, this, new_cap);
}
public int[] getImpl(int index) {
return native_implJNI.TVector_TMaybeOwningConstArrayHolder_i32_getImpl(swigCPtr, this, index);
}
public int[] setImpl(int index, int[] element) {
return native_implJNI.TVector_TMaybeOwningConstArrayHolder_i32_setImpl(swigCPtr, this, index, element);
}
public int sizeImpl() {
return native_implJNI.TVector_TMaybeOwningConstArrayHolder_i32_sizeImpl(swigCPtr, this);
}
public void addImpl(int[] element) {
native_implJNI.TVector_TMaybeOwningConstArrayHolder_i32_addImpl__SWIG_0(swigCPtr, this, element);
}
public void addImpl(int index, int[] element) {
native_implJNI.TVector_TMaybeOwningConstArrayHolder_i32_addImpl__SWIG_1(swigCPtr, this, index, element);
}
public int[] removeImpl(int index) {
return native_implJNI.TVector_TMaybeOwningConstArrayHolder_i32_removeImpl(swigCPtr, this, index);
}
public TVector_TMaybeOwningConstArrayHolder_i32(int[][] elements) {
this();
reserve(elements.length);
for (int[] element : elements) {
addImpl(element);
}
}
public TVector_TMaybeOwningConstArrayHolder_i32(Iterable<int[]> elements) {
this();
for (int[] element : elements) {
addImpl(element);
}
}
public int[] get(int index) {
return getImpl(index);
}
public int[] set(int index, int[] element) {
return setImpl(index, element);
}
public int size() {
return sizeImpl();
}
public boolean add(int[] element) {
modCount++;
addImpl(element);
return true;
}
public void add(int index, int[] element) {
modCount++;
addImpl(index, element);
}
public int[] remove(int index) {
modCount++;
return removeImpl(index);
}
// Generic serialization implementation - not very fast
private void writeObject(ObjectOutputStream out) throws IOException {
int length = this.size();
out.writeInt(length);
for (int i = 0; i < length; ++i) {
out.writeObject(this.get(i));
}
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TVector_TMaybeOwningConstArrayHolder_i32();
this.swigCMemOwn = true;
int length = in.readInt();
this.reserve(length);
for (int i = 0; i < length; ++i) {
this.add((int[])in.readObject());
}
}
public boolean equalsImpl(TVector_TMaybeOwningConstArrayHolder_i32 rhs) {
return native_implJNI.TVector_TMaybeOwningConstArrayHolder_i32_equalsImpl(swigCPtr, this, TVector_TMaybeOwningConstArrayHolder_i32.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TVector_TMaybeOwningConstArrayHolder_i32) {
boolean ptrEqual = (((TVector_TMaybeOwningConstArrayHolder_i32)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TVector_TMaybeOwningConstArrayHolder_i32)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
public TVector_TMaybeOwningConstArrayHolder_i32() {
this(native_implJNI.new_TVector_TMaybeOwningConstArrayHolder_i32(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TVector_TQuantizedObjectsDataProviderPtr.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TVector_TQuantizedObjectsDataProviderPtr extends java.util.AbstractList<TQuantizedObjectsDataProviderPtr> implements java.util.RandomAccess,Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TVector_TQuantizedObjectsDataProviderPtr(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TVector_TQuantizedObjectsDataProviderPtr obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TVector_TQuantizedObjectsDataProviderPtr(swigCPtr);
}
swigCPtr = 0;
}
}
public void yresize(long new_size) {
native_implJNI.TVector_TQuantizedObjectsDataProviderPtr_yresize(swigCPtr, this, new_size);
}
public void reserve(long new_cap) {
native_implJNI.TVector_TQuantizedObjectsDataProviderPtr_reserve(swigCPtr, this, new_cap);
}
public TQuantizedObjectsDataProviderPtr getImpl(int index) {
return new TQuantizedObjectsDataProviderPtr(native_implJNI.TVector_TQuantizedObjectsDataProviderPtr_getImpl(swigCPtr, this, index), false);
}
public TQuantizedObjectsDataProviderPtr setImpl(int index, TQuantizedObjectsDataProviderPtr element) {
return new TQuantizedObjectsDataProviderPtr(native_implJNI.TVector_TQuantizedObjectsDataProviderPtr_setImpl(swigCPtr, this, index, TQuantizedObjectsDataProviderPtr.getCPtr(element), element), true);
}
public int sizeImpl() {
return native_implJNI.TVector_TQuantizedObjectsDataProviderPtr_sizeImpl(swigCPtr, this);
}
public void addImpl(TQuantizedObjectsDataProviderPtr element) {
native_implJNI.TVector_TQuantizedObjectsDataProviderPtr_addImpl__SWIG_0(swigCPtr, this, TQuantizedObjectsDataProviderPtr.getCPtr(element), element);
}
public void addImpl(int index, TQuantizedObjectsDataProviderPtr element) {
native_implJNI.TVector_TQuantizedObjectsDataProviderPtr_addImpl__SWIG_1(swigCPtr, this, index, TQuantizedObjectsDataProviderPtr.getCPtr(element), element);
}
public TQuantizedObjectsDataProviderPtr removeImpl(int index) {
return new TQuantizedObjectsDataProviderPtr(native_implJNI.TVector_TQuantizedObjectsDataProviderPtr_removeImpl(swigCPtr, this, index), true);
}
public TVector_TQuantizedObjectsDataProviderPtr(TQuantizedObjectsDataProviderPtr[] elements) {
this();
reserve(elements.length);
for (TQuantizedObjectsDataProviderPtr element : elements) {
addImpl(element);
}
}
public TVector_TQuantizedObjectsDataProviderPtr(Iterable<TQuantizedObjectsDataProviderPtr> elements) {
this();
for (TQuantizedObjectsDataProviderPtr element : elements) {
addImpl(element);
}
}
public TQuantizedObjectsDataProviderPtr get(int index) {
return getImpl(index);
}
public TQuantizedObjectsDataProviderPtr set(int index, TQuantizedObjectsDataProviderPtr element) {
return setImpl(index, element);
}
public int size() {
return sizeImpl();
}
public boolean add(TQuantizedObjectsDataProviderPtr element) {
modCount++;
addImpl(element);
return true;
}
public void add(int index, TQuantizedObjectsDataProviderPtr element) {
modCount++;
addImpl(index, element);
}
public TQuantizedObjectsDataProviderPtr remove(int index) {
modCount++;
return removeImpl(index);
}
// Generic serialization implementation - not very fast
private void writeObject(ObjectOutputStream out) throws IOException {
int length = this.size();
out.writeInt(length);
for (int i = 0; i < length; ++i) {
out.writeObject(this.get(i));
}
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TVector_TQuantizedObjectsDataProviderPtr();
this.swigCMemOwn = true;
int length = in.readInt();
this.reserve(length);
for (int i = 0; i < length; ++i) {
this.add((TQuantizedObjectsDataProviderPtr)in.readObject());
}
}
public boolean equalsImpl(TVector_TQuantizedObjectsDataProviderPtr rhs) {
return native_implJNI.TVector_TQuantizedObjectsDataProviderPtr_equalsImpl(swigCPtr, this, TVector_TQuantizedObjectsDataProviderPtr.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TVector_TQuantizedObjectsDataProviderPtr) {
boolean ptrEqual = (((TVector_TQuantizedObjectsDataProviderPtr)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TVector_TQuantizedObjectsDataProviderPtr)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
public TVector_TQuantizedObjectsDataProviderPtr() {
this(native_implJNI.new_TVector_TQuantizedObjectsDataProviderPtr(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TVector_TString.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TVector_TString extends java.util.AbstractList<String> implements java.util.RandomAccess,Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TVector_TString(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TVector_TString obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TVector_TString(swigCPtr);
}
swigCPtr = 0;
}
}
public void yresize(long new_size) {
native_implJNI.TVector_TString_yresize(swigCPtr, this, new_size);
}
public void reserve(long new_cap) {
native_implJNI.TVector_TString_reserve(swigCPtr, this, new_cap);
}
public String getImpl(int index) {
return native_implJNI.TVector_TString_getImpl(swigCPtr, this, index);
}
public String setImpl(int index, String element) {
return native_implJNI.TVector_TString_setImpl(swigCPtr, this, index, element);
}
public int sizeImpl() {
return native_implJNI.TVector_TString_sizeImpl(swigCPtr, this);
}
public void addImpl(String element) {
native_implJNI.TVector_TString_addImpl__SWIG_0(swigCPtr, this, element);
}
public void addImpl(int index, String element) {
native_implJNI.TVector_TString_addImpl__SWIG_1(swigCPtr, this, index, element);
}
public String removeImpl(int index) {
return native_implJNI.TVector_TString_removeImpl(swigCPtr, this, index);
}
public TVector_TString(String[] elements) {
this();
reserve(elements.length);
for (String element : elements) {
addImpl(element);
}
}
public TVector_TString(Iterable<String> elements) {
this();
for (String element : elements) {
addImpl(element);
}
}
public String get(int index) {
return getImpl(index);
}
public String set(int index, String element) {
return setImpl(index, element);
}
public int size() {
return sizeImpl();
}
public boolean add(String element) {
modCount++;
addImpl(element);
return true;
}
public void add(int index, String element) {
modCount++;
addImpl(index, element);
}
public String remove(int index) {
modCount++;
return removeImpl(index);
}
// Generic serialization implementation - not very fast
private void writeObject(ObjectOutputStream out) throws IOException {
int length = this.size();
out.writeInt(length);
for (int i = 0; i < length; ++i) {
out.writeObject(this.get(i));
}
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TVector_TString();
this.swigCMemOwn = true;
int length = in.readInt();
this.reserve(length);
for (int i = 0; i < length; ++i) {
this.add((String)in.readObject());
}
}
public boolean equalsImpl(TVector_TString rhs) {
return native_implJNI.TVector_TString_equalsImpl(swigCPtr, this, TVector_TString.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TVector_TString) {
boolean ptrEqual = (((TVector_TString)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TVector_TString)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
public TVector_TString() {
this(native_implJNI.new_TVector_TString(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TVector_const_TFullModel_ptr.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TVector_const_TFullModel_ptr extends java.util.AbstractList<TFullModel> implements java.util.RandomAccess,Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TVector_const_TFullModel_ptr(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TVector_const_TFullModel_ptr obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TVector_const_TFullModel_ptr(swigCPtr);
}
swigCPtr = 0;
}
}
public void yresize(long new_size) {
native_implJNI.TVector_const_TFullModel_ptr_yresize(swigCPtr, this, new_size);
}
public void reserve(long new_cap) {
native_implJNI.TVector_const_TFullModel_ptr_reserve(swigCPtr, this, new_cap);
}
public TFullModel getImpl(int index) {
long cPtr = native_implJNI.TVector_const_TFullModel_ptr_getImpl(swigCPtr, this, index);
return (cPtr == 0) ? null : new TFullModel(cPtr, false);
}
public TFullModel setImpl(int index, TFullModel element) {
long cPtr = native_implJNI.TVector_const_TFullModel_ptr_setImpl(swigCPtr, this, index, TFullModel.getCPtr(element), element);
return (cPtr == 0) ? null : new TFullModel(cPtr, false);
}
public int sizeImpl() {
return native_implJNI.TVector_const_TFullModel_ptr_sizeImpl(swigCPtr, this);
}
public void addImpl(TFullModel element) {
native_implJNI.TVector_const_TFullModel_ptr_addImpl__SWIG_0(swigCPtr, this, TFullModel.getCPtr(element), element);
}
public void addImpl(int index, TFullModel element) {
native_implJNI.TVector_const_TFullModel_ptr_addImpl__SWIG_1(swigCPtr, this, index, TFullModel.getCPtr(element), element);
}
public TFullModel removeImpl(int index) {
long cPtr = native_implJNI.TVector_const_TFullModel_ptr_removeImpl(swigCPtr, this, index);
return (cPtr == 0) ? null : new TFullModel(cPtr, false);
}
public TVector_const_TFullModel_ptr(TFullModel[] elements) {
this();
reserve(elements.length);
for (TFullModel element : elements) {
addImpl(element);
}
}
public TVector_const_TFullModel_ptr(Iterable<TFullModel> elements) {
this();
for (TFullModel element : elements) {
addImpl(element);
}
}
public TFullModel get(int index) {
return getImpl(index);
}
public TFullModel set(int index, TFullModel element) {
return setImpl(index, element);
}
public int size() {
return sizeImpl();
}
public boolean add(TFullModel element) {
modCount++;
addImpl(element);
return true;
}
public void add(int index, TFullModel element) {
modCount++;
addImpl(index, element);
}
public TFullModel remove(int index) {
modCount++;
return removeImpl(index);
}
// Generic serialization implementation - not very fast
private void writeObject(ObjectOutputStream out) throws IOException {
int length = this.size();
out.writeInt(length);
for (int i = 0; i < length; ++i) {
out.writeObject(this.get(i));
}
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TVector_const_TFullModel_ptr();
this.swigCMemOwn = true;
int length = in.readInt();
this.reserve(length);
for (int i = 0; i < length; ++i) {
this.add((TFullModel)in.readObject());
}
}
public boolean equalsImpl(TVector_const_TFullModel_ptr rhs) {
return native_implJNI.TVector_const_TFullModel_ptr_equalsImpl(swigCPtr, this, TVector_const_TFullModel_ptr.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TVector_const_TFullModel_ptr) {
boolean ptrEqual = (((TVector_const_TFullModel_ptr)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TVector_const_TFullModel_ptr)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
public TVector_const_TFullModel_ptr() {
this(native_implJNI.new_TVector_const_TFullModel_ptr(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TVector_double.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TVector_double extends java.util.AbstractList<Double> implements java.util.RandomAccess,Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TVector_double(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TVector_double obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TVector_double(swigCPtr);
}
swigCPtr = 0;
}
}
public void yresize(long new_size) {
native_implJNI.TVector_double_yresize(swigCPtr, this, new_size);
}
public void reserve(long new_cap) {
native_implJNI.TVector_double_reserve(swigCPtr, this, new_cap);
}
public double getImpl(int index) {
return native_implJNI.TVector_double_getImpl(swigCPtr, this, index);
}
public double setImpl(int index, double element) {
return native_implJNI.TVector_double_setImpl(swigCPtr, this, index, element);
}
public int sizeImpl() {
return native_implJNI.TVector_double_sizeImpl(swigCPtr, this);
}
public void addImpl(double element) {
native_implJNI.TVector_double_addImpl__SWIG_0(swigCPtr, this, element);
}
public void addImpl(int index, double element) {
native_implJNI.TVector_double_addImpl__SWIG_1(swigCPtr, this, index, element);
}
public double removeImpl(int index) {
return native_implJNI.TVector_double_removeImpl(swigCPtr, this, index);
}
public TVector_double(double[] elements) {
this();
reserve(elements.length);
for (double element : elements) {
addImpl(element);
}
}
public TVector_double(Iterable<Double> elements) {
this();
for (double element : elements) {
addImpl(element);
}
}
public Double get(int index) {
return getImpl(index);
}
public Double set(int index, Double element) {
return setImpl(index, element);
}
public int size() {
return sizeImpl();
}
public boolean add(Double element) {
modCount++;
addImpl(element);
return true;
}
public void add(int index, Double element) {
modCount++;
addImpl(index, element);
}
public Double remove(int index) {
modCount++;
return removeImpl(index);
}
// Generic serialization implementation - not very fast
private void writeObject(ObjectOutputStream out) throws IOException {
int length = this.size();
out.writeInt(length);
for (int i = 0; i < length; ++i) {
out.writeObject(this.get(i));
}
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TVector_double();
this.swigCMemOwn = true;
int length = in.readInt();
this.reserve(length);
for (int i = 0; i < length; ++i) {
this.add((Double)in.readObject());
}
}
public boolean equalsImpl(TVector_double rhs) {
return native_implJNI.TVector_double_equalsImpl(swigCPtr, this, TVector_double.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TVector_double) {
boolean ptrEqual = (((TVector_double)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TVector_double)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
public double[] toPrimitiveArray() {
return native_implJNI.toPrimitiveArrayImpl_double(swigCPtr, this);
}
// valid only until next reallocation of TVector, so, use with caution.
public java.nio.ByteBuffer asDirectByteBuffer() {
return (java.nio.ByteBuffer)native_implJNI.asDirectByteBufferImpl_double(swigCPtr, this);
}
public TVector_double() {
this(native_implJNI.new_TVector_double(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TVector_float.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TVector_float extends java.util.AbstractList<Float> implements java.util.RandomAccess,Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TVector_float(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TVector_float obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TVector_float(swigCPtr);
}
swigCPtr = 0;
}
}
public void yresize(long new_size) {
native_implJNI.TVector_float_yresize(swigCPtr, this, new_size);
}
public void reserve(long new_cap) {
native_implJNI.TVector_float_reserve(swigCPtr, this, new_cap);
}
public float getImpl(int index) {
return native_implJNI.TVector_float_getImpl(swigCPtr, this, index);
}
public float setImpl(int index, float element) {
return native_implJNI.TVector_float_setImpl(swigCPtr, this, index, element);
}
public int sizeImpl() {
return native_implJNI.TVector_float_sizeImpl(swigCPtr, this);
}
public void addImpl(float element) {
native_implJNI.TVector_float_addImpl__SWIG_0(swigCPtr, this, element);
}
public void addImpl(int index, float element) {
native_implJNI.TVector_float_addImpl__SWIG_1(swigCPtr, this, index, element);
}
public float removeImpl(int index) {
return native_implJNI.TVector_float_removeImpl(swigCPtr, this, index);
}
public TVector_float(float[] elements) {
this();
reserve(elements.length);
for (float element : elements) {
addImpl(element);
}
}
public TVector_float(Iterable<Float> elements) {
this();
for (float element : elements) {
addImpl(element);
}
}
public Float get(int index) {
return getImpl(index);
}
public Float set(int index, Float element) {
return setImpl(index, element);
}
public int size() {
return sizeImpl();
}
public boolean add(Float element) {
modCount++;
addImpl(element);
return true;
}
public void add(int index, Float element) {
modCount++;
addImpl(index, element);
}
public Float remove(int index) {
modCount++;
return removeImpl(index);
}
// Generic serialization implementation - not very fast
private void writeObject(ObjectOutputStream out) throws IOException {
int length = this.size();
out.writeInt(length);
for (int i = 0; i < length; ++i) {
out.writeObject(this.get(i));
}
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TVector_float();
this.swigCMemOwn = true;
int length = in.readInt();
this.reserve(length);
for (int i = 0; i < length; ++i) {
this.add((Float)in.readObject());
}
}
public boolean equalsImpl(TVector_float rhs) {
return native_implJNI.TVector_float_equalsImpl(swigCPtr, this, TVector_float.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TVector_float) {
boolean ptrEqual = (((TVector_float)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TVector_float)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
public float[] toPrimitiveArray() {
return native_implJNI.toPrimitiveArrayImpl_float(swigCPtr, this);
}
// valid only until next reallocation of TVector, so, use with caution.
public java.nio.ByteBuffer asDirectByteBuffer() {
return (java.nio.ByteBuffer)native_implJNI.asDirectByteBufferImpl_float(swigCPtr, this);
}
public TVector_float() {
this(native_implJNI.new_TVector_float(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TVector_i16.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TVector_i16 extends java.util.AbstractList<Short> implements java.util.RandomAccess,Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TVector_i16(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TVector_i16 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TVector_i16(swigCPtr);
}
swigCPtr = 0;
}
}
public void yresize(long new_size) {
native_implJNI.TVector_i16_yresize(swigCPtr, this, new_size);
}
public void reserve(long new_cap) {
native_implJNI.TVector_i16_reserve(swigCPtr, this, new_cap);
}
public short getImpl(int index) {
return native_implJNI.TVector_i16_getImpl(swigCPtr, this, index);
}
public short setImpl(int index, short element) {
return native_implJNI.TVector_i16_setImpl(swigCPtr, this, index, element);
}
public int sizeImpl() {
return native_implJNI.TVector_i16_sizeImpl(swigCPtr, this);
}
public void addImpl(short element) {
native_implJNI.TVector_i16_addImpl__SWIG_0(swigCPtr, this, element);
}
public void addImpl(int index, short element) {
native_implJNI.TVector_i16_addImpl__SWIG_1(swigCPtr, this, index, element);
}
public short removeImpl(int index) {
return native_implJNI.TVector_i16_removeImpl(swigCPtr, this, index);
}
public TVector_i16(short[] elements) {
this();
reserve(elements.length);
for (short element : elements) {
addImpl(element);
}
}
public TVector_i16(Iterable<Short> elements) {
this();
for (short element : elements) {
addImpl(element);
}
}
public Short get(int index) {
return getImpl(index);
}
public Short set(int index, Short element) {
return setImpl(index, element);
}
public int size() {
return sizeImpl();
}
public boolean add(Short element) {
modCount++;
addImpl(element);
return true;
}
public void add(int index, Short element) {
modCount++;
addImpl(index, element);
}
public Short remove(int index) {
modCount++;
return removeImpl(index);
}
// Generic serialization implementation - not very fast
private void writeObject(ObjectOutputStream out) throws IOException {
int length = this.size();
out.writeInt(length);
for (int i = 0; i < length; ++i) {
out.writeObject(this.get(i));
}
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TVector_i16();
this.swigCMemOwn = true;
int length = in.readInt();
this.reserve(length);
for (int i = 0; i < length; ++i) {
this.add((Short)in.readObject());
}
}
public boolean equalsImpl(TVector_i16 rhs) {
return native_implJNI.TVector_i16_equalsImpl(swigCPtr, this, TVector_i16.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TVector_i16) {
boolean ptrEqual = (((TVector_i16)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TVector_i16)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
public short[] toPrimitiveArray() {
return native_implJNI.toPrimitiveArrayImpl_i16(swigCPtr, this);
}
// valid only until next reallocation of TVector, so, use with caution.
public java.nio.ByteBuffer asDirectByteBuffer() {
return (java.nio.ByteBuffer)native_implJNI.asDirectByteBufferImpl_i16(swigCPtr, this);
}
public TVector_i16() {
this(native_implJNI.new_TVector_i16(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TVector_i32.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TVector_i32 extends java.util.AbstractList<Integer> implements java.util.RandomAccess,Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TVector_i32(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TVector_i32 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TVector_i32(swigCPtr);
}
swigCPtr = 0;
}
}
public void yresize(long new_size) {
native_implJNI.TVector_i32_yresize(swigCPtr, this, new_size);
}
public void reserve(long new_cap) {
native_implJNI.TVector_i32_reserve(swigCPtr, this, new_cap);
}
public int getImpl(int index) {
return native_implJNI.TVector_i32_getImpl(swigCPtr, this, index);
}
public int setImpl(int index, int element) {
return native_implJNI.TVector_i32_setImpl(swigCPtr, this, index, element);
}
public int sizeImpl() {
return native_implJNI.TVector_i32_sizeImpl(swigCPtr, this);
}
public void addImpl(int element) {
native_implJNI.TVector_i32_addImpl__SWIG_0(swigCPtr, this, element);
}
public void addImpl(int index, int element) {
native_implJNI.TVector_i32_addImpl__SWIG_1(swigCPtr, this, index, element);
}
public int removeImpl(int index) {
return native_implJNI.TVector_i32_removeImpl(swigCPtr, this, index);
}
public TVector_i32(int[] elements) {
this();
reserve(elements.length);
for (int element : elements) {
addImpl(element);
}
}
public TVector_i32(Iterable<Integer> elements) {
this();
for (int element : elements) {
addImpl(element);
}
}
public Integer get(int index) {
return getImpl(index);
}
public Integer set(int index, Integer element) {
return setImpl(index, element);
}
public int size() {
return sizeImpl();
}
public boolean add(Integer element) {
modCount++;
addImpl(element);
return true;
}
public void add(int index, Integer element) {
modCount++;
addImpl(index, element);
}
public Integer remove(int index) {
modCount++;
return removeImpl(index);
}
// Generic serialization implementation - not very fast
private void writeObject(ObjectOutputStream out) throws IOException {
int length = this.size();
out.writeInt(length);
for (int i = 0; i < length; ++i) {
out.writeObject(this.get(i));
}
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TVector_i32();
this.swigCMemOwn = true;
int length = in.readInt();
this.reserve(length);
for (int i = 0; i < length; ++i) {
this.add((Integer)in.readObject());
}
}
public boolean equalsImpl(TVector_i32 rhs) {
return native_implJNI.TVector_i32_equalsImpl(swigCPtr, this, TVector_i32.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TVector_i32) {
boolean ptrEqual = (((TVector_i32)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TVector_i32)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
public int[] toPrimitiveArray() {
return native_implJNI.toPrimitiveArrayImpl_i32(swigCPtr, this);
}
// valid only until next reallocation of TVector, so, use with caution.
public java.nio.ByteBuffer asDirectByteBuffer() {
return (java.nio.ByteBuffer)native_implJNI.asDirectByteBufferImpl_i32(swigCPtr, this);
}
public TVector_i32() {
this(native_implJNI.new_TVector_i32(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TVector_i64.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TVector_i64 extends java.util.AbstractList<Long> implements java.util.RandomAccess,Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TVector_i64(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TVector_i64 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TVector_i64(swigCPtr);
}
swigCPtr = 0;
}
}
public void yresize(long new_size) {
native_implJNI.TVector_i64_yresize(swigCPtr, this, new_size);
}
public void reserve(long new_cap) {
native_implJNI.TVector_i64_reserve(swigCPtr, this, new_cap);
}
public long getImpl(int index) {
return native_implJNI.TVector_i64_getImpl(swigCPtr, this, index);
}
public long setImpl(int index, long element) {
return native_implJNI.TVector_i64_setImpl(swigCPtr, this, index, element);
}
public int sizeImpl() {
return native_implJNI.TVector_i64_sizeImpl(swigCPtr, this);
}
public void addImpl(long element) {
native_implJNI.TVector_i64_addImpl__SWIG_0(swigCPtr, this, element);
}
public void addImpl(int index, long element) {
native_implJNI.TVector_i64_addImpl__SWIG_1(swigCPtr, this, index, element);
}
public long removeImpl(int index) {
return native_implJNI.TVector_i64_removeImpl(swigCPtr, this, index);
}
public TVector_i64(long[] elements) {
this();
reserve(elements.length);
for (long element : elements) {
addImpl(element);
}
}
public TVector_i64(Iterable<Long> elements) {
this();
for (long element : elements) {
addImpl(element);
}
}
public Long get(int index) {
return getImpl(index);
}
public Long set(int index, Long element) {
return setImpl(index, element);
}
public int size() {
return sizeImpl();
}
public boolean add(Long element) {
modCount++;
addImpl(element);
return true;
}
public void add(int index, Long element) {
modCount++;
addImpl(index, element);
}
public Long remove(int index) {
modCount++;
return removeImpl(index);
}
// Generic serialization implementation - not very fast
private void writeObject(ObjectOutputStream out) throws IOException {
int length = this.size();
out.writeInt(length);
for (int i = 0; i < length; ++i) {
out.writeObject(this.get(i));
}
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TVector_i64();
this.swigCMemOwn = true;
int length = in.readInt();
this.reserve(length);
for (int i = 0; i < length; ++i) {
this.add((Long)in.readObject());
}
}
public boolean equalsImpl(TVector_i64 rhs) {
return native_implJNI.TVector_i64_equalsImpl(swigCPtr, this, TVector_i64.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TVector_i64) {
boolean ptrEqual = (((TVector_i64)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TVector_i64)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
public long[] toPrimitiveArray() {
return native_implJNI.toPrimitiveArrayImpl_i64(swigCPtr, this);
}
// valid only until next reallocation of TVector, so, use with caution.
public java.nio.ByteBuffer asDirectByteBuffer() {
return (java.nio.ByteBuffer)native_implJNI.asDirectByteBufferImpl_i64(swigCPtr, this);
}
public TVector_i64() {
this(native_implJNI.new_TVector_i64(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/TVector_i8.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
import java.io.*;
public class TVector_i8 extends java.util.AbstractList<Byte> implements java.util.RandomAccess,Serializable {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected TVector_i8(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(TVector_i8 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_TVector_i8(swigCPtr);
}
swigCPtr = 0;
}
}
public void yresize(long new_size) {
native_implJNI.TVector_i8_yresize(swigCPtr, this, new_size);
}
public void reserve(long new_cap) {
native_implJNI.TVector_i8_reserve(swigCPtr, this, new_cap);
}
public byte getImpl(int index) {
return native_implJNI.TVector_i8_getImpl(swigCPtr, this, index);
}
public byte setImpl(int index, byte element) {
return native_implJNI.TVector_i8_setImpl(swigCPtr, this, index, element);
}
public int sizeImpl() {
return native_implJNI.TVector_i8_sizeImpl(swigCPtr, this);
}
public void addImpl(byte element) {
native_implJNI.TVector_i8_addImpl__SWIG_0(swigCPtr, this, element);
}
public void addImpl(int index, byte element) {
native_implJNI.TVector_i8_addImpl__SWIG_1(swigCPtr, this, index, element);
}
public byte removeImpl(int index) {
return native_implJNI.TVector_i8_removeImpl(swigCPtr, this, index);
}
public TVector_i8(byte[] elements) {
this();
reserve(elements.length);
for (byte element : elements) {
addImpl(element);
}
}
public TVector_i8(Iterable<Byte> elements) {
this();
for (byte element : elements) {
addImpl(element);
}
}
public Byte get(int index) {
return getImpl(index);
}
public Byte set(int index, Byte element) {
return setImpl(index, element);
}
public int size() {
return sizeImpl();
}
public boolean add(Byte element) {
modCount++;
addImpl(element);
return true;
}
public void add(int index, Byte element) {
modCount++;
addImpl(index, element);
}
public Byte remove(int index) {
modCount++;
return removeImpl(index);
}
// Generic serialization implementation - not very fast
private void writeObject(ObjectOutputStream out) throws IOException {
int length = this.size();
out.writeInt(length);
for (int i = 0; i < length; ++i) {
out.writeObject(this.get(i));
}
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
this.swigCPtr = native_implJNI.new_TVector_i8();
this.swigCMemOwn = true;
int length = in.readInt();
this.reserve(length);
for (int i = 0; i < length; ++i) {
this.add((Byte)in.readObject());
}
}
public boolean equalsImpl(TVector_i8 rhs) {
return native_implJNI.TVector_i8_equalsImpl(swigCPtr, this, TVector_i8.getCPtr(rhs), rhs);
}
public boolean equals(Object obj) {
if (obj instanceof TVector_i8) {
boolean ptrEqual = (((TVector_i8)obj).swigCPtr == this.swigCPtr);
if (ptrEqual) {
return true;
} else {
return this.equalsImpl((TVector_i8)obj);
}
} else {
return false;
}
}
public int hashCode() {
return (int)this.swigCPtr;
}
public byte[] toPrimitiveArray() {
return native_implJNI.toPrimitiveArrayImpl_i8(swigCPtr, this);
}
// valid only until next reallocation of TVector, so, use with caution.
public java.nio.ByteBuffer asDirectByteBuffer() {
return (java.nio.ByteBuffer)native_implJNI.asDirectByteBufferImpl_i8(swigCPtr, this);
}
public TVector_i8() {
this(native_implJNI.new_TVector_i8(), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/boolp.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class boolp {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected boolp(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(boolp obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
native_implJNI.delete_boolp(swigCPtr);
}
swigCPtr = 0;
}
}
public boolp() {
this(native_implJNI.new_boolp(), true);
}
public void assign(boolean value) {
native_implJNI.boolp_assign(swigCPtr, this, value);
}
public boolean value() {
return native_implJNI.boolp_value(swigCPtr, this);
}
public SWIGTYPE_p_bool cast() {
long cPtr = native_implJNI.boolp_cast(swigCPtr, this);
return (cPtr == 0) ? null : new SWIGTYPE_p_bool(cPtr, false);
}
public static boolp frompointer(SWIGTYPE_p_bool t) {
long cPtr = native_implJNI.boolp_frompointer(SWIGTYPE_p_bool.getCPtr(t));
return (cPtr == 0) ? null : new boolp(cPtr, false);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/native_impl.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class native_impl {
public static byte[] toPrimitiveArrayImpl_i8(TVector_i8 v) {
return native_implJNI.toPrimitiveArrayImpl_i8(TVector_i8.getCPtr(v), v);
}
public static java.lang.Object asDirectByteBufferImpl_i8(TVector_i8 v) {
return native_implJNI.asDirectByteBufferImpl_i8(TVector_i8.getCPtr(v), v);
}
public static short[] toPrimitiveArrayImpl_i16(TVector_i16 v) {
return native_implJNI.toPrimitiveArrayImpl_i16(TVector_i16.getCPtr(v), v);
}
public static java.lang.Object asDirectByteBufferImpl_i16(TVector_i16 v) {
return native_implJNI.asDirectByteBufferImpl_i16(TVector_i16.getCPtr(v), v);
}
public static int[] toPrimitiveArrayImpl_i32(TVector_i32 v) {
return native_implJNI.toPrimitiveArrayImpl_i32(TVector_i32.getCPtr(v), v);
}
public static java.lang.Object asDirectByteBufferImpl_i32(TVector_i32 v) {
return native_implJNI.asDirectByteBufferImpl_i32(TVector_i32.getCPtr(v), v);
}
public static long[] toPrimitiveArrayImpl_i64(TVector_i64 v) {
return native_implJNI.toPrimitiveArrayImpl_i64(TVector_i64.getCPtr(v), v);
}
public static java.lang.Object asDirectByteBufferImpl_i64(TVector_i64 v) {
return native_implJNI.asDirectByteBufferImpl_i64(TVector_i64.getCPtr(v), v);
}
public static float[] toPrimitiveArrayImpl_float(TVector_float v) {
return native_implJNI.toPrimitiveArrayImpl_float(TVector_float.getCPtr(v), v);
}
public static java.lang.Object asDirectByteBufferImpl_float(TVector_float v) {
return native_implJNI.asDirectByteBufferImpl_float(TVector_float.getCPtr(v), v);
}
public static double[] toPrimitiveArrayImpl_double(TVector_double v) {
return native_implJNI.toPrimitiveArrayImpl_double(TVector_double.getCPtr(v), v);
}
public static java.lang.Object asDirectByteBufferImpl_double(TVector_double v) {
return native_implJNI.asDirectByteBufferImpl_double(TVector_double.getCPtr(v), v);
}
public static TMaybe_TString MakeMaybeUtf8String(byte[] data, int length) {
return new TMaybe_TString(native_implJNI.MakeMaybeUtf8String(data, length), true);
}
public static long CalcGroupIdForString(String token) {
return native_implJNI.CalcGroupIdForString(token);
}
public static TFeatureMetaInfo MakeFeatureMetaInfo(EFeatureType type, String name, boolean isSparse, boolean isIgnored, boolean isAvailable) throws Exception {
return new TFeatureMetaInfo(native_implJNI.MakeFeatureMetaInfo__SWIG_0(type.swigValue(), name, isSparse, isIgnored, isAvailable), true);
}
public static TFeatureMetaInfo MakeFeatureMetaInfo(EFeatureType type, String name, boolean isSparse, boolean isIgnored) throws Exception {
return new TFeatureMetaInfo(native_implJNI.MakeFeatureMetaInfo__SWIG_1(type.swigValue(), name, isSparse, isIgnored), true);
}
public static TFeatureMetaInfo MakeFeatureMetaInfo(EFeatureType type, String name, boolean isSparse) throws Exception {
return new TFeatureMetaInfo(native_implJNI.MakeFeatureMetaInfo__SWIG_2(type.swigValue(), name, isSparse), true);
}
public static TFeatureMetaInfo MakeFeatureMetaInfo(EFeatureType type, String name) throws Exception {
return new TFeatureMetaInfo(native_implJNI.MakeFeatureMetaInfo__SWIG_3(type.swigValue(), name), true);
}
public static TFeaturesLayout MakeFeaturesLayout(TVector_TFeatureMetaInfo data) throws Exception {
return new TFeaturesLayout(native_implJNI.MakeFeaturesLayout__SWIG_0(TVector_TFeatureMetaInfo.getCPtr(data), data), true);
}
public static TFeaturesLayout MakeFeaturesLayout(int featureCount, TVector_TString featureNames, TVector_i32 ignoredFeatures) throws Exception {
return new TFeaturesLayout(native_implJNI.MakeFeaturesLayout__SWIG_1(featureCount, TVector_TString.getCPtr(featureNames), featureNames, TVector_i32.getCPtr(ignoredFeatures), ignoredFeatures), true);
}
public static TFeaturesLayoutPtr CloneWithSelectedFeatures(TFeaturesLayout featuresLayout, int[] selectedFeatures) throws Exception {
return new TFeaturesLayoutPtr(native_implJNI.CloneWithSelectedFeatures(TFeaturesLayout.getCPtr(featuresLayout), featuresLayout, selectedFeatures), true);
}
public static TVector_i32 GetAvailableFeatures_Float(TFeaturesLayout featuresLayout) {
return new TVector_i32(native_implJNI.GetAvailableFeatures_Float(TFeaturesLayout.getCPtr(featuresLayout), featuresLayout), true);
}
public static TVector_i32 GetAvailableFeatures_Categorical(TFeaturesLayout featuresLayout) {
return new TVector_i32(native_implJNI.GetAvailableFeatures_Categorical(TFeaturesLayout.getCPtr(featuresLayout), featuresLayout), true);
}
public static TVector_i32 GetAvailableFeaturesFlatIndices_Float(TFeaturesLayout featuresLayout) {
return new TVector_i32(native_implJNI.GetAvailableFeaturesFlatIndices_Float(TFeaturesLayout.getCPtr(featuresLayout), featuresLayout), true);
}
public static TVector_i32 GetAvailableFeaturesFlatIndices_Categorical(TFeaturesLayout featuresLayout) {
return new TVector_i32(native_implJNI.GetAvailableFeaturesFlatIndices_Categorical(TFeaturesLayout.getCPtr(featuresLayout), featuresLayout), true);
}
public static TIntermediateDataMetaInfo GetIntermediateDataMetaInfo(String schema, String columnDescriptionPathWithScheme, String plainJsonParamsAsString, TMaybe_TString dsvHeader, String firstDataLine) throws Exception {
return new TIntermediateDataMetaInfo(native_implJNI.GetIntermediateDataMetaInfo(schema, columnDescriptionPathWithScheme, plainJsonParamsAsString, TMaybe_TString.getCPtr(dsvHeader), dsvHeader, firstDataLine), true);
}
public static QuantizedFeaturesInfoPtr MakeQuantizedFeaturesInfo(TFeaturesLayout featuresLayout) throws Exception {
return new QuantizedFeaturesInfoPtr(native_implJNI.MakeQuantizedFeaturesInfo(TFeaturesLayout.getCPtr(featuresLayout), featuresLayout), true);
}
public static QuantizedFeaturesInfoPtr MakeEstimatedQuantizedFeaturesInfo(int featureCount) throws Exception {
return new QuantizedFeaturesInfoPtr(native_implJNI.MakeEstimatedQuantizedFeaturesInfo(featureCount), true);
}
public static void UpdateCatFeaturesInfo(int[] catFeaturesUniqValueCounts, boolean isInitialization, TQuantizedFeaturesInfo quantizedFeaturesInfo) throws Exception {
native_implJNI.UpdateCatFeaturesInfo(catFeaturesUniqValueCounts, isInitialization, TQuantizedFeaturesInfo.getCPtr(quantizedFeaturesInfo), quantizedFeaturesInfo);
}
public static int CalcMaxCategoricalFeaturesUniqueValuesCountOnLearn(TQuantizedFeaturesInfo quantizedFeaturesInfo) throws Exception {
return native_implJNI.CalcMaxCategoricalFeaturesUniqueValuesCountOnLearn(TQuantizedFeaturesInfo.getCPtr(quantizedFeaturesInfo), quantizedFeaturesInfo);
}
public static TVector_i32 GetCategoricalFeaturesUniqueValuesCounts(TQuantizedFeaturesInfo quantizedFeaturesInfo) throws Exception {
return new TVector_i32(native_implJNI.GetCategoricalFeaturesUniqueValuesCounts(TQuantizedFeaturesInfo.getCPtr(quantizedFeaturesInfo), quantizedFeaturesInfo), true);
}
public static void DbgDump(TQuantizedFeaturesInfo quantizedFeaturesInfo, String fileName) {
native_implJNI.DbgDump(TQuantizedFeaturesInfo.getCPtr(quantizedFeaturesInfo), quantizedFeaturesInfo, fileName);
}
public static TRawObjectsDataProviderPtr CreateRawObjectsDataProvider(TFeaturesLayoutPtr featuresLayout, long objectCount, TVector_TMaybeOwningConstArrayHolder_float columnwiseFloatFeaturesData, TVector_TMaybeOwningConstArrayHolder_i32 columnwiseCatFeaturesData, int maxUniqCatFeatureValues, TLocalExecutor localExecutor) throws Exception {
return new TRawObjectsDataProviderPtr(native_implJNI.CreateRawObjectsDataProvider(TFeaturesLayoutPtr.getCPtr(featuresLayout), featuresLayout, objectCount, TVector_TMaybeOwningConstArrayHolder_float.getCPtr(columnwiseFloatFeaturesData), columnwiseFloatFeaturesData, TVector_TMaybeOwningConstArrayHolder_i32.getCPtr(columnwiseCatFeaturesData), columnwiseCatFeaturesData, maxUniqCatFeatureValues, TLocalExecutor.getCPtr(localExecutor), localExecutor), true);
}
public static void SavePairsInGroupedDsvFormat(TDataProviderPtr dataProvider, String outputFile) throws Exception {
native_implJNI.SavePairsInGroupedDsvFormat(TDataProviderPtr.getCPtr(dataProvider), dataProvider, outputFile);
}
public static QuantizedFeaturesInfoPtr PrepareQuantizationParameters(TFeaturesLayout featuresLayout, String plainJsonParamsAsString) throws Exception {
return new QuantizedFeaturesInfoPtr(native_implJNI.PrepareQuantizationParameters(TFeaturesLayout.getCPtr(featuresLayout), featuresLayout, plainJsonParamsAsString), true);
}
public static TQuantizedObjectsDataProviderPtr Quantize(QuantizedFeaturesInfoPtr quantizedFeaturesInfo, TRawObjectsDataProviderPtr rawObjectsDataProvider, TLocalExecutor localExecutor) throws Exception {
return new TQuantizedObjectsDataProviderPtr(native_implJNI.Quantize(QuantizedFeaturesInfoPtr.getCPtr(quantizedFeaturesInfo), quantizedFeaturesInfo, TRawObjectsDataProviderPtr.getCPtr(rawObjectsDataProvider), rawObjectsDataProvider, TLocalExecutor.getCPtr(localExecutor), localExecutor), true);
}
public static void GetActiveFeaturesIndices(TFeaturesLayoutPtr featuresLayout, QuantizedFeaturesInfoPtr quantizedFeaturesInfo, TVector_i32 ui8FlatIndices, TVector_i32 ui16FlatIndices, TVector_i32 ui32FlatIndices) throws Exception {
native_implJNI.GetActiveFeaturesIndices(TFeaturesLayoutPtr.getCPtr(featuresLayout), featuresLayout, QuantizedFeaturesInfoPtr.getCPtr(quantizedFeaturesInfo), quantizedFeaturesInfo, TVector_i32.getCPtr(ui8FlatIndices), ui8FlatIndices, TVector_i32.getCPtr(ui16FlatIndices), ui16FlatIndices, TVector_i32.getCPtr(ui32FlatIndices), ui32FlatIndices);
}
public static SWIGTYPE_p_TCtrHelper GetCtrHelper(TCatBoostOptions catBoostOptions, TFeaturesLayout layout, TVector_float preprocessedLearnTarget, TVector_i8 serializedLabelConverter) throws Exception {
return new SWIGTYPE_p_TCtrHelper(native_implJNI.GetCtrHelper(TCatBoostOptions.getCPtr(catBoostOptions), catBoostOptions, TFeaturesLayout.getCPtr(layout), layout, TVector_float.getCPtr(preprocessedLearnTarget), preprocessedLearnTarget, TVector_i8.getCPtr(serializedLabelConverter), serializedLabelConverter), true);
}
public static TTargetStatsForCtrs ComputeTargetStatsForCtrs(SWIGTYPE_p_TCtrHelper ctrHelper, TVector_float preprocessedLearnTarget, TLocalExecutor localExecutor) throws Exception {
return new TTargetStatsForCtrs(native_implJNI.ComputeTargetStatsForCtrs(SWIGTYPE_p_TCtrHelper.getCPtr(ctrHelper), TVector_float.getCPtr(preprocessedLearnTarget), preprocessedLearnTarget, TLocalExecutor.getCPtr(localExecutor), localExecutor), true);
}
public static void ComputeEstimatedCtrFeatures(SWIGTYPE_p_TCtrHelper ctrHelper, TCatBoostOptions catBoostOptions, TTargetStatsForCtrs targetStats, TQuantizedObjectsDataProviderPtr learnData, TVector_TQuantizedObjectsDataProviderPtr testData, TLocalExecutor localExecutor, TEstimatedForCPUObjectsDataProviders outputData, TPrecomputedOnlineCtrMetaData outputMeta) throws Exception {
native_implJNI.ComputeEstimatedCtrFeatures(SWIGTYPE_p_TCtrHelper.getCPtr(ctrHelper), TCatBoostOptions.getCPtr(catBoostOptions), catBoostOptions, TTargetStatsForCtrs.getCPtr(targetStats), targetStats, TQuantizedObjectsDataProviderPtr.getCPtr(learnData), learnData, TVector_TQuantizedObjectsDataProviderPtr.getCPtr(testData), testData, TLocalExecutor.getCPtr(localExecutor), localExecutor, TEstimatedForCPUObjectsDataProviders.getCPtr(outputData), outputData, TPrecomputedOnlineCtrMetaData.getCPtr(outputMeta), outputMeta);
}
public static void SaveQuantizedPool(TDataProviderPtr dataProvider, String fileName) throws Exception {
native_implJNI.SaveQuantizedPool(TDataProviderPtr.getCPtr(dataProvider), dataProvider, fileName);
}
public static SWIGTYPE_p_NJson__TJsonValue ParseCatBoostPlainParamsToJson(String plainJsonParamsAsString) throws Exception {
return new SWIGTYPE_p_NJson__TJsonValue(native_implJNI.ParseCatBoostPlainParamsToJson(plainJsonParamsAsString), true);
}
public static TCatBoostOptions LoadCatBoostOptions(SWIGTYPE_p_NJson__TJsonValue plainJsonParams) throws Exception {
return new TCatBoostOptions(native_implJNI.LoadCatBoostOptions(SWIGTYPE_p_NJson__TJsonValue.getCPtr(plainJsonParams)), true);
}
public static void InitCatBoostOptions(String plainJsonParamsAsString, TCatBoostOptions result) throws Exception {
native_implJNI.InitCatBoostOptions(plainJsonParamsAsString, TCatBoostOptions.getCPtr(result), result);
}
public static int GetOneHotMaxSize(int maxCategoricalFeaturesUniqValuesOnLearn, boolean hasLearnTarget, String plainJsonParamsAsString) throws Exception {
return native_implJNI.GetOneHotMaxSize(maxCategoricalFeaturesUniqValuesOnLearn, hasLearnTarget, plainJsonParamsAsString);
}
public static TFullModel ReadModel(String modelFile, EModelType format) throws Exception {
return new TFullModel(native_implJNI.ReadModel__SWIG_0(modelFile, format.swigValue()), true);
}
public static TFullModel ReadModel(String modelFile) throws Exception {
return new TFullModel(native_implJNI.ReadModel__SWIG_1(modelFile), true);
}
public static TFullModel SumModels(TVector_const_TFullModel_ptr modelVector, TVector_double weights, TVector_TString modelParamsPrefixes, ECtrTableMergePolicy ctrMergePolicy) throws Exception {
return new TFullModel(native_implJNI.SumModels__SWIG_0(TVector_const_TFullModel_ptr.getCPtr(modelVector), modelVector, TVector_double.getCPtr(weights), weights, TVector_TString.getCPtr(modelParamsPrefixes), modelParamsPrefixes, ctrMergePolicy.swigValue()), true);
}
public static TFullModel SumModels(TVector_const_TFullModel_ptr modelVector, TVector_double weights, TVector_TString modelParamsPrefixes) throws Exception {
return new TFullModel(native_implJNI.SumModels__SWIG_1(TVector_const_TFullModel_ptr.getCPtr(modelVector), modelVector, TVector_double.getCPtr(weights), weights, TVector_TString.getCPtr(modelParamsPrefixes), modelParamsPrefixes), true);
}
public static void CalcSoftmax(double[] approx, double[] softmax) {
native_implJNI.CalcSoftmax(approx, softmax);
}
public static int ModeFitImpl(TVector_TString args) {
return native_implJNI.ModeFitImpl(TVector_TString.getCPtr(args), args);
}
public static void ShutdownWorkers(String hostsFile, int timeoutInSeconds) {
native_implJNI.ShutdownWorkers(hostsFile, timeoutInSeconds);
}
public static void RunWorker(long numThreads, long nodePort) throws Exception {
native_implJNI.RunWorker(numThreads, nodePort);
}
public static long GetPartitionTotalObjectCount(TVector_TDataProviderPtr trainDataProviders) {
return native_implJNI.GetPartitionTotalObjectCount(TVector_TDataProviderPtr.getCPtr(trainDataProviders), trainDataProviders);
}
public static void CreateTrainingDataForWorker(int hostId, int numThreads, String plainJsonParamsAsString, TVector_i8 serializedLabelConverter, TVector_TDataProviderPtr trainDataProviders, QuantizedFeaturesInfoPtr quantizedFeaturesInfo, TVector_TDataProviderPtr trainEstimatedDataProviders, String precomputedOnlineCtrMetaDataAsJsonString) throws Exception {
native_implJNI.CreateTrainingDataForWorker(hostId, numThreads, plainJsonParamsAsString, TVector_i8.getCPtr(serializedLabelConverter), serializedLabelConverter, TVector_TDataProviderPtr.getCPtr(trainDataProviders), trainDataProviders, QuantizedFeaturesInfoPtr.getCPtr(quantizedFeaturesInfo), quantizedFeaturesInfo, TVector_TDataProviderPtr.getCPtr(trainEstimatedDataProviders), trainEstimatedDataProviders, precomputedOnlineCtrMetaDataAsJsonString);
}
public static void CheckModelAndDatasetCompatibility(TFullModel model, TQuantizedFeaturesInfo datasetQuantizedFeaturesInfo) throws Exception {
native_implJNI.CheckModelAndDatasetCompatibility(TFullModel.getCPtr(model), model, TQuantizedFeaturesInfo.getCPtr(datasetQuantizedFeaturesInfo), datasetQuantizedFeaturesInfo);
}
public static QuantizedFeaturesInfoPtr CreateQuantizedFeaturesInfoForModelApplication(TFullModel model, TFeaturesLayout datasetFeaturesLayout) throws Exception {
return new QuantizedFeaturesInfoPtr(native_implJNI.CreateQuantizedFeaturesInfoForModelApplication(TFullModel.getCPtr(model), model, TFeaturesLayout.getCPtr(datasetFeaturesLayout), datasetFeaturesLayout), true);
}
public static TVector_TString GetMaybeGeneratedModelFeatureIds(TFullModel model, TFeaturesLayoutPtr datasetFeaturesLayout) throws Exception {
return new TVector_TString(native_implJNI.GetMaybeGeneratedModelFeatureIds(TFullModel.getCPtr(model), model, TFeaturesLayoutPtr.getCPtr(datasetFeaturesLayout), datasetFeaturesLayout), true);
}
public static EFstrType GetDefaultFstrType(TFullModel model) throws Exception {
return EFstrType.swigToEnum(native_implJNI.GetDefaultFstrType(TFullModel.getCPtr(model), model));
}
public static boolean PreparedTreesNeedLeavesWeightsFromDataset(TFullModel model) throws Exception {
return native_implJNI.PreparedTreesNeedLeavesWeightsFromDataset(TFullModel.getCPtr(model), model);
}
public static TVector_double CollectLeavesStatisticsWrapper(TDataProviderPtr dataset, TFullModel model, TLocalExecutor localExecutor) throws Exception {
return new TVector_double(native_implJNI.CollectLeavesStatisticsWrapper(TDataProviderPtr.getCPtr(dataset), dataset, TFullModel.getCPtr(model), model, TLocalExecutor.getCPtr(localExecutor), localExecutor), true);
}
public static TShapPreparedTrees PrepareTreesWithoutIndependent(TFullModel model, long datasetObjectCount, boolean needSumModelAndDatasetWeights, double[] leafWeightsFromDataset, EPreCalcShapValues mode, boolean calcInternalValues, ECalcTypeShapValues calcType, boolean calcShapValuesByLeaf, TLocalExecutor localExecutor) throws Exception {
return new TShapPreparedTrees(native_implJNI.PrepareTreesWithoutIndependent(TFullModel.getCPtr(model), model, datasetObjectCount, needSumModelAndDatasetWeights, leafWeightsFromDataset, mode.swigValue(), calcInternalValues, calcType.swigValue(), calcShapValuesByLeaf, TLocalExecutor.getCPtr(localExecutor), localExecutor), true);
}
public static TVector_double CalcFeatureEffectLossChangeMetricStatsWrapper(TFullModel model, int featuresCount, TShapPreparedTrees preparedTrees, TDataProviderPtr dataset, ECalcTypeShapValues calcType, TLocalExecutor localExecutor) throws Exception {
return new TVector_double(native_implJNI.CalcFeatureEffectLossChangeMetricStatsWrapper(TFullModel.getCPtr(model), model, featuresCount, TShapPreparedTrees.getCPtr(preparedTrees), preparedTrees, TDataProviderPtr.getCPtr(dataset), dataset, calcType.swigValue(), TLocalExecutor.getCPtr(localExecutor), localExecutor), true);
}
public static TVector_double CalcFeatureEffectLossChangeFromScores(TFullModel model, TCombinationClassFeatures combinationClassFeatures, double[] scoresMatrix) throws Exception {
return new TVector_double(native_implJNI.CalcFeatureEffectLossChangeFromScores(TFullModel.getCPtr(model), model, TCombinationClassFeatures.getCPtr(combinationClassFeatures), combinationClassFeatures, scoresMatrix), true);
}
public static TVector_double CalcFeatureEffectAverageChangeWrapper(TFullModel model, double[] leafWeightsFromDataset) throws Exception {
return new TVector_double(native_implJNI.CalcFeatureEffectAverageChangeWrapper(TFullModel.getCPtr(model), model, leafWeightsFromDataset), true);
}
public static TVector_double GetPredictionDiffWrapper(TFullModel model, TRawObjectsDataProviderPtr objectsDataProvider, TLocalExecutor localExecutor) throws Exception {
return new TVector_double(native_implJNI.GetPredictionDiffWrapper(TFullModel.getCPtr(model), model, TRawObjectsDataProviderPtr.getCPtr(objectsDataProvider), objectsDataProvider, TLocalExecutor.getCPtr(localExecutor), localExecutor), true);
}
public static TShapValuesResult CalcShapValuesWithPreparedTreesWrapper(TFullModel model, TDataProviderPtr dataset, TShapPreparedTrees preparedTrees, ECalcTypeShapValues calcType, TLocalExecutor localExecutor) throws Exception {
return new TShapValuesResult(native_implJNI.CalcShapValuesWithPreparedTreesWrapper(TFullModel.getCPtr(model), model, TDataProviderPtr.getCPtr(dataset), dataset, TShapPreparedTrees.getCPtr(preparedTrees), preparedTrees, calcType.swigValue(), TLocalExecutor.getCPtr(localExecutor), localExecutor), true);
}
public static void GetSelectedFeaturesIndices(TFullModel model, String feature1Name, String feature2Name, int[] featureIndices) throws Exception {
native_implJNI.GetSelectedFeaturesIndices(TFullModel.getCPtr(model), model, feature1Name, feature2Name, featureIndices);
}
public static TShapInteractionValuesResult CalcShapInteractionValuesWithPreparedTreesWrapper(TFullModel model, TDataProviderPtr dataset, int[] selectedFeatureIndices, ECalcTypeShapValues calcType, TLocalExecutor localExecutor, TShapPreparedTrees preparedTrees) throws Exception {
return new TShapInteractionValuesResult(native_implJNI.CalcShapInteractionValuesWithPreparedTreesWrapper(TFullModel.getCPtr(model), model, TDataProviderPtr.getCPtr(dataset), dataset, selectedFeatureIndices, calcType.swigValue(), TLocalExecutor.getCPtr(localExecutor), localExecutor, TShapPreparedTrees.getCPtr(preparedTrees), preparedTrees), true);
}
public static void CalcInteraction(TFullModel model, TVector_i32 firstIndices, TVector_i32 secondIndices, TVector_double scores) throws Exception {
native_implJNI.CalcInteraction(TFullModel.getCPtr(model), model, TVector_i32.getCPtr(firstIndices), firstIndices, TVector_i32.getCPtr(secondIndices), secondIndices, TVector_double.getCPtr(scores), scores);
}
public static boolean HasNonZeroApproxForZeroWeightLeaf(TFullModel model) throws Exception {
return native_implJNI.HasNonZeroApproxForZeroWeightLeaf(TFullModel.getCPtr(model), model);
}
public static long GetMaxObjectCountForFstrCalc(long objectCount, int featureCount) throws Exception {
return native_implJNI.GetMaxObjectCountForFstrCalc(objectCount, featureCount);
}
public static TCombinationClassFeatures GetCombinationClassFeatures(TFullModel model) throws Exception {
return new TCombinationClassFeatures(native_implJNI.GetCombinationClassFeatures(TFullModel.getCPtr(model), model), true);
}
}
|
0
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src
|
java-sources/ai/catboost/catboost-spark_3.0_2.12/1.2.8/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/native_implJNI.java
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package ru.yandex.catboost.spark.catboost4j_spark.core.src.native_impl;
public class native_implJNI {
public final static native void TVector_i8_yresize(long jarg1, TVector_i8 jarg1_, long jarg2);
public final static native void TVector_i8_reserve(long jarg1, TVector_i8 jarg1_, long jarg2);
public final static native byte TVector_i8_getImpl(long jarg1, TVector_i8 jarg1_, int jarg2);
public final static native byte TVector_i8_setImpl(long jarg1, TVector_i8 jarg1_, int jarg2, byte jarg3);
public final static native int TVector_i8_sizeImpl(long jarg1, TVector_i8 jarg1_);
public final static native void TVector_i8_addImpl__SWIG_0(long jarg1, TVector_i8 jarg1_, byte jarg2);
public final static native void TVector_i8_addImpl__SWIG_1(long jarg1, TVector_i8 jarg1_, int jarg2, byte jarg3);
public final static native byte TVector_i8_removeImpl(long jarg1, TVector_i8 jarg1_, int jarg2);
public final static native boolean TVector_i8_equalsImpl(long jarg1, TVector_i8 jarg1_, long jarg2, TVector_i8 jarg2_);
public final static native long new_TVector_i8();
public final static native void delete_TVector_i8(long jarg1);
public final static native byte[] toPrimitiveArrayImpl_i8(long jarg1, TVector_i8 jarg1_);
public final static native java.lang.Object asDirectByteBufferImpl_i8(long jarg1, TVector_i8 jarg1_);
public final static native void TVector_i16_yresize(long jarg1, TVector_i16 jarg1_, long jarg2);
public final static native void TVector_i16_reserve(long jarg1, TVector_i16 jarg1_, long jarg2);
public final static native short TVector_i16_getImpl(long jarg1, TVector_i16 jarg1_, int jarg2);
public final static native short TVector_i16_setImpl(long jarg1, TVector_i16 jarg1_, int jarg2, short jarg3);
public final static native int TVector_i16_sizeImpl(long jarg1, TVector_i16 jarg1_);
public final static native void TVector_i16_addImpl__SWIG_0(long jarg1, TVector_i16 jarg1_, short jarg2);
public final static native void TVector_i16_addImpl__SWIG_1(long jarg1, TVector_i16 jarg1_, int jarg2, short jarg3);
public final static native short TVector_i16_removeImpl(long jarg1, TVector_i16 jarg1_, int jarg2);
public final static native boolean TVector_i16_equalsImpl(long jarg1, TVector_i16 jarg1_, long jarg2, TVector_i16 jarg2_);
public final static native long new_TVector_i16();
public final static native void delete_TVector_i16(long jarg1);
public final static native short[] toPrimitiveArrayImpl_i16(long jarg1, TVector_i16 jarg1_);
public final static native java.lang.Object asDirectByteBufferImpl_i16(long jarg1, TVector_i16 jarg1_);
public final static native void TVector_i32_yresize(long jarg1, TVector_i32 jarg1_, long jarg2);
public final static native void TVector_i32_reserve(long jarg1, TVector_i32 jarg1_, long jarg2);
public final static native int TVector_i32_getImpl(long jarg1, TVector_i32 jarg1_, int jarg2);
public final static native int TVector_i32_setImpl(long jarg1, TVector_i32 jarg1_, int jarg2, int jarg3);
public final static native int TVector_i32_sizeImpl(long jarg1, TVector_i32 jarg1_);
public final static native void TVector_i32_addImpl__SWIG_0(long jarg1, TVector_i32 jarg1_, int jarg2);
public final static native void TVector_i32_addImpl__SWIG_1(long jarg1, TVector_i32 jarg1_, int jarg2, int jarg3);
public final static native int TVector_i32_removeImpl(long jarg1, TVector_i32 jarg1_, int jarg2);
public final static native boolean TVector_i32_equalsImpl(long jarg1, TVector_i32 jarg1_, long jarg2, TVector_i32 jarg2_);
public final static native long new_TVector_i32();
public final static native void delete_TVector_i32(long jarg1);
public final static native int[] toPrimitiveArrayImpl_i32(long jarg1, TVector_i32 jarg1_);
public final static native java.lang.Object asDirectByteBufferImpl_i32(long jarg1, TVector_i32 jarg1_);
public final static native void TVector_i64_yresize(long jarg1, TVector_i64 jarg1_, long jarg2);
public final static native void TVector_i64_reserve(long jarg1, TVector_i64 jarg1_, long jarg2);
public final static native long TVector_i64_getImpl(long jarg1, TVector_i64 jarg1_, int jarg2);
public final static native long TVector_i64_setImpl(long jarg1, TVector_i64 jarg1_, int jarg2, long jarg3);
public final static native int TVector_i64_sizeImpl(long jarg1, TVector_i64 jarg1_);
public final static native void TVector_i64_addImpl__SWIG_0(long jarg1, TVector_i64 jarg1_, long jarg2);
public final static native void TVector_i64_addImpl__SWIG_1(long jarg1, TVector_i64 jarg1_, int jarg2, long jarg3);
public final static native long TVector_i64_removeImpl(long jarg1, TVector_i64 jarg1_, int jarg2);
public final static native boolean TVector_i64_equalsImpl(long jarg1, TVector_i64 jarg1_, long jarg2, TVector_i64 jarg2_);
public final static native long new_TVector_i64();
public final static native void delete_TVector_i64(long jarg1);
public final static native long[] toPrimitiveArrayImpl_i64(long jarg1, TVector_i64 jarg1_);
public final static native java.lang.Object asDirectByteBufferImpl_i64(long jarg1, TVector_i64 jarg1_);
public final static native void TVector_float_yresize(long jarg1, TVector_float jarg1_, long jarg2);
public final static native void TVector_float_reserve(long jarg1, TVector_float jarg1_, long jarg2);
public final static native float TVector_float_getImpl(long jarg1, TVector_float jarg1_, int jarg2);
public final static native float TVector_float_setImpl(long jarg1, TVector_float jarg1_, int jarg2, float jarg3);
public final static native int TVector_float_sizeImpl(long jarg1, TVector_float jarg1_);
public final static native void TVector_float_addImpl__SWIG_0(long jarg1, TVector_float jarg1_, float jarg2);
public final static native void TVector_float_addImpl__SWIG_1(long jarg1, TVector_float jarg1_, int jarg2, float jarg3);
public final static native float TVector_float_removeImpl(long jarg1, TVector_float jarg1_, int jarg2);
public final static native boolean TVector_float_equalsImpl(long jarg1, TVector_float jarg1_, long jarg2, TVector_float jarg2_);
public final static native long new_TVector_float();
public final static native void delete_TVector_float(long jarg1);
public final static native float[] toPrimitiveArrayImpl_float(long jarg1, TVector_float jarg1_);
public final static native java.lang.Object asDirectByteBufferImpl_float(long jarg1, TVector_float jarg1_);
public final static native void TVector_double_yresize(long jarg1, TVector_double jarg1_, long jarg2);
public final static native void TVector_double_reserve(long jarg1, TVector_double jarg1_, long jarg2);
public final static native double TVector_double_getImpl(long jarg1, TVector_double jarg1_, int jarg2);
public final static native double TVector_double_setImpl(long jarg1, TVector_double jarg1_, int jarg2, double jarg3);
public final static native int TVector_double_sizeImpl(long jarg1, TVector_double jarg1_);
public final static native void TVector_double_addImpl__SWIG_0(long jarg1, TVector_double jarg1_, double jarg2);
public final static native void TVector_double_addImpl__SWIG_1(long jarg1, TVector_double jarg1_, int jarg2, double jarg3);
public final static native double TVector_double_removeImpl(long jarg1, TVector_double jarg1_, int jarg2);
public final static native boolean TVector_double_equalsImpl(long jarg1, TVector_double jarg1_, long jarg2, TVector_double jarg2_);
public final static native long new_TVector_double();
public final static native void delete_TVector_double(long jarg1);
public final static native double[] toPrimitiveArrayImpl_double(long jarg1, TVector_double jarg1_);
public final static native java.lang.Object asDirectByteBufferImpl_double(long jarg1, TVector_double jarg1_);
public final static native void TVector_TString_yresize(long jarg1, TVector_TString jarg1_, long jarg2);
public final static native void TVector_TString_reserve(long jarg1, TVector_TString jarg1_, long jarg2);
public final static native String TVector_TString_getImpl(long jarg1, TVector_TString jarg1_, int jarg2);
public final static native String TVector_TString_setImpl(long jarg1, TVector_TString jarg1_, int jarg2, String jarg3);
public final static native int TVector_TString_sizeImpl(long jarg1, TVector_TString jarg1_);
public final static native void TVector_TString_addImpl__SWIG_0(long jarg1, TVector_TString jarg1_, String jarg2);
public final static native void TVector_TString_addImpl__SWIG_1(long jarg1, TVector_TString jarg1_, int jarg2, String jarg3);
public final static native String TVector_TString_removeImpl(long jarg1, TVector_TString jarg1_, int jarg2);
public final static native boolean TVector_TString_equalsImpl(long jarg1, TVector_TString jarg1_, long jarg2, TVector_TString jarg2_);
public final static native long new_TVector_TString();
public final static native void delete_TVector_TString(long jarg1);
public final static native long new_TMaybe_TString__SWIG_0();
public final static native long new_TMaybe_TString__SWIG_1(String jarg1);
public final static native boolean TMaybe_TString_Defined(long jarg1, TMaybe_TString jarg1_);
public final static native String TMaybe_TString_GetRef(long jarg1, TMaybe_TString jarg1_);
public final static native void TMaybe_TString_MoveInto(long jarg1, TMaybe_TString jarg1_, long jarg2, TMaybe_TString jarg2_);
public final static native boolean TMaybe_TString_equalsImpl(long jarg1, TMaybe_TString jarg1_, long jarg2, TMaybe_TString jarg2_);
public final static native void delete_TMaybe_TString(long jarg1);
public final static native long MakeMaybeUtf8String(byte[] jarg1, int jarg2);
public final static native long CalcGroupIdForString(String jarg1);
public final static native void TLocalExecutor_Init(long jarg1, TLocalExecutor jarg1_, int jarg2);
public final static native long new_TLocalExecutor();
public final static native void delete_TLocalExecutor(long jarg1);
public final static native void TColumn_Type_set(long jarg1, TColumn jarg1_, int jarg2);
public final static native int TColumn_Type_get(long jarg1, TColumn jarg1_);
public final static native void TColumn_Id_set(long jarg1, TColumn jarg1_, String jarg2);
public final static native String TColumn_Id_get(long jarg1, TColumn jarg1_);
public final static native boolean TColumn_equalsImpl(long jarg1, TColumn jarg1_, long jarg2, TColumn jarg2_);
public final static native long new_TColumn();
public final static native void delete_TColumn(long jarg1);
public final static native void TVector_TColumn_yresize(long jarg1, TVector_TColumn jarg1_, long jarg2);
public final static native void TVector_TColumn_reserve(long jarg1, TVector_TColumn jarg1_, long jarg2);
public final static native long TVector_TColumn_getImpl(long jarg1, TVector_TColumn jarg1_, int jarg2);
public final static native long TVector_TColumn_setImpl(long jarg1, TVector_TColumn jarg1_, int jarg2, long jarg3, TColumn jarg3_);
public final static native int TVector_TColumn_sizeImpl(long jarg1, TVector_TColumn jarg1_);
public final static native void TVector_TColumn_addImpl__SWIG_0(long jarg1, TVector_TColumn jarg1_, long jarg2, TColumn jarg2_);
public final static native void TVector_TColumn_addImpl__SWIG_1(long jarg1, TVector_TColumn jarg1_, int jarg2, long jarg3, TColumn jarg3_);
public final static native long TVector_TColumn_removeImpl(long jarg1, TVector_TColumn jarg1_, int jarg2);
public final static native boolean TVector_TColumn_equalsImpl(long jarg1, TVector_TColumn jarg1_, long jarg2, TVector_TColumn jarg2_);
public final static native long new_TVector_TColumn();
public final static native void delete_TVector_TColumn(long jarg1);
public final static native void TFeatureMetaInfo_Type_set(long jarg1, TFeatureMetaInfo jarg1_, int jarg2);
public final static native int TFeatureMetaInfo_Type_get(long jarg1, TFeatureMetaInfo jarg1_);
public final static native void TFeatureMetaInfo_Name_set(long jarg1, TFeatureMetaInfo jarg1_, String jarg2);
public final static native String TFeatureMetaInfo_Name_get(long jarg1, TFeatureMetaInfo jarg1_);
public final static native void TFeatureMetaInfo_IsSparse_set(long jarg1, TFeatureMetaInfo jarg1_, boolean jarg2);
public final static native boolean TFeatureMetaInfo_IsSparse_get(long jarg1, TFeatureMetaInfo jarg1_);
public final static native void TFeatureMetaInfo_IsIgnored_set(long jarg1, TFeatureMetaInfo jarg1_, boolean jarg2);
public final static native boolean TFeatureMetaInfo_IsIgnored_get(long jarg1, TFeatureMetaInfo jarg1_);
public final static native void TFeatureMetaInfo_IsAvailable_set(long jarg1, TFeatureMetaInfo jarg1_, boolean jarg2);
public final static native boolean TFeatureMetaInfo_IsAvailable_get(long jarg1, TFeatureMetaInfo jarg1_);
public final static native long new_TFeatureMetaInfo();
public final static native boolean TFeatureMetaInfo_equalsImpl(long jarg1, TFeatureMetaInfo jarg1_, long jarg2, TFeatureMetaInfo jarg2_);
public final static native void delete_TFeatureMetaInfo(long jarg1);
public final static native void TVector_TFeatureMetaInfo_yresize(long jarg1, TVector_TFeatureMetaInfo jarg1_, long jarg2);
public final static native void TVector_TFeatureMetaInfo_reserve(long jarg1, TVector_TFeatureMetaInfo jarg1_, long jarg2);
public final static native long TVector_TFeatureMetaInfo_getImpl(long jarg1, TVector_TFeatureMetaInfo jarg1_, int jarg2);
public final static native long TVector_TFeatureMetaInfo_setImpl(long jarg1, TVector_TFeatureMetaInfo jarg1_, int jarg2, long jarg3, TFeatureMetaInfo jarg3_);
public final static native int TVector_TFeatureMetaInfo_sizeImpl(long jarg1, TVector_TFeatureMetaInfo jarg1_);
public final static native void TVector_TFeatureMetaInfo_addImpl__SWIG_0(long jarg1, TVector_TFeatureMetaInfo jarg1_, long jarg2, TFeatureMetaInfo jarg2_);
public final static native void TVector_TFeatureMetaInfo_addImpl__SWIG_1(long jarg1, TVector_TFeatureMetaInfo jarg1_, int jarg2, long jarg3, TFeatureMetaInfo jarg3_);
public final static native long TVector_TFeatureMetaInfo_removeImpl(long jarg1, TVector_TFeatureMetaInfo jarg1_, int jarg2);
public final static native boolean TVector_TFeatureMetaInfo_equalsImpl(long jarg1, TVector_TFeatureMetaInfo jarg1_, long jarg2, TVector_TFeatureMetaInfo jarg2_);
public final static native long new_TVector_TFeatureMetaInfo();
public final static native void delete_TVector_TFeatureMetaInfo(long jarg1);
public final static native long new_TFeaturesLayout();
public final static native void TFeaturesLayout_Init(long jarg1, TFeaturesLayout jarg1_, long jarg2, TVector_TFeatureMetaInfo jarg2_) throws Exception;
public final static native long TFeaturesLayout_GetExternalFeatureIds(long jarg1, TFeaturesLayout jarg1_) throws Exception;
public final static native long TFeaturesLayout_GetExternalFeatureCount(long jarg1, TFeaturesLayout jarg1_);
public final static native long TFeaturesLayout_GetExternalFeaturesMetaInfoAsVector(long jarg1, TFeaturesLayout jarg1_) throws Exception;
public final static native boolean TFeaturesLayout_equalsImpl(long jarg1, TFeaturesLayout jarg1_, long jarg2, TFeaturesLayout jarg2_);
public final static native void delete_TFeaturesLayout(long jarg1);
public final static native long TFeaturesLayoutPtr___deref__(long jarg1, TFeaturesLayoutPtr jarg1_);
public final static native long TFeaturesLayoutPtr_Get(long jarg1, TFeaturesLayoutPtr jarg1_);
public final static native void TFeaturesLayoutPtr_Set(long jarg1, TFeaturesLayoutPtr jarg1_, long jarg2, TFeaturesLayout jarg2_);
public final static native long new_TFeaturesLayoutPtr();
public final static native void delete_TFeaturesLayoutPtr(long jarg1);
public final static native void TFeaturesLayoutPtr_Init(long jarg1, TFeaturesLayoutPtr jarg1_, long jarg2, TVector_TFeatureMetaInfo jarg2_) throws Exception;
public final static native long TFeaturesLayoutPtr_GetExternalFeatureIds(long jarg1, TFeaturesLayoutPtr jarg1_) throws Exception;
public final static native long TFeaturesLayoutPtr_GetExternalFeatureCount(long jarg1, TFeaturesLayoutPtr jarg1_);
public final static native long TFeaturesLayoutPtr_GetExternalFeaturesMetaInfoAsVector(long jarg1, TFeaturesLayoutPtr jarg1_) throws Exception;
public final static native boolean TFeaturesLayoutPtr_equalsImpl(long jarg1, TFeaturesLayoutPtr jarg1_, long jarg2, TFeaturesLayout jarg2_);
public final static native long MakeFeatureMetaInfo__SWIG_0(int jarg1, String jarg2, boolean jarg3, boolean jarg4, boolean jarg5) throws Exception;
public final static native long MakeFeatureMetaInfo__SWIG_1(int jarg1, String jarg2, boolean jarg3, boolean jarg4) throws Exception;
public final static native long MakeFeatureMetaInfo__SWIG_2(int jarg1, String jarg2, boolean jarg3) throws Exception;
public final static native long MakeFeatureMetaInfo__SWIG_3(int jarg1, String jarg2) throws Exception;
public final static native long MakeFeaturesLayout__SWIG_0(long jarg1, TVector_TFeatureMetaInfo jarg1_) throws Exception;
public final static native long MakeFeaturesLayout__SWIG_1(int jarg1, long jarg2, TVector_TString jarg2_, long jarg3, TVector_i32 jarg3_) throws Exception;
public final static native long CloneWithSelectedFeatures(long jarg1, TFeaturesLayout jarg1_, int[] jarg2) throws Exception;
public final static native long GetAvailableFeatures_Float(long jarg1, TFeaturesLayout jarg1_);
public final static native long GetAvailableFeatures_Categorical(long jarg1, TFeaturesLayout jarg1_);
public final static native long GetAvailableFeaturesFlatIndices_Float(long jarg1, TFeaturesLayout jarg1_);
public final static native long GetAvailableFeaturesFlatIndices_Categorical(long jarg1, TFeaturesLayout jarg1_);
public final static native void TDataColumnsMetaInfo_Columns_set(long jarg1, TDataColumnsMetaInfo jarg1_, long jarg2, TVector_TColumn jarg2_);
public final static native long TDataColumnsMetaInfo_Columns_get(long jarg1, TDataColumnsMetaInfo jarg1_);
public final static native boolean TDataColumnsMetaInfo_equalsImpl(long jarg1, TDataColumnsMetaInfo jarg1_, long jarg2, TDataColumnsMetaInfo jarg2_);
public final static native long new_TDataColumnsMetaInfo();
public final static native void delete_TDataColumnsMetaInfo(long jarg1);
public final static native long new_TMaybe_TDataColumnsMetaInfo__SWIG_0();
public final static native long new_TMaybe_TDataColumnsMetaInfo__SWIG_1(long jarg1, TDataColumnsMetaInfo jarg1_);
public final static native boolean TMaybe_TDataColumnsMetaInfo_Defined(long jarg1, TMaybe_TDataColumnsMetaInfo jarg1_);
public final static native long TMaybe_TDataColumnsMetaInfo_GetRef(long jarg1, TMaybe_TDataColumnsMetaInfo jarg1_);
public final static native void TMaybe_TDataColumnsMetaInfo_MoveInto(long jarg1, TMaybe_TDataColumnsMetaInfo jarg1_, long jarg2, TMaybe_TDataColumnsMetaInfo jarg2_);
public final static native boolean TMaybe_TDataColumnsMetaInfo_equalsImpl(long jarg1, TMaybe_TDataColumnsMetaInfo jarg1_, long jarg2, TMaybe_TDataColumnsMetaInfo jarg2_);
public final static native void delete_TMaybe_TDataColumnsMetaInfo(long jarg1);
public final static native void TDataMetaInfo_ObjectCount_set(long jarg1, TDataMetaInfo jarg1_, java.math.BigInteger jarg2);
public final static native java.math.BigInteger TDataMetaInfo_ObjectCount_get(long jarg1, TDataMetaInfo jarg1_);
public final static native void TDataMetaInfo_FeaturesLayout_set(long jarg1, TDataMetaInfo jarg1_, long jarg2, TFeaturesLayoutPtr jarg2_);
public final static native long TDataMetaInfo_FeaturesLayout_get(long jarg1, TDataMetaInfo jarg1_);
public final static native void TDataMetaInfo_TargetType_set(long jarg1, TDataMetaInfo jarg1_, int jarg2);
public final static native int TDataMetaInfo_TargetType_get(long jarg1, TDataMetaInfo jarg1_);
public final static native void TDataMetaInfo_TargetCount_set(long jarg1, TDataMetaInfo jarg1_, long jarg2);
public final static native long TDataMetaInfo_TargetCount_get(long jarg1, TDataMetaInfo jarg1_);
public final static native void TDataMetaInfo_BaselineCount_set(long jarg1, TDataMetaInfo jarg1_, long jarg2);
public final static native long TDataMetaInfo_BaselineCount_get(long jarg1, TDataMetaInfo jarg1_);
public final static native void TDataMetaInfo_HasGroupId_set(long jarg1, TDataMetaInfo jarg1_, boolean jarg2);
public final static native boolean TDataMetaInfo_HasGroupId_get(long jarg1, TDataMetaInfo jarg1_);
public final static native void TDataMetaInfo_HasGroupWeight_set(long jarg1, TDataMetaInfo jarg1_, boolean jarg2);
public final static native boolean TDataMetaInfo_HasGroupWeight_get(long jarg1, TDataMetaInfo jarg1_);
public final static native void TDataMetaInfo_HasSubgroupIds_set(long jarg1, TDataMetaInfo jarg1_, boolean jarg2);
public final static native boolean TDataMetaInfo_HasSubgroupIds_get(long jarg1, TDataMetaInfo jarg1_);
public final static native void TDataMetaInfo_HasWeights_set(long jarg1, TDataMetaInfo jarg1_, boolean jarg2);
public final static native boolean TDataMetaInfo_HasWeights_get(long jarg1, TDataMetaInfo jarg1_);
public final static native void TDataMetaInfo_HasTimestamp_set(long jarg1, TDataMetaInfo jarg1_, boolean jarg2);
public final static native boolean TDataMetaInfo_HasTimestamp_get(long jarg1, TDataMetaInfo jarg1_);
public final static native void TDataMetaInfo_HasPairs_set(long jarg1, TDataMetaInfo jarg1_, boolean jarg2);
public final static native boolean TDataMetaInfo_HasPairs_get(long jarg1, TDataMetaInfo jarg1_);
public final static native void TDataMetaInfo_HasGraph_set(long jarg1, TDataMetaInfo jarg1_, boolean jarg2);
public final static native boolean TDataMetaInfo_HasGraph_get(long jarg1, TDataMetaInfo jarg1_);
public final static native void TDataMetaInfo_ColumnsInfo_set(long jarg1, TDataMetaInfo jarg1_, long jarg2, TMaybe_TDataColumnsMetaInfo jarg2_);
public final static native long TDataMetaInfo_ColumnsInfo_get(long jarg1, TDataMetaInfo jarg1_);
public final static native long TDataMetaInfo_GetFeatureCount(long jarg1, TDataMetaInfo jarg1_);
public final static native long new_TDataMetaInfo();
public final static native void delete_TDataMetaInfo(long jarg1);
public final static native long new_TIntermediateDataMetaInfo__SWIG_0();
public final static native long new_TIntermediateDataMetaInfo__SWIG_1(long jarg1, TDataMetaInfo jarg1_, boolean jarg2);
public final static native boolean TIntermediateDataMetaInfo_HasSparseFeatures(long jarg1, TIntermediateDataMetaInfo jarg1_);
public final static native void TIntermediateDataMetaInfo_HasUnknownNumberOfSparseFeatures_set(long jarg1, TIntermediateDataMetaInfo jarg1_, boolean jarg2);
public final static native boolean TIntermediateDataMetaInfo_HasUnknownNumberOfSparseFeatures_get(long jarg1, TIntermediateDataMetaInfo jarg1_);
public final static native long TIntermediateDataMetaInfo_Clone(long jarg1, TIntermediateDataMetaInfo jarg1_);
public final static native long TIntermediateDataMetaInfo_SetAvailableFeatures(long jarg1, TIntermediateDataMetaInfo jarg1_, int[] jarg2) throws Exception;
public final static native boolean TIntermediateDataMetaInfo_equalsImpl(long jarg1, TIntermediateDataMetaInfo jarg1_, long jarg2, TIntermediateDataMetaInfo jarg2_);
public final static native void delete_TIntermediateDataMetaInfo(long jarg1);
public final static native long GetIntermediateDataMetaInfo(String jarg1, String jarg2, String jarg3, long jarg4, TMaybe_TString jarg4_, String jarg5) throws Exception;
public final static native void TDsvFormatOptions_HasHeader_set(long jarg1, TDsvFormatOptions jarg1_, boolean jarg2);
public final static native boolean TDsvFormatOptions_HasHeader_get(long jarg1, TDsvFormatOptions jarg1_);
public final static native void TDsvFormatOptions_Delimiter_set(long jarg1, TDsvFormatOptions jarg1_, char jarg2);
public final static native char TDsvFormatOptions_Delimiter_get(long jarg1, TDsvFormatOptions jarg1_);
public final static native void TDsvFormatOptions_NumVectorDelimiter_set(long jarg1, TDsvFormatOptions jarg1_, char jarg2);
public final static native char TDsvFormatOptions_NumVectorDelimiter_get(long jarg1, TDsvFormatOptions jarg1_);
public final static native void TDsvFormatOptions_IgnoreCsvQuoting_set(long jarg1, TDsvFormatOptions jarg1_, boolean jarg2);
public final static native boolean TDsvFormatOptions_IgnoreCsvQuoting_get(long jarg1, TDsvFormatOptions jarg1_);
public final static native long new_TDsvFormatOptions();
public final static native void delete_TDsvFormatOptions(long jarg1);
public final static native java.math.BigInteger ILineDataReader_GetDataLineCount__SWIG_0(long jarg1, ILineDataReader jarg1_, boolean jarg2);
public final static native java.math.BigInteger ILineDataReader_GetDataLineCount__SWIG_1(long jarg1, ILineDataReader jarg1_);
public final static native long ILineDataReader_GetHeader(long jarg1, ILineDataReader jarg1_);
public final static native boolean ILineDataReader_ReadLine__SWIG_0(long jarg1, ILineDataReader jarg1_, long jarg2, long jarg3);
public final static native boolean ILineDataReader_ReadLine__SWIG_1(long jarg1, ILineDataReader jarg1_, long jarg2);
public final static native void delete_ILineDataReader(long jarg1);
public final static native long new_ILineDataReader();
public final static native void ILineDataReader_director_connect(ILineDataReader obj, long cptr, boolean mem_own, boolean weak_global);
public final static native void ILineDataReader_change_ownership(ILineDataReader obj, long cptr, boolean take_or_release);
public final static native long new_TStringOutWrapper(long jarg1);
public final static native void TStringOutWrapper_Assign(long jarg1, TStringOutWrapper jarg1_, byte[] jarg2, int jarg3) throws Exception;
public final static native void delete_TStringOutWrapper(long jarg1);
public final static native boolean IJVMLineDataReader_ReadLine(long jarg1, IJVMLineDataReader jarg1_, long jarg2, long jarg3);
public final static native boolean IJVMLineDataReader_ReadLineSwigExplicitIJVMLineDataReader(long jarg1, IJVMLineDataReader jarg1_, long jarg2, long jarg3);
public final static native boolean IJVMLineDataReader_ReadLineJVM(long jarg1, IJVMLineDataReader jarg1_, long jarg2, TStringOutWrapper jarg2_);
public final static native void IJVMLineDataReader_LineIndex_set(long jarg1, IJVMLineDataReader jarg1_, java.math.BigInteger jarg2);
public final static native java.math.BigInteger IJVMLineDataReader_LineIndex_get(long jarg1, IJVMLineDataReader jarg1_);
public final static native long new_IJVMLineDataReader();
public final static native void delete_IJVMLineDataReader(long jarg1);
public final static native void IJVMLineDataReader_director_connect(IJVMLineDataReader obj, long cptr, boolean mem_own, boolean weak_global);
public final static native void IJVMLineDataReader_change_ownership(IJVMLineDataReader obj, long cptr, boolean take_or_release);
public final static native void TRawDatasetRow_GroupId_set(long jarg1, TRawDatasetRow jarg1_, long jarg2);
public final static native long TRawDatasetRow_GroupId_get(long jarg1, TRawDatasetRow jarg1_);
public final static native void TRawDatasetRow_SubgroupId_set(long jarg1, TRawDatasetRow jarg1_, int jarg2);
public final static native int TRawDatasetRow_SubgroupId_get(long jarg1, TRawDatasetRow jarg1_);
public final static native void TRawDatasetRow_Timestamp_set(long jarg1, TRawDatasetRow jarg1_, long jarg2);
public final static native long TRawDatasetRow_Timestamp_get(long jarg1, TRawDatasetRow jarg1_);
public final static native void TRawDatasetRow_StringTarget_set(long jarg1, TRawDatasetRow jarg1_, String jarg2);
public final static native String TRawDatasetRow_StringTarget_get(long jarg1, TRawDatasetRow jarg1_);
public final static native void TRawDatasetRow_FloatTarget_set(long jarg1, TRawDatasetRow jarg1_, float jarg2);
public final static native float TRawDatasetRow_FloatTarget_get(long jarg1, TRawDatasetRow jarg1_);
public final static native void TRawDatasetRow_Weight_set(long jarg1, TRawDatasetRow jarg1_, float jarg2);
public final static native float TRawDatasetRow_Weight_get(long jarg1, TRawDatasetRow jarg1_);
public final static native void TRawDatasetRow_GroupWeight_set(long jarg1, TRawDatasetRow jarg1_, float jarg2);
public final static native float TRawDatasetRow_GroupWeight_get(long jarg1, TRawDatasetRow jarg1_);
public final static native void TRawDatasetRow_SparseFloatFeaturesIndices_set(long jarg1, TRawDatasetRow jarg1_, long jarg2, TVector_i32 jarg2_);
public final static native long TRawDatasetRow_SparseFloatFeaturesIndices_get(long jarg1, TRawDatasetRow jarg1_);
public final static native void TRawDatasetRow_SparseFloatFeaturesValues_set(long jarg1, TRawDatasetRow jarg1_, long jarg2, TVector_double jarg2_);
public final static native long TRawDatasetRow_SparseFloatFeaturesValues_get(long jarg1, TRawDatasetRow jarg1_);
public final static native void TRawDatasetRow_GetDenseFloatFeatures(long jarg1, TRawDatasetRow jarg1_, double[] jarg2);
public final static native void TRawDatasetRow_GetBaselines(long jarg1, TRawDatasetRow jarg1_, double[] jarg2);
public final static native long new_TRawDatasetRow();
public final static native void delete_TRawDatasetRow(long jarg1);
public final static native long new_TRawDatasetRowsReader(String jarg1, long jarg2, ILineDataReader jarg2_, String jarg3, long jarg4, TVector_TColumn jarg4_, String jarg5, boolean jarg6, int jarg7, int jarg8) throws Exception;
public final static native long TRawDatasetRowsReader_GetMetaInfo(long jarg1, TRawDatasetRowsReader jarg1_);
public final static native int TRawDatasetRowsReader_ReadNextBlock(long jarg1, TRawDatasetRowsReader jarg1_) throws Exception;
public final static native long TRawDatasetRowsReader_GetRow(long jarg1, TRawDatasetRowsReader jarg1_, int jarg2) throws Exception;
public final static native void delete_TRawDatasetRowsReader(long jarg1);
public final static native void TDefaultQuantizedBin_Idx_set(long jarg1, TDefaultQuantizedBin jarg1_, long jarg2);
public final static native long TDefaultQuantizedBin_Idx_get(long jarg1, TDefaultQuantizedBin jarg1_);
public final static native void TDefaultQuantizedBin_Fraction_set(long jarg1, TDefaultQuantizedBin jarg1_, float jarg2);
public final static native float TDefaultQuantizedBin_Fraction_get(long jarg1, TDefaultQuantizedBin jarg1_);
public final static native long new_TDefaultQuantizedBin();
public final static native void delete_TDefaultQuantizedBin(long jarg1);
public final static native long new_boolp();
public final static native void delete_boolp(long jarg1);
public final static native void boolp_assign(long jarg1, boolp jarg1_, boolean jarg2);
public final static native boolean boolp_value(long jarg1, boolp jarg1_);
public final static native long boolp_cast(long jarg1, boolp jarg1_);
public final static native long boolp_frompointer(long jarg1);
public final static native long TQuantizedFeaturesInfo_GetFeaturesLayout(long jarg1, TQuantizedFeaturesInfo jarg1_);
public final static native void TQuantizedFeaturesInfo_Init(long jarg1, TQuantizedFeaturesInfo jarg1_, long jarg2, TFeaturesLayout jarg2_);
public final static native boolean TQuantizedFeaturesInfo_EqualWithoutOptionsTo__SWIG_0(long jarg1, TQuantizedFeaturesInfo jarg1_, long jarg2, TQuantizedFeaturesInfo jarg2_, boolean jarg3);
public final static native boolean TQuantizedFeaturesInfo_EqualWithoutOptionsTo__SWIG_1(long jarg1, TQuantizedFeaturesInfo jarg1_, long jarg2, TQuantizedFeaturesInfo jarg2_);
public final static native int TQuantizedFeaturesInfo_GetNanMode(long jarg1, TQuantizedFeaturesInfo jarg1_, int jarg2);
public final static native void TQuantizedFeaturesInfo_SetNanMode(long jarg1, TQuantizedFeaturesInfo jarg1_, int jarg2, int jarg3);
public final static native void TQuantizedFeaturesInfo_GetQuantization(long jarg1, TQuantizedFeaturesInfo jarg1_, int jarg2, long jarg3, TVector_float jarg3_, long jarg4, long jarg5, TDefaultQuantizedBin jarg5_);
public final static native void TQuantizedFeaturesInfo_SetQuantization__SWIG_0(long jarg1, TQuantizedFeaturesInfo jarg1_, int jarg2, long jarg3, TVector_float jarg3_, long jarg4, TDefaultQuantizedBin jarg4_);
public final static native void TQuantizedFeaturesInfo_SetQuantization__SWIG_1(long jarg1, TQuantizedFeaturesInfo jarg1_, int jarg2, long jarg3, TVector_float jarg3_);
public final static native boolean TQuantizedFeaturesInfo_equalsImpl(long jarg1, TQuantizedFeaturesInfo jarg1_, long jarg2, TQuantizedFeaturesInfo jarg2_);
public final static native long new_TQuantizedFeaturesInfo();
public final static native void delete_TQuantizedFeaturesInfo(long jarg1);
public final static native long QuantizedFeaturesInfoPtr___deref__(long jarg1, QuantizedFeaturesInfoPtr jarg1_);
public final static native long QuantizedFeaturesInfoPtr_Get(long jarg1, QuantizedFeaturesInfoPtr jarg1_);
public final static native void QuantizedFeaturesInfoPtr_Set(long jarg1, QuantizedFeaturesInfoPtr jarg1_, long jarg2, TQuantizedFeaturesInfo jarg2_);
public final static native long new_QuantizedFeaturesInfoPtr();
public final static native void delete_QuantizedFeaturesInfoPtr(long jarg1);
public final static native long QuantizedFeaturesInfoPtr_GetFeaturesLayout(long jarg1, QuantizedFeaturesInfoPtr jarg1_);
public final static native void QuantizedFeaturesInfoPtr_Init(long jarg1, QuantizedFeaturesInfoPtr jarg1_, long jarg2, TFeaturesLayout jarg2_);
public final static native boolean QuantizedFeaturesInfoPtr_EqualWithoutOptionsTo__SWIG_0(long jarg1, QuantizedFeaturesInfoPtr jarg1_, long jarg2, TQuantizedFeaturesInfo jarg2_, boolean jarg3);
public final static native boolean QuantizedFeaturesInfoPtr_EqualWithoutOptionsTo__SWIG_1(long jarg1, QuantizedFeaturesInfoPtr jarg1_, long jarg2, TQuantizedFeaturesInfo jarg2_);
public final static native int QuantizedFeaturesInfoPtr_GetNanMode(long jarg1, QuantizedFeaturesInfoPtr jarg1_, int jarg2);
public final static native void QuantizedFeaturesInfoPtr_SetNanMode(long jarg1, QuantizedFeaturesInfoPtr jarg1_, int jarg2, int jarg3);
public final static native void QuantizedFeaturesInfoPtr_GetQuantization(long jarg1, QuantizedFeaturesInfoPtr jarg1_, int jarg2, long jarg3, TVector_float jarg3_, long jarg4, long jarg5, TDefaultQuantizedBin jarg5_);
public final static native void QuantizedFeaturesInfoPtr_SetQuantization__SWIG_0(long jarg1, QuantizedFeaturesInfoPtr jarg1_, int jarg2, long jarg3, TVector_float jarg3_, long jarg4, TDefaultQuantizedBin jarg4_);
public final static native void QuantizedFeaturesInfoPtr_SetQuantization__SWIG_1(long jarg1, QuantizedFeaturesInfoPtr jarg1_, int jarg2, long jarg3, TVector_float jarg3_);
public final static native boolean QuantizedFeaturesInfoPtr_equalsImpl(long jarg1, QuantizedFeaturesInfoPtr jarg1_, long jarg2, TQuantizedFeaturesInfo jarg2_);
public final static native long MakeQuantizedFeaturesInfo(long jarg1, TFeaturesLayout jarg1_) throws Exception;
public final static native long MakeEstimatedQuantizedFeaturesInfo(int jarg1) throws Exception;
public final static native void UpdateCatFeaturesInfo(int[] jarg1, boolean jarg2, long jarg3, TQuantizedFeaturesInfo jarg3_) throws Exception;
public final static native int CalcMaxCategoricalFeaturesUniqueValuesCountOnLearn(long jarg1, TQuantizedFeaturesInfo jarg1_) throws Exception;
public final static native long GetCategoricalFeaturesUniqueValuesCounts(long jarg1, TQuantizedFeaturesInfo jarg1_) throws Exception;
public final static native void DbgDump(long jarg1, TQuantizedFeaturesInfo jarg1_, String jarg2);
public final static native long TRawObjectsDataProviderPtr_ToBase(long jarg1, TRawObjectsDataProviderPtr jarg1_);
public final static native long new_TRawObjectsDataProviderPtr();
public final static native void delete_TRawObjectsDataProviderPtr(long jarg1);
public final static native long TQuantizedObjectsDataProviderPtr_ToBase(long jarg1, TQuantizedObjectsDataProviderPtr jarg1_);
public final static native long new_TQuantizedObjectsDataProviderPtr();
public final static native void delete_TQuantizedObjectsDataProviderPtr(long jarg1);
public final static native long TDataProviderPtr_GetObjectCount(long jarg1, TDataProviderPtr jarg1_);
public final static native long TDataProviderPtr_GetQuantizedObjectsDataProvider(long jarg1, TDataProviderPtr jarg1_);
public final static native long new_TDataProviderPtr();
public final static native void delete_TDataProviderPtr(long jarg1);
public final static native void TEstimatedForCPUObjectsDataProviders_Learn_set(long jarg1, TEstimatedForCPUObjectsDataProviders jarg1_, long jarg2, TQuantizedObjectsDataProviderPtr jarg2_);
public final static native long TEstimatedForCPUObjectsDataProviders_Learn_get(long jarg1, TEstimatedForCPUObjectsDataProviders jarg1_);
public final static native void TEstimatedForCPUObjectsDataProviders_Test_set(long jarg1, TEstimatedForCPUObjectsDataProviders jarg1_, long jarg2, TVector_TQuantizedObjectsDataProviderPtr jarg2_);
public final static native long TEstimatedForCPUObjectsDataProviders_Test_get(long jarg1, TEstimatedForCPUObjectsDataProviders jarg1_);
public final static native long new_TEstimatedForCPUObjectsDataProviders();
public final static native void delete_TEstimatedForCPUObjectsDataProviders(long jarg1);
public final static native void TVector_TDataProviderPtr_yresize(long jarg1, TVector_TDataProviderPtr jarg1_, long jarg2);
public final static native void TVector_TDataProviderPtr_reserve(long jarg1, TVector_TDataProviderPtr jarg1_, long jarg2);
public final static native long TVector_TDataProviderPtr_getImpl(long jarg1, TVector_TDataProviderPtr jarg1_, int jarg2);
public final static native long TVector_TDataProviderPtr_setImpl(long jarg1, TVector_TDataProviderPtr jarg1_, int jarg2, long jarg3, TDataProviderPtr jarg3_);
public final static native int TVector_TDataProviderPtr_sizeImpl(long jarg1, TVector_TDataProviderPtr jarg1_);
public final static native void TVector_TDataProviderPtr_addImpl__SWIG_0(long jarg1, TVector_TDataProviderPtr jarg1_, long jarg2, TDataProviderPtr jarg2_);
public final static native void TVector_TDataProviderPtr_addImpl__SWIG_1(long jarg1, TVector_TDataProviderPtr jarg1_, int jarg2, long jarg3, TDataProviderPtr jarg3_);
public final static native long TVector_TDataProviderPtr_removeImpl(long jarg1, TVector_TDataProviderPtr jarg1_, int jarg2);
public final static native boolean TVector_TDataProviderPtr_equalsImpl(long jarg1, TVector_TDataProviderPtr jarg1_, long jarg2, TVector_TDataProviderPtr jarg2_);
public final static native long new_TVector_TDataProviderPtr();
public final static native void delete_TVector_TDataProviderPtr(long jarg1);
public final static native void TVector_TQuantizedObjectsDataProviderPtr_yresize(long jarg1, TVector_TQuantizedObjectsDataProviderPtr jarg1_, long jarg2);
public final static native void TVector_TQuantizedObjectsDataProviderPtr_reserve(long jarg1, TVector_TQuantizedObjectsDataProviderPtr jarg1_, long jarg2);
public final static native long TVector_TQuantizedObjectsDataProviderPtr_getImpl(long jarg1, TVector_TQuantizedObjectsDataProviderPtr jarg1_, int jarg2);
public final static native long TVector_TQuantizedObjectsDataProviderPtr_setImpl(long jarg1, TVector_TQuantizedObjectsDataProviderPtr jarg1_, int jarg2, long jarg3, TQuantizedObjectsDataProviderPtr jarg3_);
public final static native int TVector_TQuantizedObjectsDataProviderPtr_sizeImpl(long jarg1, TVector_TQuantizedObjectsDataProviderPtr jarg1_);
public final static native void TVector_TQuantizedObjectsDataProviderPtr_addImpl__SWIG_0(long jarg1, TVector_TQuantizedObjectsDataProviderPtr jarg1_, long jarg2, TQuantizedObjectsDataProviderPtr jarg2_);
public final static native void TVector_TQuantizedObjectsDataProviderPtr_addImpl__SWIG_1(long jarg1, TVector_TQuantizedObjectsDataProviderPtr jarg1_, int jarg2, long jarg3, TQuantizedObjectsDataProviderPtr jarg3_);
public final static native long TVector_TQuantizedObjectsDataProviderPtr_removeImpl(long jarg1, TVector_TQuantizedObjectsDataProviderPtr jarg1_, int jarg2);
public final static native boolean TVector_TQuantizedObjectsDataProviderPtr_equalsImpl(long jarg1, TVector_TQuantizedObjectsDataProviderPtr jarg1_, long jarg2, TVector_TQuantizedObjectsDataProviderPtr jarg2_);
public final static native long new_TVector_TQuantizedObjectsDataProviderPtr();
public final static native void delete_TVector_TQuantizedObjectsDataProviderPtr(long jarg1);
public final static native void TVector_TMaybeOwningConstArrayHolder_float_yresize(long jarg1, TVector_TMaybeOwningConstArrayHolder_float jarg1_, long jarg2);
public final static native void TVector_TMaybeOwningConstArrayHolder_float_reserve(long jarg1, TVector_TMaybeOwningConstArrayHolder_float jarg1_, long jarg2);
public final static native float[] TVector_TMaybeOwningConstArrayHolder_float_getImpl(long jarg1, TVector_TMaybeOwningConstArrayHolder_float jarg1_, int jarg2);
public final static native float[] TVector_TMaybeOwningConstArrayHolder_float_setImpl(long jarg1, TVector_TMaybeOwningConstArrayHolder_float jarg1_, int jarg2, float[] jarg3);
public final static native int TVector_TMaybeOwningConstArrayHolder_float_sizeImpl(long jarg1, TVector_TMaybeOwningConstArrayHolder_float jarg1_);
public final static native void TVector_TMaybeOwningConstArrayHolder_float_addImpl__SWIG_0(long jarg1, TVector_TMaybeOwningConstArrayHolder_float jarg1_, float[] jarg2);
public final static native void TVector_TMaybeOwningConstArrayHolder_float_addImpl__SWIG_1(long jarg1, TVector_TMaybeOwningConstArrayHolder_float jarg1_, int jarg2, float[] jarg3);
public final static native float[] TVector_TMaybeOwningConstArrayHolder_float_removeImpl(long jarg1, TVector_TMaybeOwningConstArrayHolder_float jarg1_, int jarg2);
public final static native boolean TVector_TMaybeOwningConstArrayHolder_float_equalsImpl(long jarg1, TVector_TMaybeOwningConstArrayHolder_float jarg1_, long jarg2, TVector_TMaybeOwningConstArrayHolder_float jarg2_);
public final static native long new_TVector_TMaybeOwningConstArrayHolder_float();
public final static native void delete_TVector_TMaybeOwningConstArrayHolder_float(long jarg1);
public final static native void TVector_TMaybeOwningConstArrayHolder_i32_yresize(long jarg1, TVector_TMaybeOwningConstArrayHolder_i32 jarg1_, long jarg2);
public final static native void TVector_TMaybeOwningConstArrayHolder_i32_reserve(long jarg1, TVector_TMaybeOwningConstArrayHolder_i32 jarg1_, long jarg2);
public final static native int[] TVector_TMaybeOwningConstArrayHolder_i32_getImpl(long jarg1, TVector_TMaybeOwningConstArrayHolder_i32 jarg1_, int jarg2);
public final static native int[] TVector_TMaybeOwningConstArrayHolder_i32_setImpl(long jarg1, TVector_TMaybeOwningConstArrayHolder_i32 jarg1_, int jarg2, int[] jarg3);
public final static native int TVector_TMaybeOwningConstArrayHolder_i32_sizeImpl(long jarg1, TVector_TMaybeOwningConstArrayHolder_i32 jarg1_);
public final static native void TVector_TMaybeOwningConstArrayHolder_i32_addImpl__SWIG_0(long jarg1, TVector_TMaybeOwningConstArrayHolder_i32 jarg1_, int[] jarg2);
public final static native void TVector_TMaybeOwningConstArrayHolder_i32_addImpl__SWIG_1(long jarg1, TVector_TMaybeOwningConstArrayHolder_i32 jarg1_, int jarg2, int[] jarg3);
public final static native int[] TVector_TMaybeOwningConstArrayHolder_i32_removeImpl(long jarg1, TVector_TMaybeOwningConstArrayHolder_i32 jarg1_, int jarg2);
public final static native boolean TVector_TMaybeOwningConstArrayHolder_i32_equalsImpl(long jarg1, TVector_TMaybeOwningConstArrayHolder_i32 jarg1_, long jarg2, TVector_TMaybeOwningConstArrayHolder_i32 jarg2_);
public final static native long new_TVector_TMaybeOwningConstArrayHolder_i32();
public final static native void delete_TVector_TMaybeOwningConstArrayHolder_i32(long jarg1);
public final static native void IQuantizedFeaturesDataVisitor_Start(long jarg1, IQuantizedFeaturesDataVisitor jarg1_, long jarg2, TDataMetaInfo jarg2_, int jarg3, long jarg4, TQuantizedFeaturesInfo jarg4_);
public final static native void IQuantizedFeaturesDataVisitor_AddGroupId(long jarg1, IQuantizedFeaturesDataVisitor jarg1_, long[] jarg2);
public final static native void IQuantizedFeaturesDataVisitor_AddSubgroupId(long jarg1, IQuantizedFeaturesDataVisitor jarg1_, int[] jarg2);
public final static native void IQuantizedFeaturesDataVisitor_AddTimestamp(long jarg1, IQuantizedFeaturesDataVisitor jarg1_, long[] jarg2);
public final static native void IQuantizedFeaturesDataVisitor_AddFeature(long jarg1, IQuantizedFeaturesDataVisitor jarg1_, long jarg2, TFeaturesLayout jarg2_, int jarg3, int jarg4, byte jarg5, long jarg6, TVector_i64 jarg6_);
public final static native void IQuantizedFeaturesDataVisitor_AddTarget__SWIG_0(long jarg1, IQuantizedFeaturesDataVisitor jarg1_, float[] jarg2);
public final static native void IQuantizedFeaturesDataVisitor_AddTarget__SWIG_1(long jarg1, IQuantizedFeaturesDataVisitor jarg1_, long jarg2, TVector_TString jarg2_);
public final static native void IQuantizedFeaturesDataVisitor_AddBaseline(long jarg1, IQuantizedFeaturesDataVisitor jarg1_, int jarg2, float[] jarg3);
public final static native void IQuantizedFeaturesDataVisitor_AddWeight(long jarg1, IQuantizedFeaturesDataVisitor jarg1_, float[] jarg2);
public final static native void IQuantizedFeaturesDataVisitor_AddGroupWeight(long jarg1, IQuantizedFeaturesDataVisitor jarg1_, float[] jarg2);
public final static native void IQuantizedFeaturesDataVisitor_Finish(long jarg1, IQuantizedFeaturesDataVisitor jarg1_);
public final static native void delete_IQuantizedFeaturesDataVisitor(long jarg1);
public final static native void TDataProviderBuilderOptions_MaxCpuRamUsage_set(long jarg1, TDataProviderBuilderOptions jarg1_, java.math.BigInteger jarg2);
public final static native java.math.BigInteger TDataProviderBuilderOptions_MaxCpuRamUsage_get(long jarg1, TDataProviderBuilderOptions jarg1_);
public final static native void TDataProviderBuilderOptions_SkipCheck_set(long jarg1, TDataProviderBuilderOptions jarg1_, boolean jarg2);
public final static native boolean TDataProviderBuilderOptions_SkipCheck_get(long jarg1, TDataProviderBuilderOptions jarg1_);
public final static native long new_TDataProviderBuilderOptions();
public final static native void delete_TDataProviderBuilderOptions(long jarg1);
public final static native long CreateRawObjectsDataProvider(long jarg1, TFeaturesLayoutPtr jarg1_, long jarg2, long jarg3, TVector_TMaybeOwningConstArrayHolder_float jarg3_, long jarg4, TVector_TMaybeOwningConstArrayHolder_i32 jarg4_, int jarg5, long jarg6, TLocalExecutor jarg6_) throws Exception;
public final static native long new_TQuantizedRowAssembler(long jarg1, TQuantizedObjectsDataProviderPtr jarg1_) throws Exception;
public final static native int TQuantizedRowAssembler_GetObjectBlobSize(long jarg1, TQuantizedRowAssembler jarg1_) throws Exception;
public final static native void TQuantizedRowAssembler_AssembleObjectBlob(long jarg1, TQuantizedRowAssembler jarg1_, int jarg2, byte[] jarg3) throws Exception;
public final static native void delete_TQuantizedRowAssembler(long jarg1);
public final static native long new_TDataProviderClosureForJVM(int jarg1, long jarg2, TDataProviderBuilderOptions jarg2_, boolean jarg3, long jarg4, TLocalExecutor jarg4_) throws Exception;
public final static native long TDataProviderClosureForJVM_GetQuantizedVisitor(long jarg1, TDataProviderClosureForJVM jarg1_) throws Exception;
public final static native long TDataProviderClosureForJVM_GetResult(long jarg1, TDataProviderClosureForJVM jarg1_) throws Exception;
public final static native void delete_TDataProviderClosureForJVM(long jarg1);
public final static native void TPairsDataBuilder_Add__SWIG_0(long jarg1, TPairsDataBuilder jarg1_, long jarg2, int jarg3, int jarg4);
public final static native void TPairsDataBuilder_Add__SWIG_1(long jarg1, TPairsDataBuilder jarg1_, long jarg2, int jarg3, int jarg4, float jarg5);
public final static native void TPairsDataBuilder_AddToResult(long jarg1, TPairsDataBuilder jarg1_, long jarg2, IQuantizedFeaturesDataVisitor jarg2_) throws Exception;
public final static native void TPairsDataBuilder_Pairs_set(long jarg1, TPairsDataBuilder jarg1_, long jarg2);
public final static native long TPairsDataBuilder_Pairs_get(long jarg1, TPairsDataBuilder jarg1_);
public final static native long new_TPairsDataBuilder();
public final static native void delete_TPairsDataBuilder(long jarg1);
public final static native void SavePairsInGroupedDsvFormat(long jarg1, TDataProviderPtr jarg1_, String jarg2) throws Exception;
public final static native long PrepareQuantizationParameters(long jarg1, TFeaturesLayout jarg1_, String jarg2) throws Exception;
public final static native long new_TNanModeAndBordersBuilder(long jarg1, QuantizedFeaturesInfoPtr jarg1_) throws Exception;
public final static native boolean TNanModeAndBordersBuilder_HasFeaturesToCalc(long jarg1, TNanModeAndBordersBuilder jarg1_);
public final static native void TNanModeAndBordersBuilder_SetSampleSize(long jarg1, TNanModeAndBordersBuilder jarg1_, int jarg2);
public final static native void TNanModeAndBordersBuilder_AddSample(long jarg1, TNanModeAndBordersBuilder jarg1_, double[] jarg2);
public final static native void TNanModeAndBordersBuilder_CalcBordersWithoutNans(long jarg1, TNanModeAndBordersBuilder jarg1_, int jarg2) throws Exception;
public final static native void TNanModeAndBordersBuilder_Finish(long jarg1, TNanModeAndBordersBuilder jarg1_, byte[] jarg2) throws Exception;
public final static native void delete_TNanModeAndBordersBuilder(long jarg1);
public final static native long Quantize(long jarg1, QuantizedFeaturesInfoPtr jarg1_, long jarg2, TRawObjectsDataProviderPtr jarg2_, long jarg3, TLocalExecutor jarg3_) throws Exception;
public final static native void GetActiveFeaturesIndices(long jarg1, TFeaturesLayoutPtr jarg1_, long jarg2, QuantizedFeaturesInfoPtr jarg2_, long jarg3, TVector_i32 jarg3_, long jarg4, TVector_i32 jarg4_, long jarg5, TVector_i32 jarg5_) throws Exception;
public final static native long new_TClassTargetPreprocessor(String jarg1, int jarg2, boolean jarg3, boolean jarg4) throws Exception;
public final static native boolean TClassTargetPreprocessor_IsNeedToProcessDistinctTargetValues(long jarg1, TClassTargetPreprocessor jarg1_) throws Exception;
public final static native void TClassTargetPreprocessor_ProcessDistinctFloatTargetValues(long jarg1, TClassTargetPreprocessor jarg1_, float[] jarg2) throws Exception;
public final static native void TClassTargetPreprocessor_ProcessDistinctIntTargetValues(long jarg1, TClassTargetPreprocessor jarg1_, int[] jarg2) throws Exception;
public final static native void TClassTargetPreprocessor_ProcessDistinctStringTargetValues(long jarg1, TClassTargetPreprocessor jarg1_, long jarg2, TVector_TString jarg2_) throws Exception;
public final static native String TClassTargetPreprocessor_GetLossFunction(long jarg1, TClassTargetPreprocessor jarg1_) throws Exception;
public final static native String TClassTargetPreprocessor_GetUpdatedCatBoostOptionsJsonAsString(long jarg1, TClassTargetPreprocessor jarg1_) throws Exception;
public final static native long TClassTargetPreprocessor_GetSerializedLabelConverter(long jarg1, TClassTargetPreprocessor jarg1_) throws Exception;
public final static native long TClassTargetPreprocessor_PreprocessFloatTarget(long jarg1, TClassTargetPreprocessor jarg1_, float[] jarg2) throws Exception;
public final static native long TClassTargetPreprocessor_PreprocessIntTarget(long jarg1, TClassTargetPreprocessor jarg1_, int[] jarg2) throws Exception;
public final static native long TClassTargetPreprocessor_PreprocessStringTarget(long jarg1, TClassTargetPreprocessor jarg1_, long jarg2, TVector_TString jarg2_) throws Exception;
public final static native void delete_TClassTargetPreprocessor(long jarg1);
public final static native void TPrecomputedOnlineCtrMetaData_Append(long jarg1, TPrecomputedOnlineCtrMetaData jarg1_, long jarg2, TPrecomputedOnlineCtrMetaData jarg2_);
public final static native String TPrecomputedOnlineCtrMetaData_SerializeToJson(long jarg1, TPrecomputedOnlineCtrMetaData jarg1_) throws Exception;
public final static native long TPrecomputedOnlineCtrMetaData_DeserializeFromJson(String jarg1) throws Exception;
public final static native long new_TPrecomputedOnlineCtrMetaData();
public final static native void delete_TPrecomputedOnlineCtrMetaData(long jarg1);
public final static native void TTargetStatsForCtrs_LearnTargetClass_set(long jarg1, TTargetStatsForCtrs jarg1_, long jarg2);
public final static native long TTargetStatsForCtrs_LearnTargetClass_get(long jarg1, TTargetStatsForCtrs jarg1_);
public final static native void TTargetStatsForCtrs_TargetClassesCount_set(long jarg1, TTargetStatsForCtrs jarg1_, long jarg2);
public final static native long TTargetStatsForCtrs_TargetClassesCount_get(long jarg1, TTargetStatsForCtrs jarg1_);
public final static native long new_TTargetStatsForCtrs();
public final static native void delete_TTargetStatsForCtrs(long jarg1);
public final static native long GetCtrHelper(long jarg1, TCatBoostOptions jarg1_, long jarg2, TFeaturesLayout jarg2_, long jarg3, TVector_float jarg3_, long jarg4, TVector_i8 jarg4_) throws Exception;
public final static native long ComputeTargetStatsForCtrs(long jarg1, long jarg2, TVector_float jarg2_, long jarg3, TLocalExecutor jarg3_) throws Exception;
public final static native void ComputeEstimatedCtrFeatures(long jarg1, long jarg2, TCatBoostOptions jarg2_, long jarg3, TTargetStatsForCtrs jarg3_, long jarg4, TQuantizedObjectsDataProviderPtr jarg4_, long jarg5, TVector_TQuantizedObjectsDataProviderPtr jarg5_, long jarg6, TLocalExecutor jarg6_, long jarg7, TEstimatedForCPUObjectsDataProviders jarg7_, long jarg8, TPrecomputedOnlineCtrMetaData jarg8_) throws Exception;
public final static native long new_TFinalCtrsCalcer(long jarg1, TFullModel jarg1_, long jarg2, TCatBoostOptions jarg2_, long jarg3, TQuantizedFeaturesInfo jarg3_, long jarg4, TVector_float jarg4_, long jarg5, TTargetStatsForCtrs jarg5_, long jarg6, long jarg7, TLocalExecutor jarg7_) throws Exception;
public final static native long TFinalCtrsCalcer_GetCatFeatureFlatIndicesUsedForCtrs(long jarg1, TFinalCtrsCalcer jarg1_) throws Exception;
public final static native void TFinalCtrsCalcer_ProcessForFeature(long jarg1, TFinalCtrsCalcer jarg1_, int jarg2, long jarg3, TQuantizedObjectsDataProviderPtr jarg3_, long jarg4, TVector_TQuantizedObjectsDataProviderPtr jarg4_) throws Exception;
public final static native long TFinalCtrsCalcer_GetModelWithCtrData(long jarg1, TFinalCtrsCalcer jarg1_) throws Exception;
public final static native void delete_TFinalCtrsCalcer(long jarg1);
public final static native void SaveQuantizedPool(long jarg1, TDataProviderPtr jarg1_, String jarg2) throws Exception;
public final static native long new_TCatBoostOptions(int jarg1) throws Exception;
public final static native void delete_TCatBoostOptions(long jarg1);
public final static native long ParseCatBoostPlainParamsToJson(String jarg1) throws Exception;
public final static native long LoadCatBoostOptions(long jarg1) throws Exception;
public final static native void InitCatBoostOptions(String jarg1, long jarg2, TCatBoostOptions jarg2_) throws Exception;
public final static native int GetOneHotMaxSize(int jarg1, boolean jarg2, String jarg3) throws Exception;
public final static native long TFullModel_GetDimensionsCount(long jarg1, TFullModel jarg1_);
public final static native int TFullModel_GetLeafCount(long jarg1, TFullModel jarg1_);
public final static native boolean TFullModel_HasLeafWeights(long jarg1, TFullModel jarg1_);
public final static native void TFullModel_Calc(long jarg1, TFullModel jarg1_, double[] jarg2, double[] jarg3);
public final static native void TFullModel_CalcSparse(long jarg1, TFullModel jarg1_, int jarg2, int[] jarg3, double[] jarg4, double[] jarg5);
public final static native void TFullModel_Save(long jarg1, TFullModel jarg1_, String jarg2, int jarg3, String jarg4, int jarg5) throws Exception;
public final static native long TFullModel_Serialize(long jarg1, TFullModel jarg1_);
public final static native void TFullModel_Deserialize(long jarg1, TFullModel jarg1_, byte[] jarg2);
public final static native boolean TFullModel_equalsImpl(long jarg1, TFullModel jarg1_, long jarg2, TFullModel jarg2_);
public final static native long new_TFullModel();
public final static native void delete_TFullModel(long jarg1);
public final static native long ReadModel__SWIG_0(String jarg1, int jarg2) throws Exception;
public final static native long ReadModel__SWIG_1(String jarg1) throws Exception;
public final static native void TVector_const_TFullModel_ptr_yresize(long jarg1, TVector_const_TFullModel_ptr jarg1_, long jarg2);
public final static native void TVector_const_TFullModel_ptr_reserve(long jarg1, TVector_const_TFullModel_ptr jarg1_, long jarg2);
public final static native long TVector_const_TFullModel_ptr_getImpl(long jarg1, TVector_const_TFullModel_ptr jarg1_, int jarg2);
public final static native long TVector_const_TFullModel_ptr_setImpl(long jarg1, TVector_const_TFullModel_ptr jarg1_, int jarg2, long jarg3, TFullModel jarg3_);
public final static native int TVector_const_TFullModel_ptr_sizeImpl(long jarg1, TVector_const_TFullModel_ptr jarg1_);
public final static native void TVector_const_TFullModel_ptr_addImpl__SWIG_0(long jarg1, TVector_const_TFullModel_ptr jarg1_, long jarg2, TFullModel jarg2_);
public final static native void TVector_const_TFullModel_ptr_addImpl__SWIG_1(long jarg1, TVector_const_TFullModel_ptr jarg1_, int jarg2, long jarg3, TFullModel jarg3_);
public final static native long TVector_const_TFullModel_ptr_removeImpl(long jarg1, TVector_const_TFullModel_ptr jarg1_, int jarg2);
public final static native boolean TVector_const_TFullModel_ptr_equalsImpl(long jarg1, TVector_const_TFullModel_ptr jarg1_, long jarg2, TVector_const_TFullModel_ptr jarg2_);
public final static native long new_TVector_const_TFullModel_ptr();
public final static native void delete_TVector_const_TFullModel_ptr(long jarg1);
public final static native long SumModels__SWIG_0(long jarg1, TVector_const_TFullModel_ptr jarg1_, long jarg2, TVector_double jarg2_, long jarg3, TVector_TString jarg3_, int jarg4) throws Exception;
public final static native long SumModels__SWIG_1(long jarg1, TVector_const_TFullModel_ptr jarg1_, long jarg2, TVector_double jarg2_, long jarg3, TVector_TString jarg3_) throws Exception;
public final static native void CalcSoftmax(double[] jarg1, double[] jarg2);
public final static native int ModeFitImpl(long jarg1, TVector_TString jarg1_);
public final static native void ShutdownWorkers(String jarg1, int jarg2);
public final static native void RunWorker(long jarg1, long jarg2) throws Exception;
public final static native long GetPartitionTotalObjectCount(long jarg1, TVector_TDataProviderPtr jarg1_);
public final static native void CreateTrainingDataForWorker(int jarg1, int jarg2, String jarg3, long jarg4, TVector_i8 jarg4_, long jarg5, TVector_TDataProviderPtr jarg5_, long jarg6, QuantizedFeaturesInfoPtr jarg6_, long jarg7, TVector_TDataProviderPtr jarg7_, String jarg8) throws Exception;
public final static native long new_TApplyResultIterator(long jarg1, TFullModel jarg1_, long jarg2, int jarg3, long jarg4, TLocalExecutor jarg4_) throws Exception;
public final static native double TApplyResultIterator_GetSingleDimensionalResult(long jarg1, TApplyResultIterator jarg1_, int jarg2);
public final static native long TApplyResultIterator_GetSingleDimensionalResults(long jarg1, TApplyResultIterator jarg1_);
public final static native void TApplyResultIterator_GetMultiDimensionalResult(long jarg1, TApplyResultIterator jarg1_, int jarg2, double[] jarg3);
public final static native void delete_TApplyResultIterator(long jarg1);
public final static native void CheckModelAndDatasetCompatibility(long jarg1, TFullModel jarg1_, long jarg2, TQuantizedFeaturesInfo jarg2_) throws Exception;
public final static native long CreateQuantizedFeaturesInfoForModelApplication(long jarg1, TFullModel jarg1_, long jarg2, TFeaturesLayout jarg2_) throws Exception;
public final static native long GetMaybeGeneratedModelFeatureIds(long jarg1, TFullModel jarg1_, long jarg2, TFeaturesLayoutPtr jarg2_) throws Exception;
public final static native int GetDefaultFstrType(long jarg1, TFullModel jarg1_) throws Exception;
public final static native boolean PreparedTreesNeedLeavesWeightsFromDataset(long jarg1, TFullModel jarg1_) throws Exception;
public final static native long CollectLeavesStatisticsWrapper(long jarg1, TDataProviderPtr jarg1_, long jarg2, TFullModel jarg2_, long jarg3, TLocalExecutor jarg3_) throws Exception;
public final static native long PrepareTreesWithoutIndependent(long jarg1, TFullModel jarg1_, long jarg2, boolean jarg3, double[] jarg4, int jarg5, boolean jarg6, int jarg7, boolean jarg8, long jarg9, TLocalExecutor jarg9_) throws Exception;
public final static native long CalcFeatureEffectLossChangeMetricStatsWrapper(long jarg1, TFullModel jarg1_, int jarg2, long jarg3, TShapPreparedTrees jarg3_, long jarg4, TDataProviderPtr jarg4_, int jarg5, long jarg6, TLocalExecutor jarg6_) throws Exception;
public final static native long CalcFeatureEffectLossChangeFromScores(long jarg1, TFullModel jarg1_, long jarg2, TCombinationClassFeatures jarg2_, double[] jarg3) throws Exception;
public final static native long CalcFeatureEffectAverageChangeWrapper(long jarg1, TFullModel jarg1_, double[] jarg2) throws Exception;
public final static native long GetPredictionDiffWrapper(long jarg1, TFullModel jarg1_, long jarg2, TRawObjectsDataProviderPtr jarg2_, long jarg3, TLocalExecutor jarg3_) throws Exception;
public final static native long new_TShapValuesResult(long jarg1);
public final static native int TShapValuesResult_GetObjectCount(long jarg1, TShapValuesResult jarg1_) throws Exception;
public final static native int TShapValuesResult_GetShapValuesCount(long jarg1, TShapValuesResult jarg1_) throws Exception;
public final static native long TShapValuesResult_Get(long jarg1, TShapValuesResult jarg1_, int jarg2) throws Exception;
public final static native void delete_TShapValuesResult(long jarg1);
public final static native long CalcShapValuesWithPreparedTreesWrapper(long jarg1, TFullModel jarg1_, long jarg2, TDataProviderPtr jarg2_, long jarg3, TShapPreparedTrees jarg3_, int jarg4, long jarg5, TLocalExecutor jarg5_) throws Exception;
public final static native void GetSelectedFeaturesIndices(long jarg1, TFullModel jarg1_, String jarg2, String jarg3, int[] jarg4) throws Exception;
public final static native long new_TShapInteractionValuesResult(long jarg1);
public final static native int TShapInteractionValuesResult_GetObjectCount(long jarg1, TShapInteractionValuesResult jarg1_) throws Exception;
public final static native int TShapInteractionValuesResult_GetShapInteractionValuesCount(long jarg1, TShapInteractionValuesResult jarg1_) throws Exception;
public final static native long TShapInteractionValuesResult_Get__SWIG_0(long jarg1, TShapInteractionValuesResult jarg1_, int jarg2, int jarg3) throws Exception;
public final static native long TShapInteractionValuesResult_Get__SWIG_1(long jarg1, TShapInteractionValuesResult jarg1_, int jarg2) throws Exception;
public final static native void delete_TShapInteractionValuesResult(long jarg1);
public final static native long CalcShapInteractionValuesWithPreparedTreesWrapper(long jarg1, TFullModel jarg1_, long jarg2, TDataProviderPtr jarg2_, int[] jarg3, int jarg4, long jarg5, TLocalExecutor jarg5_, long jarg6, TShapPreparedTrees jarg6_) throws Exception;
public final static native void CalcInteraction(long jarg1, TFullModel jarg1_, long jarg2, TVector_i32 jarg2_, long jarg3, TVector_i32 jarg3_, long jarg4, TVector_double jarg4_) throws Exception;
public final static native boolean HasNonZeroApproxForZeroWeightLeaf(long jarg1, TFullModel jarg1_) throws Exception;
public final static native long GetMaxObjectCountForFstrCalc(long jarg1, int jarg2) throws Exception;
public final static native long TShapPreparedTrees_Serialize(long jarg1, TShapPreparedTrees jarg1_) throws Exception;
public final static native void TShapPreparedTrees_Deserialize(long jarg1, TShapPreparedTrees jarg1_, byte[] jarg2) throws Exception;
public final static native long new_TShapPreparedTrees();
public final static native void delete_TShapPreparedTrees(long jarg1);
public final static native long TCombinationClassFeatures_size(long jarg1, TCombinationClassFeatures jarg1_);
public final static native long new_TCombinationClassFeatures();
public final static native void delete_TCombinationClassFeatures(long jarg1);
public final static native long GetCombinationClassFeatures(long jarg1, TFullModel jarg1_) throws Exception;
static {
try {
//ai.catboost.common.NativeLib.smartLoad("catboost4j-spark-impl");
Class cls = Class.forName("ai.catboost.common.NativeLib");
Object obj = cls.newInstance();
Class[] paramString = new Class[1];
paramString[0] = String.class;
cls.getDeclaredMethod("smartLoad", paramString).invoke(obj, new String("catboost4j-spark-impl"));
} catch (Exception e) {
System.err.println("Failed to load catboost4j-spark-impl native library: " + e);
System.exit(1);
}
}
public final static native long TIntermediateDataMetaInfo_SWIGUpcast(long jarg1);
public final static native long IJVMLineDataReader_SWIGUpcast(long jarg1);
public static java.math.BigInteger SwigDirector_ILineDataReader_GetDataLineCount__SWIG_0(ILineDataReader jself, boolean estimate) {
return jself.GetDataLineCount(estimate);
}
public static java.math.BigInteger SwigDirector_ILineDataReader_GetDataLineCount__SWIG_1(ILineDataReader jself) {
return jself.GetDataLineCount();
}
public static long SwigDirector_ILineDataReader_GetHeader(ILineDataReader jself) {
return TMaybe_TString.getCPtr(jself.GetHeader());
}
public static boolean SwigDirector_ILineDataReader_ReadLine__SWIG_0(ILineDataReader jself, long line, long lineIdx) {
return jself.ReadLine((line == 0) ? null : new SWIGTYPE_p_TString(line, false), (lineIdx == 0) ? null : new SWIGTYPE_p_unsigned_long_long(lineIdx, false));
}
public static boolean SwigDirector_ILineDataReader_ReadLine__SWIG_1(ILineDataReader jself, long line) {
return jself.ReadLine((line == 0) ? null : new SWIGTYPE_p_TString(line, false));
}
public static java.math.BigInteger SwigDirector_IJVMLineDataReader_GetDataLineCount__SWIG_0(IJVMLineDataReader jself, boolean estimate) {
return jself.GetDataLineCount(estimate);
}
public static java.math.BigInteger SwigDirector_IJVMLineDataReader_GetDataLineCount__SWIG_1(IJVMLineDataReader jself) {
return jself.GetDataLineCount();
}
public static long SwigDirector_IJVMLineDataReader_GetHeader(IJVMLineDataReader jself) {
return TMaybe_TString.getCPtr(jself.GetHeader());
}
public static boolean SwigDirector_IJVMLineDataReader_ReadLine(IJVMLineDataReader jself, long line, long lineIdx) {
return jself.ReadLine((line == 0) ? null : new SWIGTYPE_p_TString(line, false), (lineIdx == 0) ? null : new SWIGTYPE_p_unsigned_long_long(lineIdx, false));
}
public static boolean SwigDirector_IJVMLineDataReader_ReadLine__SWIG_1(IJVMLineDataReader jself, long line) {
return jself.ReadLine((line == 0) ? null : new SWIGTYPE_p_TString(line, false));
}
public static boolean SwigDirector_IJVMLineDataReader_ReadLineJVM(IJVMLineDataReader jself, long line) {
return jself.ReadLineJVM(new TStringOutWrapper(line, true));
}
private final static native void swig_module_init();
static {
swig_module_init();
}
}
|
0
|
java-sources/ai/causalfoundry/android/sdk/chw_mgmt/0.4.8/ai/causalfoundry/android/sdk
|
java-sources/ai/causalfoundry/android/sdk/chw_mgmt/0.4.8/ai/causalfoundry/android/sdk/chw_mgmt/BuildConfig.java
|
/**
* Automatically generated file. DO NOT MODIFY
*/
package ai.causalfoundry.android.sdk.chw_mgmt;
public final class BuildConfig {
public static final boolean DEBUG = false;
public static final String LIBRARY_PACKAGE_NAME = "ai.causalfoundry.android.sdk.chw_mgmt";
public static final String BUILD_TYPE = "release";
}
|
0
|
java-sources/ai/causalfoundry/android/sdk/core/1.2.3/ai/causalfoundry/android/sdk
|
java-sources/ai/causalfoundry/android/sdk/core/1.2.3/ai/causalfoundry/android/sdk/core/BuildConfig.java
|
/**
* Automatically generated file. DO NOT MODIFY
*/
package ai.causalfoundry.android.sdk.core;
public final class BuildConfig {
public static final boolean DEBUG = false;
public static final String LIBRARY_PACKAGE_NAME = "ai.causalfoundry.android.sdk.core";
public static final String BUILD_TYPE = "release";
}
|
0
|
java-sources/ai/causalfoundry/android/sdk/core/1.2.3/ai/causalfoundry/android/sdk/core
|
java-sources/ai/causalfoundry/android/sdk/core/1.2.3/ai/causalfoundry/android/sdk/core/databinding/ActivityCfNotificationBinding.java
|
// Generated by view binder compiler. Do not edit!
package ai.causalfoundry.android.sdk.core.databinding;
import ai.causalfoundry.android.sdk.core.R;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.viewbinding.ViewBinding;
import java.lang.NullPointerException;
import java.lang.Override;
public final class ActivityCfNotificationBinding implements ViewBinding {
@NonNull
private final ConstraintLayout rootView;
private ActivityCfNotificationBinding(@NonNull ConstraintLayout rootView) {
this.rootView = rootView;
}
@Override
@NonNull
public ConstraintLayout getRoot() {
return rootView;
}
@NonNull
public static ActivityCfNotificationBinding inflate(@NonNull LayoutInflater inflater) {
return inflate(inflater, null, false);
}
@NonNull
public static ActivityCfNotificationBinding inflate(@NonNull LayoutInflater inflater,
@Nullable ViewGroup parent, boolean attachToParent) {
View root = inflater.inflate(R.layout.activity_cf_notification, parent, false);
if (attachToParent) {
parent.addView(root);
}
return bind(root);
}
@NonNull
public static ActivityCfNotificationBinding bind(@NonNull View rootView) {
if (rootView == null) {
throw new NullPointerException("rootView");
}
return new ActivityCfNotificationBinding((ConstraintLayout) rootView);
}
}
|
0
|
java-sources/ai/causalfoundry/android/sdk/core/1.2.3/ai/causalfoundry/android/sdk/core
|
java-sources/ai/causalfoundry/android/sdk/core/1.2.3/ai/causalfoundry/android/sdk/core/databinding/CfIncludeControlsBinding.java
|
// Generated by view binder compiler. Do not edit!
package ai.causalfoundry.android.sdk.core.databinding;
import ai.causalfoundry.android.sdk.core.R;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageButton;
import android.widget.RelativeLayout;
import android.widget.SeekBar;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;
public final class CfIncludeControlsBinding implements ViewBinding {
@NonNull
private final RelativeLayout rootView;
@NonNull
public final ImageButton btnPlayPause;
@NonNull
public final RelativeLayout bvpIncludeRelativelayout;
@NonNull
public final TextView duration;
@NonNull
public final TextView position;
@NonNull
public final SeekBar seeker;
private CfIncludeControlsBinding(@NonNull RelativeLayout rootView,
@NonNull ImageButton btnPlayPause, @NonNull RelativeLayout bvpIncludeRelativelayout,
@NonNull TextView duration, @NonNull TextView position, @NonNull SeekBar seeker) {
this.rootView = rootView;
this.btnPlayPause = btnPlayPause;
this.bvpIncludeRelativelayout = bvpIncludeRelativelayout;
this.duration = duration;
this.position = position;
this.seeker = seeker;
}
@Override
@NonNull
public RelativeLayout getRoot() {
return rootView;
}
@NonNull
public static CfIncludeControlsBinding inflate(@NonNull LayoutInflater inflater) {
return inflate(inflater, null, false);
}
@NonNull
public static CfIncludeControlsBinding inflate(@NonNull LayoutInflater inflater,
@Nullable ViewGroup parent, boolean attachToParent) {
View root = inflater.inflate(R.layout.cf_include_controls, parent, false);
if (attachToParent) {
parent.addView(root);
}
return bind(root);
}
@NonNull
public static CfIncludeControlsBinding bind(@NonNull View rootView) {
// The body of this method is generated in a way you would not otherwise write.
// This is done to optimize the compiled bytecode for size and performance.
int id;
missingId: {
id = R.id.btnPlayPause;
ImageButton btnPlayPause = ViewBindings.findChildViewById(rootView, id);
if (btnPlayPause == null) {
break missingId;
}
RelativeLayout bvpIncludeRelativelayout = (RelativeLayout) rootView;
id = R.id.duration;
TextView duration = ViewBindings.findChildViewById(rootView, id);
if (duration == null) {
break missingId;
}
id = R.id.position;
TextView position = ViewBindings.findChildViewById(rootView, id);
if (position == null) {
break missingId;
}
id = R.id.seeker;
SeekBar seeker = ViewBindings.findChildViewById(rootView, id);
if (seeker == null) {
break missingId;
}
return new CfIncludeControlsBinding((RelativeLayout) rootView, btnPlayPause,
bvpIncludeRelativelayout, duration, position, seeker);
}
String missingId = rootView.getResources().getResourceName(id);
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.