メインコンテンツ

mbcmodel.linearmodelproperties

Properties and methods for linear model property objects

    Description

    Use these properties and object functions to create and examine linear model property objects.

    Creation

    Description

    MLPropObj = ModelObj.Properties creates an mbcmodel.linearmodelproperties object for the model object ModelObj.

    ModelObj.Properties.LinearPropertyName = NewValue changes the ModelObj linear property name LinearPropertyName to the new value NewValue.

    Properties

    expand all

    Every mbcmodel.linearmodel model object has an mbcmodel.linearmodelproperties object. In the mbcmodel.linearmodelproperties object, each model type has specific properties.

    These tables provide the properties available for each model type.

    Linear Models – Polynomial

    PropertyDescriptionValues

    Order

    Polynomial order

    n-by-1 vector of integers greater than or equal to 0, where n is the number of inputs

    InteractionOrder

    Maximum order of interaction terms

    Integer greater than or equal to 0

    TransformInputRange

    Transform inputs

    Boolean

    ParameterNames

    List of parameter names (read-only)

    Not applicable

    StepwiseStatus

    Stepwise status

    Cell containing one of these values:

    • 'Always'

    • 'Never'

    • 'Step'

    BoxCox

    Box-Cox transform (power)

    Numeric number between -3 and 3, inclusive

    Linear Models – Hybrid Spline

    PropertyDescriptionValues

    Order

    Spline and polynomial order vector

    n-by-1 vector of integers greater than or equal to 0 and less than or equal to 3, where n is the number of inputs

    SplineVariable

    Spline variable

    Not applicable

    SplineInteraction

    Order of interaction between spline and polynomial

    Integer greater than or equal to 0 and less than or equal to 3

    Knots

    Position of knots

    Real vector

    ParameterNames

    List of parameter names (read-only)

    Not applicable

    StepwiseStatus

    Stepwise status

    Cell containing one of these values:

    • 'Always'

    • 'Never'

    • 'Step'

    BoxCox

    Box-Cox transform (power)

    Numeric number between -3 and 3, inclusive

    Linear Models – RBF

    PropertyDescriptionValues

    Kernel

    RBF kernel

    String containing one of these enumerated values:

    • 'multiquadric'

    • 'recmultiquadric'

    • 'gaussian'

    • 'thinplate'

    • 'logisticrbf'

    • 'wendland'

    • 'linearrbf'

    • 'cubicrbf'

    Continuity

    Continuity for Wendland kernel

    Integer greater than or equal to 0 and less than or equal to 6

    ParameterNames

    List of parameter names (read-only)

    Not applicable

    StepwiseStatus

    Stepwise status

    Cell containing one of these values:

    • 'Always'

    • 'Never'

    • 'Step'

    BoxCox

    Box-Cox transform (power)

    Numeric number between -3 and 3, inclusive

    Linear Models – Polynomial RBF

    PropertyDescriptionValues

    Order

    Polynomial order vector

    n-by-1 vector of integers greater than or equal to 0, where n is the number of inputs

    InteractionOrder

    Maximum order of interaction terms

    Integer greater than or equal to 0

    Kernel

    RBF kernel

    String containing one of these enumerated values:

    • 'multiquadric'

    • 'recmultiquadric'

    • 'gaussian'

    • 'thinplate'

    • 'logisticrbf'

    • 'wendland'

    • 'linearrbf'

    • 'cubicrbf'

    Continuity

    Continuity for Wendland kernel

    Integer greater than or equal to 0 and less than or equal to 6

    ParameterNames

    List of parameter names (read-only)

    Not applicable

    StepwiseStatus

    Stepwise status

    Cell containing one of these values:

    • 'Always'

    • 'Never'

    • 'Step'

    BoxCox

    Box-Cox transform (power)

    Numeric number between -3 and 3, inclusive

    Linear Models – Hybrid Spline-RBF

    PropertyDescriptionValues

    Order

    Spline and polynomial order vector

    n-by-1 vector of integers greater than or equal to 0 and less than or equal to 3, where n is the number of inputs

    SplineVariable

    Spline variable

    Not applicable

    SplineInteraction

    Order of interaction between spline and polynomial

    Integer greater than or equal to 0 and less than or equal to 3

    Knots

    Position of knots

    Real vector

    Kernel

    RBF kernel

    String containing one of these enumerated values:

    • 'multiquadric'

    • 'recmultiquadric'

    • 'gaussian'

    • 'thinplate'

    • 'logisticrbf'

    • 'wendland'

    • 'linearrbf'

    • 'cubicrbf'

    Continuity

    Continuity for Wendland kernel

    Integer greater than or equal to 0 and less than or equal to 6

    ParameterNames

    List of parameter names (read-only)

    Not applicable

    StepwiseStatus

    Stepwise status

    Cell containing one of these values:

    • 'Always'

    • 'Never'

    • 'Step'

    BoxCox

    Box-Cox transform (power)

    Numeric number between -3 and 3, inclusive

    This property is read-only.

    The model type must be one in this table.

    Note

    Spaces and case in model Type are ignored.

    TypeModel Object
    Polynomialmbcmodel.linearmodel
    Hybrid Splinembcmodel.linearmodel
    RBFmbcmodel.linearmodel
    Hybrid RBFmbcmodel.linearmodel
    Polynomial-RBFmbcmodel.linearmodel
    Hybrid Spline-RBFmbcmodel.linearmodel
    Gaussian Processmbcmodel.model
    Free Knot Splinembcmodel.model
    Transientmbcmodel.model
    User-Definedmbcmodel.model
    Neural Networkmbcmodel.model
    Interpolating RBFmbcmodel.model
    Local Polynomial Splinembcmodel.localmodel
    Local Polynomial with Datummbcmodel.localmodel
    Local Polynomialmbcmodel.localmodel
    Local Hybrid Splinembcmodel.localmodel
    Local Truncated Power Seriesmbcmodel.localmodel
    Local Free Knot Splinembcmodel.localmodel
    Local Multiple Modelsmbcmodel.localmodel
    Local Growth mbcmodel.localmodel
    Local User-Definedmbcmodel.localmodel
    Local Transientmbcmodel.localmodel

    You can get a list of types by using getAlternativeTypes. Use this syntax.

    Mlist = getAlternativeTypes(M)

    In this syntax, M is an mbcmodel.model object.

    Data Types: char | string

    This property is read-only.

    Number of inputs to model, specified as a real positive scalar.

    Data Types: double | single

    Object Functions

    GetAllTermsList all model terms
    GetIncludedTermsList included model terms
    GetTermLabelList labels for model terms
    GetTermStatusList status of some or all model terms
    SetTermStatusSet status of model terms

    Version History

    Introduced before R2006a