주요 콘텐츠

TrainingOptionsFREEREX

R2026b

Training options for FreeRex solver

Since R2026b

Description

A TrainingOptionsFREEREX model object contains options for the FreeRex solver. Use the model object with the TrainingOptions name-value argument of incrementalClassificationNeuralNetwork or incrementalRegressionNeuralNetwork to specify solver options for incremental learning.

Creation

Create an TrainingOptionsFREEREX object by using the incrementalTrainingOptions and specifying "freerex" as the first input argument..

Properties

expand all

L2 regularization term strength, specified as a nonnegative scalar. Larger values apply stronger regularization to the model coefficients.

Regularizer scaling factor, specified as a positive scalar. This factor scales the regularization term in the FreeRex algorithm.

Parameter update method, specified as one of the following:

  • "coordinate-wise" — Apply updates independently for each weight.

  • "l2-norm" — Apply updates based on the L2-norm of the gradient.

Examples

collapse all

Create a training options object that contains the default FreeRex solver options for an incremental neural network learning object.

FreeRexOptions=incrementalTrainingOptions("freerex")
FreeRexOptions = 
  TrainingOptionsFREEREX

         UpdateMethod: "coordinate-wise"
    RegularizerFactor: 2.2361
     L2Regularization: 1.0000e-05


  Properties, Methods

FreeRexOptions is a TrainingOptionsFREEREX object. Create an incremental neural network classification model with a maximum of five expected classes using the default FreeRex solver options.

IncrementalMdl = incrementalClassificationNeuralNetwork(MaxNumClasses=5,TrainingOptions=FreeRexOptions)
IncrementalMdl = 
  incrementalClassificationNeuralNetwork

                   IsWarm: 0
                  Metrics: [1×2 table]
               ClassNames: [1×0 double]
           ScoreTransform: 'none'
               LayerSizes: 10
              Activations: "relu"
    OutputLayerActivation: "softmax"
                   Solver: "freerex"


  Properties, Methods

IncrementalMdl is an incrementalClassificationNeuralNetwork model object. The solver options are stored in the object's TrainingOptions property.

Version History

Introduced in R2026b