Main Content

FunctionApproximation.ClassregProblem Class

Namespace: FunctionApproximation

Specifies problem for the transform function

Since R2023a

Description

The FunctionApproximation.ClassregProblem class creates a FunctionApproximation.CompactModelProblem object that specifies a problem for the transform function FunctionApproximation.TransformFunction. The properties of the FunctionApproximation.ClassregProblem class are read-only.

The FunctionApproximation.ClassregProblem class is a handle class.

Creation

Use the FunctionApproximation.TransformFunction class to create a TransformFunction object with the problem specified by FunctionApproximation.ClassregProblem.

Properties

expand all

Note

Properties of FunctionApproximation.ClassregProblem are read-only.

Function to approximate with a lookup table approximation, specified as a score transform function. Use the FunctionApproximation.TransformFunction function to specify the trained classifier model object.

Number of inputs to function approximation, specified as 1, 2, or 3. This property is inferred from the FunctionToApproximate property.

Data Types: double

Desired data types of inputs to function approximation, specified as a numerictype object. Use the generateLearnerDataTypeFcn function to generate a function that defines the fixed-point data types.

Lower limit of range of inputs to function to approximate, specified as a scalar or vector. The lower bound of the input is determined by the input values.

Example: InputLowerBounds = min(inputValues)

Upper limit of range of inputs to function to approximate, specified as a scalar or vector. The upper bound of the input is determined by the input values.

Example: InputUpperBounds = max(inputValues)

Desired data type of the function approximation output, specified as a numerictype object. Use the generateLearnerDataTypeFcn function to generate a function that defines the fixed-point data types.

Additional options and constraints to use in approximation, specified as a FunctionApproximation.Options object.

Version History

Introduced in R2023a