c

com.microsoft.azure.synapse.ml.lightgbm

StreamingPartitionTask

class StreamingPartitionTask extends BasePartitionTask

Class for handling the execution of streaming-based Tasks on workers for each partition.

Linear Supertypes
BasePartitionTask, Logging, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StreamingPartitionTask
  2. BasePartitionTask
  3. Logging
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StreamingPartitionTask()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cleanupInternal(ctx: PartitionTaskContext): Unit

    Cleanup the task

    Cleanup the task

    ctx

    The training context.

    Attributes
    protected
    Definition Classes
    BasePartitionTask
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def determineMatrixType(ctx: PartitionTaskContext, inputRows: Iterator[Row]): PeekingIterator[Row]
    Attributes
    protected
    Definition Classes
    BasePartitionTask
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getTaskContext(trainingCtx: TrainingContext, partitionId: Int, taskId: Long, measures: TaskInstrumentationMeasures, networkTopologyInfo: NetworkTopologyInfo, shouldExecuteTraining: Boolean, isEmptyPartition: Boolean, shouldReturnBooster: Boolean): PartitionTaskContext

    Initialize and customize the context for the task.

    Initialize and customize the context for the task.

    trainingCtx

    The training context information.

    partitionId

    The task context information.

    taskId

    The task context information.

    measures

    The task instrumentation measures.

    networkTopologyInfo

    Information about the network.

    shouldExecuteTraining

    Whether this task should participate in LightGBM training.

    isEmptyPartition

    Whether the partition has rows.

    shouldReturnBooster

    Whether the task should return a booster.

    returns

    The updated context information for the task.

    Attributes
    protected
    Definition Classes
    BasePartitionTask
  13. def getTrainingDatasetInternal(ctx: PartitionTaskContext, dataState: PartitionDataState): LightGBMDataset

    Generate the final training dataset for this task.

    Generate the final training dataset for this task. Internal implementation for specific execution modes.

    ctx

    The training context.

    dataState

    Any intermediate data state (used mainly by bulk execution mode).

    returns

    LightGBM dataset Java wrapper.

    Attributes
    protected
    Definition Classes
    StreamingPartitionTaskBasePartitionTask
  14. def getValidationDatasetInternal(ctx: PartitionTaskContext, dataState: PartitionDataState, referenceDataset: LightGBMDataset): LightGBMDataset

    Generate the final opt validation dataset for this task.

    Generate the final opt validation dataset for this task. Internal implementation for specific execution modes.

    ctx

    The training context.

    dataState

    Any intermediate data state (used mainly by bulk execution mode).

    referenceDataset

    A reference dataset to start with.

    returns

    LightGBM dataset Java wrapper.

    Attributes
    protected
    Definition Classes
    StreamingPartitionTaskBasePartitionTask
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def initializeInternal(ctx: TrainingContext, shouldExecuteTraining: Boolean, isEmptyPartition: Boolean): Unit

    Initialize and customize the context for the task.

    Initialize and customize the context for the task.

    ctx

    The task context information.

    returns

    The updated context information for the task.

    Attributes
    protected
    Definition Classes
    StreamingPartitionTaskBasePartitionTask
  17. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  18. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  21. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  22. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  29. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def mapPartitionTask(ctx: TrainingContext)(inputRows: Iterator[Row]): Iterator[PartitionResult]

    This method will be passed to Spark's mapPartition method and handle execution of training on the workers.

    This method will be passed to Spark's mapPartition method and handle execution of training on the workers. Main stages: (and each execution mode has an "Internal" version to perform mode-specific operations) initialize() preparePartitionData() finalizeDatasetAndTrain() cleanup()

    ctx

    The training context.

    inputRows

    The Spark rows as an iterator.

    returns

    result iterator (to comply with Spark mapPartition API).

    Definition Classes
    BasePartitionTask
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. def preparePartitionDataInternal(ctx: PartitionTaskContext, inputRows: Iterator[Row]): PartitionDataState

    Prepare any data objects for this particular partition.

    Prepare any data objects for this particular partition. Implement for specific execution modes.

    ctx

    The task context information.

    inputRows

    The Spark rows for a partition as an iterator.

    returns

    Any intermediate data state (used mainly by bulk execution mode) to pass to future stages.

    Attributes
    protected
    Definition Classes
    StreamingPartitionTaskBasePartitionTask
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from BasePartitionTask

Inherited from Logging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped