index
int64
repo_id
string
file_path
string
content
string
0
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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__TRawObjectsDataProviderPtr rawObjectsDataProvider, EPredictionType predictionType, int threadCount) throws Exception { this(native_implJNI.new_TApplyResultIterator(TFullModel.getCPtr(model), model, SWIGTYPE_p_NCB__TRawObjectsDataProviderPtr.getCPtr(rawObjectsDataProvider), predictionType.swigValue(), threadCount), 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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) { this(native_implJNI.new_TCatBoostOptions(taskType.swigValue()), true); } }
0
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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, int threadCount) throws Exception { this(native_implJNI.new_TDataProviderClosureForJVM__SWIG_0(visitorType.swigValue(), TDataProviderBuilderOptions.getCPtr(options), options, hasFeatures, threadCount), true); } public TDataProviderClosureForJVM(EDatasetVisitorType visitorType, TDataProviderBuilderOptions options, boolean hasFeatures) throws Exception { this(native_implJNI.new_TDataProviderClosureForJVM__SWIG_1(visitorType.swigValue(), TDataProviderBuilderOptions.getCPtr(options), options, hasFeatures), true); } public TDataProviderClosureForJVM(EDatasetVisitorType visitorType, TDataProviderBuilderOptions options) throws Exception { this(native_implJNI.new_TDataProviderClosureForJVM__SWIG_2(visitorType.swigValue(), TDataProviderBuilderOptions.getCPtr(options), options), true); } public IQuantizedFeaturesDataVisitor GetQuantizedVisitor() { 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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() throws Exception { 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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) { native_implJNI.TFeaturesLayout_Init(swigCPtr, this, TVector_TFeatureMetaInfo.getCPtr(data), data); } public TVector_TString GetExternalFeatureIds() { 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(); Init(data); } 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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) { native_implJNI.TFeaturesLayoutPtr_Init(swigCPtr, this, TVector_TFeatureMetaInfo.getCPtr(data), data); } public TVector_TString GetExternalFeatureIds() { 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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, float[] learnTarget, 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, learnTarget, 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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 void Calc(double[] numericFeatures, double[] result) { native_implJNI.TFullModel_Calc(swigCPtr, this, numericFeatures, result); } public void CalcSparse(int size, int[] numericFeaturesIndices, double[] numericFeaturesValues, double[] result) { native_implJNI.TFullModel_CalcSparse(swigCPtr, this, size, numericFeaturesIndices, numericFeaturesValues, 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() throws Exception { return new TVector_i8(native_implJNI.TFullModel_Serialize(swigCPtr, this), true); } public void Deserialize(byte[] binaryBuffer) throws Exception { 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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() throws Exception { 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 SetAvailableFeatures(int[] selectedFeatures) { 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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) throws Exception { native_implJNI.TLocalExecutor_Init(swigCPtr, this, threadCount); } public TLocalExecutor() { this(native_implJNI.new_TLocalExecutor(), true); } }
0
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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) throws Exception { native_implJNI.TNanModeAndBordersBuilder_SetSampleSize(swigCPtr, this, sampleSize); } public void AddSample(double[] objectData) throws Exception { native_implJNI.TNanModeAndBordersBuilder_AddSample(swigCPtr, this, objectData); } public void Finish(int threadCount) throws Exception { native_implJNI.TNanModeAndBordersBuilder_Finish(swigCPtr, this, threadCount); } }
0
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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) throws Exception { native_implJNI.TPairsDataBuilder_Add__SWIG_0(swigCPtr, this, groupIdx, winnerIdxInGroup, loserIdxInGroup); } public void Add(long groupIdx, int winnerIdxInGroup, int loserIdxInGroup, float weight) throws Exception { 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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) throws Exception { 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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) throws Exception { return ENanMode.swigToEnum(native_implJNI.TQuantizedFeaturesInfo_GetNanMode(swigCPtr, this, floatFeatureIdx)); } public void SetNanMode(int floatFeatureIdx, ENanMode nanMode) throws Exception { native_implJNI.TQuantizedFeaturesInfo_SetNanMode(swigCPtr, this, floatFeatureIdx, nanMode.swigValue()); } public void GetQuantization(int floatFeatureIdx, TVector_float borders, SWIGTYPE_p_bool hasDefaultQuantizedBin, TDefaultQuantizedBin defaultQuantizedBin) throws Exception { 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) throws Exception { 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) throws Exception { 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(), 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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 TQuantizedObjectsDataProviderPtr() { this(native_implJNI.new_TQuantizedObjectsDataProviderPtr(), true); } }
0
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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() { 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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) { native_implJNI.TStringOutWrapper_Assign(swigCPtr, this, data, length); } }
0
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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) throws Exception { return new TVector_i32(native_implJNI.GetAvailableFeatures_Float(TFeaturesLayout.getCPtr(featuresLayout), featuresLayout), true); } public static TVector_i32 GetAvailableFeatures_Categorical(TFeaturesLayout featuresLayout) throws Exception { return new TVector_i32(native_implJNI.GetAvailableFeatures_Categorical(TFeaturesLayout.getCPtr(featuresLayout), featuresLayout), true); } public static TVector_i32 GetAvailableFeaturesFlatIndices_Float(TFeaturesLayout featuresLayout) throws Exception { return new TVector_i32(native_implJNI.GetAvailableFeaturesFlatIndices_Float(TFeaturesLayout.getCPtr(featuresLayout), featuresLayout), true); } public static TVector_i32 GetAvailableFeaturesFlatIndices_Categorical(TFeaturesLayout featuresLayout) throws Exception { 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, TQuantizedFeaturesInfo quantizedFeaturesInfo) throws Exception { native_implJNI.UpdateCatFeaturesInfo(catFeaturesUniqValueCounts, 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 SWIGTYPE_p_NCB__TRawObjectsDataProviderPtr CreateRawObjectsDataProvider(TFeaturesLayoutPtr featuresLayout, long objectCount, TVector_TMaybeOwningConstArrayHolder_float columnwiseFloatFeaturesData, TVector_TMaybeOwningConstArrayHolder_i32 columnwiseCatFeaturesData, int maxUniqCatFeatureValues, int threadCount) throws Exception { return new SWIGTYPE_p_NCB__TRawObjectsDataProviderPtr(native_implJNI.CreateRawObjectsDataProvider(TFeaturesLayoutPtr.getCPtr(featuresLayout), featuresLayout, objectCount, TVector_TMaybeOwningConstArrayHolder_float.getCPtr(columnwiseFloatFeaturesData), columnwiseFloatFeaturesData, TVector_TMaybeOwningConstArrayHolder_i32.getCPtr(columnwiseCatFeaturesData), columnwiseCatFeaturesData, maxUniqCatFeatureValues, threadCount), 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, SWIGTYPE_p_NCB__TRawObjectsDataProviderPtr rawObjectsDataProvider, int threadCount) throws Exception { return new TQuantizedObjectsDataProviderPtr(native_implJNI.Quantize(QuantizedFeaturesInfoPtr.getCPtr(quantizedFeaturesInfo), quantizedFeaturesInfo, SWIGTYPE_p_NCB__TRawObjectsDataProviderPtr.getCPtr(rawObjectsDataProvider), threadCount), 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, float[] learnTarget) throws Exception { return new SWIGTYPE_p_TCtrHelper(native_implJNI.GetCtrHelper(TCatBoostOptions.getCPtr(catBoostOptions), catBoostOptions, TFeaturesLayout.getCPtr(layout), layout, learnTarget), true); } public static TTargetStatsForCtrs ComputeTargetStatsForCtrs(SWIGTYPE_p_TCtrHelper ctrHelper, float[] learnTarget, TLocalExecutor localExecutor) throws Exception { return new TTargetStatsForCtrs(native_implJNI.ComputeTargetStatsForCtrs(SWIGTYPE_p_TCtrHelper.getCPtr(ctrHelper), learnTarget, 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 SaveQuantizedPoolWrapper(TDataProviderPtr dataProvider, String fileName) throws Exception { native_implJNI.SaveQuantizedPoolWrapper(TDataProviderPtr.getCPtr(dataProvider), dataProvider, fileName); } 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 void CalcSoftmax(double[] approx, double[] softmax) { native_implJNI.CalcSoftmax(approx, softmax); } public static TFullModel ReadModelWrapper(String modelFile, EModelType format) throws Exception { return new TFullModel(native_implJNI.ReadModelWrapper__SWIG_0(modelFile, format.swigValue()), true); } public static TFullModel ReadModelWrapper(String modelFile) throws Exception { return new TFullModel(native_implJNI.ReadModelWrapper__SWIG_1(modelFile), true); } public static int ModeFitImpl(TVector_TString args) throws Exception { return native_implJNI.ModeFitImpl(TVector_TString.getCPtr(args), args); } public static void CreateTrainingDataForWorker(int hostId, int numThreads, String plainJsonParamsAsString, TDataProviderPtr trainDataProvider, QuantizedFeaturesInfoPtr quantizedFeaturesInfo, TDataProviderPtr trainEstimatedDataProvider, String precomputedOnlineCtrMetaDataAsJsonString) throws Exception { native_implJNI.CreateTrainingDataForWorker(hostId, numThreads, plainJsonParamsAsString, TDataProviderPtr.getCPtr(trainDataProvider), trainDataProvider, QuantizedFeaturesInfoPtr.getCPtr(quantizedFeaturesInfo), quantizedFeaturesInfo, TDataProviderPtr.getCPtr(trainEstimatedDataProvider), trainEstimatedDataProvider, precomputedOnlineCtrMetaDataAsJsonString); } public static void RunWorkerWrapper(int numThreads, int nodePort) throws Exception { native_implJNI.RunWorkerWrapper(numThreads, nodePort); } }
0
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.11/0.25-rc3/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.1 * * 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) throws Exception; 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_); public final static native long TFeaturesLayout_GetExternalFeatureIds(long jarg1, TFeaturesLayout jarg1_); 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_); public final static native long TFeaturesLayoutPtr_GetExternalFeatureIds(long jarg1, TFeaturesLayoutPtr jarg1_); 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_) throws Exception; public final static native long GetAvailableFeatures_Categorical(long jarg1, TFeaturesLayout jarg1_) throws Exception; public final static native long GetAvailableFeaturesFlatIndices_Float(long jarg1, TFeaturesLayout jarg1_) throws Exception; public final static native long GetAvailableFeaturesFlatIndices_Categorical(long jarg1, TFeaturesLayout jarg1_) throws Exception; 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_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_) throws Exception; 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_SetAvailableFeatures(long jarg1, TIntermediateDataMetaInfo jarg1_, int[] jarg2); 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(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); public final static native boolean ILineDataReader_ReadLine__SWIG_1(long jarg1, ILineDataReader jarg1_, long jarg2, long jarg3); 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); public final static native void delete_TStringOutWrapper(long jarg1); public final static native boolean IJVMLineDataReader_ReadLine__SWIG_0(long jarg1, IJVMLineDataReader jarg1_, long jarg2); public final static native boolean IJVMLineDataReader_ReadLineSwigExplicitIJVMLineDataReader__SWIG_0(long jarg1, IJVMLineDataReader jarg1_, long jarg2); public final static native boolean IJVMLineDataReader_ReadLine__SWIG_1(long jarg1, IJVMLineDataReader jarg1_, long jarg2, long jarg3); public final static native boolean IJVMLineDataReader_ReadLineSwigExplicitIJVMLineDataReader__SWIG_1(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 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) throws Exception; public final static native void TQuantizedFeaturesInfo_SetNanMode(long jarg1, TQuantizedFeaturesInfo jarg1_, int jarg2, int jarg3) throws Exception; public final static native void TQuantizedFeaturesInfo_GetQuantization(long jarg1, TQuantizedFeaturesInfo jarg1_, int jarg2, long jarg3, TVector_float jarg3_, long jarg4, long jarg5, TDefaultQuantizedBin jarg5_) throws Exception; public final static native void TQuantizedFeaturesInfo_SetQuantization__SWIG_0(long jarg1, TQuantizedFeaturesInfo jarg1_, int jarg2, long jarg3, TVector_float jarg3_, long jarg4, TDefaultQuantizedBin jarg4_) throws Exception; public final static native void TQuantizedFeaturesInfo_SetQuantization__SWIG_1(long jarg1, TQuantizedFeaturesInfo jarg1_, int jarg2, long jarg3, TVector_float jarg3_) throws Exception; 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) throws Exception; public final static native void QuantizedFeaturesInfoPtr_SetNanMode(long jarg1, QuantizedFeaturesInfoPtr jarg1_, int jarg2, int jarg3) throws Exception; public final static native void QuantizedFeaturesInfoPtr_GetQuantization(long jarg1, QuantizedFeaturesInfoPtr jarg1_, int jarg2, long jarg3, TVector_float jarg3_, long jarg4, long jarg5, TDefaultQuantizedBin jarg5_) throws Exception; public final static native void QuantizedFeaturesInfoPtr_SetQuantization__SWIG_0(long jarg1, QuantizedFeaturesInfoPtr jarg1_, int jarg2, long jarg3, TVector_float jarg3_, long jarg4, TDefaultQuantizedBin jarg4_) throws Exception; public final static native void QuantizedFeaturesInfoPtr_SetQuantization__SWIG_1(long jarg1, QuantizedFeaturesInfoPtr jarg1_, int jarg2, long jarg3, TVector_float jarg3_) throws Exception; 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, long jarg2, TQuantizedFeaturesInfo jarg2_) 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 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_) throws Exception; 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_) throws Exception; public final static native void IQuantizedFeaturesDataVisitor_AddGroupId(long jarg1, IQuantizedFeaturesDataVisitor jarg1_, long[] jarg2) throws Exception; public final static native void IQuantizedFeaturesDataVisitor_AddSubgroupId(long jarg1, IQuantizedFeaturesDataVisitor jarg1_, int[] jarg2) throws Exception; public final static native void IQuantizedFeaturesDataVisitor_AddTimestamp(long jarg1, IQuantizedFeaturesDataVisitor jarg1_, long[] jarg2) throws Exception; 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_) throws Exception; public final static native void IQuantizedFeaturesDataVisitor_AddTarget__SWIG_0(long jarg1, IQuantizedFeaturesDataVisitor jarg1_, float[] jarg2) throws Exception; public final static native void IQuantizedFeaturesDataVisitor_AddTarget__SWIG_1(long jarg1, IQuantizedFeaturesDataVisitor jarg1_, long jarg2, TVector_TString jarg2_) throws Exception; public final static native void IQuantizedFeaturesDataVisitor_AddBaseline(long jarg1, IQuantizedFeaturesDataVisitor jarg1_, int jarg2, float[] jarg3) throws Exception; public final static native void IQuantizedFeaturesDataVisitor_AddWeight(long jarg1, IQuantizedFeaturesDataVisitor jarg1_, float[] jarg2) throws Exception; public final static native void IQuantizedFeaturesDataVisitor_AddGroupWeight(long jarg1, IQuantizedFeaturesDataVisitor jarg1_, float[] jarg2) throws Exception; 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, int 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_); 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__SWIG_0(int jarg1, long jarg2, TDataProviderBuilderOptions jarg2_, boolean jarg3, int jarg4) throws Exception; public final static native long new_TDataProviderClosureForJVM__SWIG_1(int jarg1, long jarg2, TDataProviderBuilderOptions jarg2_, boolean jarg3) throws Exception; public final static native long new_TDataProviderClosureForJVM__SWIG_2(int jarg1, long jarg2, TDataProviderBuilderOptions jarg2_) throws Exception; public final static native long TDataProviderClosureForJVM_GetQuantizedVisitor(long jarg1, TDataProviderClosureForJVM jarg1_); 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) throws Exception; public final static native void TPairsDataBuilder_Add__SWIG_1(long jarg1, TPairsDataBuilder jarg1_, long jarg2, int jarg3, int jarg4, float jarg5) throws Exception; 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) throws Exception; public final static native void TNanModeAndBordersBuilder_AddSample(long jarg1, TNanModeAndBordersBuilder jarg1_, double[] jarg2) throws Exception; public final static native void TNanModeAndBordersBuilder_Finish(long jarg1, TNanModeAndBordersBuilder jarg1_, int jarg2) throws Exception; public final static native void delete_TNanModeAndBordersBuilder(long jarg1); public final static native long Quantize(long jarg1, QuantizedFeaturesInfoPtr jarg1_, long jarg2, int 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 void TPrecomputedOnlineCtrMetaData_Append(long jarg1, TPrecomputedOnlineCtrMetaData jarg1_, long jarg2, TPrecomputedOnlineCtrMetaData jarg2_) throws Exception; 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_, float[] jarg3) throws Exception; public final static native long ComputeTargetStatsForCtrs(long jarg1, 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_, 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 SaveQuantizedPoolWrapper(long jarg1, TDataProviderPtr jarg1_, String jarg2) throws Exception; public final static native long new_TCatBoostOptions(int jarg1); public final static native void delete_TCatBoostOptions(long jarg1); 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 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_) throws Exception; public final static native void TFullModel_Deserialize(long jarg1, TFullModel jarg1_, byte[] jarg2) throws Exception; 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 void CalcSoftmax(double[] jarg1, double[] jarg2); public final static native long ReadModelWrapper__SWIG_0(String jarg1, int jarg2) throws Exception; public final static native long ReadModelWrapper__SWIG_1(String jarg1) throws Exception; public final static native int ModeFitImpl(long jarg1, TVector_TString jarg1_) throws Exception; public final static native void CreateTrainingDataForWorker(int jarg1, int jarg2, String jarg3, long jarg4, TDataProviderPtr jarg4_, long jarg5, QuantizedFeaturesInfoPtr jarg5_, long jarg6, TDataProviderPtr jarg6_, String jarg7) throws Exception; public final static native void RunWorkerWrapper(int jarg1, int jarg2) throws Exception; public final static native long new_TApplyResultIterator(long jarg1, TFullModel jarg1_, long jarg2, int jarg3, int 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); 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(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) { return jself.ReadLine((line == 0) ? null : new SWIGTYPE_p_TString(line, false)); } public static boolean SwigDirector_ILineDataReader_ReadLine__SWIG_1(ILineDataReader jself, long arg0, long arg1) { return jself.ReadLine((arg0 == 0) ? null : new SWIGTYPE_p_TString(arg0, false), (arg1 == 0) ? null : new SWIGTYPE_p_TString(arg1, false)); } public static java.math.BigInteger SwigDirector_IJVMLineDataReader_GetDataLineCount(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__SWIG_0(IJVMLineDataReader jself, long line) { return jself.ReadLine((line == 0) ? null : new SWIGTYPE_p_TString(line, false)); } public static boolean SwigDirector_IJVMLineDataReader_ReadLine__SWIG_1(IJVMLineDataReader jself, long arg0, long arg1) { return jself.ReadLine((arg0 == 0) ? null : new SWIGTYPE_p_TString(arg0, false), (arg1 == 0) ? null : new SWIGTYPE_p_TString(arg1, 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/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EAccuracyType.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 EAccuracyType { Classic, PerClass; public final int swigValue() { return swigValue; } public static EAccuracyType swigToEnum(int swigValue) { EAccuracyType[] swigValues = EAccuracyType.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EAccuracyType swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EAccuracyType.class + " with value " + swigValue); } @SuppressWarnings("unused") private EAccuracyType() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EAccuracyType(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EAccuracyType(EAccuracyType 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EAucType.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 EAucType { Classic, Ranking, Mu, OneVsAll; public final int swigValue() { return swigValue; } public static EAucType swigToEnum(int swigValue) { EAucType[] swigValues = EAucType.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EAucType swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EAucType.class + " with value " + swigValue); } @SuppressWarnings("unused") private EAucType() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EAucType(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EAucType(EAucType 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EAutoClassWeightsType.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 EAutoClassWeightsType { Balanced, SqrtBalanced, None; public final int swigValue() { return swigValue; } public static EAutoClassWeightsType swigToEnum(int swigValue) { EAutoClassWeightsType[] swigValues = EAutoClassWeightsType.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EAutoClassWeightsType swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EAutoClassWeightsType.class + " with value " + swigValue); } @SuppressWarnings("unused") private EAutoClassWeightsType() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EAutoClassWeightsType(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EAutoClassWeightsType(EAutoClassWeightsType 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EBoostingType.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 EBoostingType { Ordered, Plain; public final int swigValue() { return swigValue; } public static EBoostingType swigToEnum(int swigValue) { EBoostingType[] swigValues = EBoostingType.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EBoostingType swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EBoostingType.class + " with value " + swigValue); } @SuppressWarnings("unused") private EBoostingType() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EBoostingType(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EBoostingType(EBoostingType 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EBootstrapType.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 EBootstrapType { Poisson, Bayesian, Bernoulli, MVS, No; public final int swigValue() { return swigValue; } public static EBootstrapType swigToEnum(int swigValue) { EBootstrapType[] swigValues = EBootstrapType.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EBootstrapType swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EBootstrapType.class + " with value " + swigValue); } @SuppressWarnings("unused") private EBootstrapType() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EBootstrapType(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EBootstrapType(EBootstrapType 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EBorderSelectionType.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 EBorderSelectionType { Median(1), GreedyLogSum(2), UniformAndQuantiles(3), MinEntropy(4), MaxLogSum(5), Uniform(6), GreedyMinEntropy(7); public final int swigValue() { return swigValue; } public static EBorderSelectionType swigToEnum(int swigValue) { EBorderSelectionType[] swigValues = EBorderSelectionType.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EBorderSelectionType swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EBorderSelectionType.class + " with value " + swigValue); } @SuppressWarnings("unused") private EBorderSelectionType() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EBorderSelectionType(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EBorderSelectionType(EBorderSelectionType 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ECalcTypeShapValues.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 ECalcTypeShapValues { Approximate, Regular, Exact, Independent; public final int swigValue() { return swigValue; } public static ECalcTypeShapValues swigToEnum(int swigValue) { ECalcTypeShapValues[] swigValues = ECalcTypeShapValues.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (ECalcTypeShapValues swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + ECalcTypeShapValues.class + " with value " + swigValue); } @SuppressWarnings("unused") private ECalcTypeShapValues() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private ECalcTypeShapValues(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private ECalcTypeShapValues(ECalcTypeShapValues 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EColumn.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 EColumn { Num, Categ, Label, Auxiliary, Baseline, Weight, SampleId, GroupId, GroupWeight, SubgroupId, Timestamp, Sparse, Prediction, Text, NumVector; public final int swigValue() { return swigValue; } public static EColumn swigToEnum(int swigValue) { EColumn[] swigValues = EColumn.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EColumn swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EColumn.class + " with value " + swigValue); } @SuppressWarnings("unused") private EColumn() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EColumn(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EColumn(EColumn 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ECounterCalc.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 ECounterCalc { Full, SkipTest; public final int swigValue() { return swigValue; } public static ECounterCalc swigToEnum(int swigValue) { ECounterCalc[] swigValues = ECounterCalc.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (ECounterCalc swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + ECounterCalc.class + " with value " + swigValue); } @SuppressWarnings("unused") private ECounterCalc() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private ECounterCalc(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private ECounterCalc(ECounterCalc 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ECrossValidation.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 ECrossValidation { Classical, Inverted, TimeSeries; public final int swigValue() { return swigValue; } public static ECrossValidation swigToEnum(int swigValue) { ECrossValidation[] swigValues = ECrossValidation.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (ECrossValidation swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + ECrossValidation.class + " with value " + swigValue); } @SuppressWarnings("unused") private ECrossValidation() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private ECrossValidation(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private ECrossValidation(ECrossValidation 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/ECtrTableMergePolicy.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 ECtrTableMergePolicy { FailIfCtrIntersects, LeaveMostDiversifiedTable, IntersectingCountersAverage; public final int swigValue() { return swigValue; } public static ECtrTableMergePolicy swigToEnum(int swigValue) { ECtrTableMergePolicy[] swigValues = ECtrTableMergePolicy.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (ECtrTableMergePolicy swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + ECtrTableMergePolicy.class + " with value " + swigValue); } @SuppressWarnings("unused") private ECtrTableMergePolicy() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private ECtrTableMergePolicy(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private ECtrTableMergePolicy(ECtrTableMergePolicy 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EDataPartitionType.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 EDataPartitionType { FeatureParallel, DocParallel; public final int swigValue() { return swigValue; } public static EDataPartitionType swigToEnum(int swigValue) { EDataPartitionType[] swigValues = EDataPartitionType.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EDataPartitionType swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EDataPartitionType.class + " with value " + swigValue); } @SuppressWarnings("unused") private EDataPartitionType() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EDataPartitionType(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EDataPartitionType(EDataPartitionType 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EDatasetVisitorType.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 EDatasetVisitorType { RawObjectsOrder, RawFeaturesOrder, QuantizedFeatures; public final int swigValue() { return swigValue; } public static EDatasetVisitorType swigToEnum(int swigValue) { EDatasetVisitorType[] swigValues = EDatasetVisitorType.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EDatasetVisitorType swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EDatasetVisitorType.class + " with value " + swigValue); } @SuppressWarnings("unused") private EDatasetVisitorType() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EDatasetVisitorType(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EDatasetVisitorType(EDatasetVisitorType 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EErrorType.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 EErrorType { PerObjectError, PairwiseError, QuerywiseError; public final int swigValue() { return swigValue; } public static EErrorType swigToEnum(int swigValue) { EErrorType[] swigValues = EErrorType.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EErrorType swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EErrorType.class + " with value " + swigValue); } @SuppressWarnings("unused") private EErrorType() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EErrorType(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EErrorType(EErrorType 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EEstimatedSourceFeatureType.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 EEstimatedSourceFeatureType { Text, Embedding; public final int swigValue() { return swigValue; } public static EEstimatedSourceFeatureType swigToEnum(int swigValue) { EEstimatedSourceFeatureType[] swigValues = EEstimatedSourceFeatureType.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EEstimatedSourceFeatureType swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EEstimatedSourceFeatureType.class + " with value " + swigValue); } @SuppressWarnings("unused") private EEstimatedSourceFeatureType() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EEstimatedSourceFeatureType(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EEstimatedSourceFeatureType(EEstimatedSourceFeatureType 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EExplainableModelOutput.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 EExplainableModelOutput { Raw, Probability, LossFunction; public final int swigValue() { return swigValue; } public static EExplainableModelOutput swigToEnum(int swigValue) { EExplainableModelOutput[] swigValues = EExplainableModelOutput.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EExplainableModelOutput swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EExplainableModelOutput.class + " with value " + swigValue); } @SuppressWarnings("unused") private EExplainableModelOutput() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EExplainableModelOutput(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EExplainableModelOutput(EExplainableModelOutput 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EF1AverageType.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 EF1AverageType { Micro, Macro, Weighted; public final int swigValue() { return swigValue; } public static EF1AverageType swigToEnum(int swigValue) { EF1AverageType[] swigValues = EF1AverageType.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EF1AverageType swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EF1AverageType.class + " with value " + swigValue); } @SuppressWarnings("unused") private EF1AverageType() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EF1AverageType(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EF1AverageType(EF1AverageType 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EFeatureCalcerType.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 EFeatureCalcerType { BoW, NaiveBayes, BM25, LDA, KNN; public final int swigValue() { return swigValue; } public static EFeatureCalcerType swigToEnum(int swigValue) { EFeatureCalcerType[] swigValues = EFeatureCalcerType.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EFeatureCalcerType swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EFeatureCalcerType.class + " with value " + swigValue); } @SuppressWarnings("unused") private EFeatureCalcerType() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EFeatureCalcerType(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EFeatureCalcerType(EFeatureCalcerType 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EFeatureEvalMode.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 EFeatureEvalMode { OneVsNone, OneVsOthers, OneVsAll, OthersVsAll; public final int swigValue() { return swigValue; } public static EFeatureEvalMode swigToEnum(int swigValue) { EFeatureEvalMode[] swigValues = EFeatureEvalMode.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EFeatureEvalMode swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EFeatureEvalMode.class + " with value " + swigValue); } @SuppressWarnings("unused") private EFeatureEvalMode() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EFeatureEvalMode(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EFeatureEvalMode(EFeatureEvalMode 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EFeatureType.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 EFeatureType { Float, Categorical, Text, Embedding; public final int swigValue() { return swigValue; } public static EFeatureType swigToEnum(int swigValue) { EFeatureType[] swigValues = EFeatureType.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EFeatureType swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EFeatureType.class + " with value " + swigValue); } @SuppressWarnings("unused") private EFeatureType() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EFeatureType(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EFeatureType(EFeatureType 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EFeaturesSelectionAlgorithm.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 EFeaturesSelectionAlgorithm { RecursiveByPredictionValuesChange, RecursiveByLossFunctionChange, RecursiveByShapValues; public final int swigValue() { return swigValue; } public static EFeaturesSelectionAlgorithm swigToEnum(int swigValue) { EFeaturesSelectionAlgorithm[] swigValues = EFeaturesSelectionAlgorithm.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EFeaturesSelectionAlgorithm swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EFeaturesSelectionAlgorithm.class + " with value " + swigValue); } @SuppressWarnings("unused") private EFeaturesSelectionAlgorithm() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EFeaturesSelectionAlgorithm(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EFeaturesSelectionAlgorithm(EFeaturesSelectionAlgorithm 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EFeaturesSelectionGrouping.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 EFeaturesSelectionGrouping { Individual, ByTags; public final int swigValue() { return swigValue; } public static EFeaturesSelectionGrouping swigToEnum(int swigValue) { EFeaturesSelectionGrouping[] swigValues = EFeaturesSelectionGrouping.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EFeaturesSelectionGrouping swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EFeaturesSelectionGrouping.class + " with value " + swigValue); } @SuppressWarnings("unused") private EFeaturesSelectionGrouping() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EFeaturesSelectionGrouping(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EFeaturesSelectionGrouping(EFeaturesSelectionGrouping 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EFinalCtrComputationMode.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 EFinalCtrComputationMode { Skip, Default; public final int swigValue() { return swigValue; } public static EFinalCtrComputationMode swigToEnum(int swigValue) { EFinalCtrComputationMode[] swigValues = EFinalCtrComputationMode.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EFinalCtrComputationMode swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EFinalCtrComputationMode.class + " with value " + swigValue); } @SuppressWarnings("unused") private EFinalCtrComputationMode() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EFinalCtrComputationMode(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EFinalCtrComputationMode(EFinalCtrComputationMode 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EFinalFeatureCalcersComputationMode.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 EFinalFeatureCalcersComputationMode { Skip, Default; public final int swigValue() { return swigValue; } public static EFinalFeatureCalcersComputationMode swigToEnum(int swigValue) { EFinalFeatureCalcersComputationMode[] swigValues = EFinalFeatureCalcersComputationMode.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EFinalFeatureCalcersComputationMode swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EFinalFeatureCalcersComputationMode.class + " with value " + swigValue); } @SuppressWarnings("unused") private EFinalFeatureCalcersComputationMode() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EFinalFeatureCalcersComputationMode(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EFinalFeatureCalcersComputationMode(EFinalFeatureCalcersComputationMode 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EFstrCalculatedInFitType.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 EFstrCalculatedInFitType { PredictionValuesChange, LossFunctionChange, FeatureImportance; public final int swigValue() { return swigValue; } public static EFstrCalculatedInFitType swigToEnum(int swigValue) { EFstrCalculatedInFitType[] swigValues = EFstrCalculatedInFitType.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EFstrCalculatedInFitType swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EFstrCalculatedInFitType.class + " with value " + swigValue); } @SuppressWarnings("unused") private EFstrCalculatedInFitType() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EFstrCalculatedInFitType(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EFstrCalculatedInFitType(EFstrCalculatedInFitType 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EFstrType.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 EFstrType { PredictionValuesChange, LossFunctionChange, FeatureImportance, InternalFeatureImportance, Interaction, InternalInteraction, ShapValues, PredictionDiff, ShapInteractionValues, SageValues; public final int swigValue() { return swigValue; } public static EFstrType swigToEnum(int swigValue) { EFstrType[] swigValues = EFstrType.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EFstrType swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EFstrType.class + " with value " + swigValue); } @SuppressWarnings("unused") private EFstrType() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EFstrType(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EFstrType(EFstrType 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EGpuCatFeaturesStorage.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 EGpuCatFeaturesStorage { CpuPinnedMemory, GpuRam; public final int swigValue() { return swigValue; } public static EGpuCatFeaturesStorage swigToEnum(int swigValue) { EGpuCatFeaturesStorage[] swigValues = EGpuCatFeaturesStorage.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EGpuCatFeaturesStorage swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EGpuCatFeaturesStorage.class + " with value " + swigValue); } @SuppressWarnings("unused") private EGpuCatFeaturesStorage() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EGpuCatFeaturesStorage(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EGpuCatFeaturesStorage(EGpuCatFeaturesStorage 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EGrowPolicy.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 EGrowPolicy { SymmetricTree, Lossguide, Depthwise, Region; public final int swigValue() { return swigValue; } public static EGrowPolicy swigToEnum(int swigValue) { EGrowPolicy[] swigValues = EGrowPolicy.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EGrowPolicy swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EGrowPolicy.class + " with value " + swigValue); } @SuppressWarnings("unused") private EGrowPolicy() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EGrowPolicy(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EGrowPolicy(EGrowPolicy 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src/native_impl/EHessianType.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 EHessianType { Symmetric, Diagonal; public final int swigValue() { return swigValue; } public static EHessianType swigToEnum(int swigValue) { EHessianType[] swigValues = EHessianType.class.getEnumConstants(); if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; for (EHessianType swigEnum : swigValues) if (swigEnum.swigValue == swigValue) return swigEnum; throw new IllegalArgumentException("No enum " + EHessianType.class + " with value " + swigValue); } @SuppressWarnings("unused") private EHessianType() { this.swigValue = SwigNext.next++; } @SuppressWarnings("unused") private EHessianType(int swigValue) { this.swigValue = swigValue; SwigNext.next = swigValue+1; } @SuppressWarnings("unused") private EHessianType(EHessianType 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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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_2.3_2.11/1.2.7/ru/yandex/catboost/spark/catboost4j_spark/core/src
java-sources/ai/catboost/catboost-spark_2.3_2.11/1.2.7/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; } }