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. 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