TrainedLearner.incrementalTrain

TrainedLearner.incrementalTrain(trainX, trainY=None, arguments=None, randomSeed=None, *, useLog=None)

Extend the training of this learner with additional data.

Using the data the model was previously trained on, continue training this learner by supplementing the existing data with the provided additional data.

Parameters:
  • trainX (nimble Base object) – Additional data to be used for training.

  • trainY (identifier, nimble Base object) – A name or index of the feature in trainX containing the labels or another nimble Base object containing the labels that correspond to trainX.

  • randomSeed (int) – Set a random seed for the operation. When not None, allows for reproducible results for each function call. Ignored if learner does not depend on randomness.

  • useLog (bool, None) – Local control for whether to send object creation to the logger. If None (default), use the value as specified in the “logger” “enabledByDefault” configuration option. If True, send to the logger regardless of the global option. If False, do NOT send to the logger, regardless of the global option.