case class ExecutionParams(chunkSize: Int, matrixType: String, numThreads: Int, dataTransferMode: String, samplingMode: String, samplingSetSize: Int, microBatchSize: Int, useSingleDatasetMode: Boolean, maxStreamingOMPThreads: Int) extends ParamGroup with Product with Serializable
Defines parameters related to lightgbm execution in spark.
- chunkSize
Advanced parameter to specify the chunk size for copying Java data to native.
- matrixType
Advanced parameter to specify whether the native lightgbm matrix constructed should be sparse or dense.
- numThreads
The number of threads to run the native lightgbm training with on each worker.
- dataTransferMode
How to transfer data to LightGBM to begin the processing.
- samplingMode
How to sample data.
- samplingSetSize
The size of the subset if sampling only a subset.
- microBatchSize
The number of elements in a streaming micro-batch.
- useSingleDatasetMode
Whether to create only 1 LightGBM Dataset on each worker.
- maxStreamingOMPThreads
Maximum number of streaming mode OpenMP threads per Spark Task thread.
- Alphabetic
- By Inheritance
- ExecutionParams
- Product
- Equals
- ParamGroup
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ExecutionParams(chunkSize: Int, matrixType: String, numThreads: Int, dataTransferMode: String, samplingMode: String, samplingSetSize: Int, microBatchSize: Int, useSingleDatasetMode: Boolean, maxStreamingOMPThreads: Int)
- chunkSize
Advanced parameter to specify the chunk size for copying Java data to native.
- matrixType
Advanced parameter to specify whether the native lightgbm matrix constructed should be sparse or dense.
- numThreads
The number of threads to run the native lightgbm training with on each worker.
- dataTransferMode
How to transfer data to LightGBM to begin the processing.
- samplingMode
How to sample data.
- samplingSetSize
The size of the subset if sampling only a subset.
- microBatchSize
The number of elements in a streaming micro-batch.
- useSingleDatasetMode
Whether to create only 1 LightGBM Dataset on each worker.
- maxStreamingOMPThreads
Maximum number of streaming mode OpenMP threads per Spark Task thread.
Value Members
-
def
appendParams(sb: ParamsStringBuilder): ParamsStringBuilder
- Definition Classes
- ExecutionParams → ParamGroup
- val chunkSize: Int
- val dataTransferMode: String
- val matrixType: String
- val maxStreamingOMPThreads: Int
- val microBatchSize: Int
- val numThreads: Int
- val samplingMode: String
- val samplingSetSize: Int
-
def
toString(): String
- Definition Classes
- ParamGroup → AnyRef → Any
- val useSingleDatasetMode: Boolean