主要内容

deep.transform.symmetriclogit

Symmetric logit transform

Since R2026a

    Description

    Y = deep.transform.symmetriclogit(X) applies the symmetric logit transform to the input X. When you convert a Statistics and Machine Learning Toolbox™ neural network model that uses a symmetric logit score transform to a dlnetwork object, the last layer of the network is a function layer that applies the deep.transform.symmetriclogit function.

    example

    Examples

    collapse all

    Apply the symmetric logit transform to random data.

    X = rand(3,5);
    X = dlarray(X,"CB");
    Y = deep.transform.symmetriclogit(X)
    Y = 
      3(C) × 5(B) dlarray
    
        0.3862    0.4274    0.1384    0.4482    0.4451
        0.4243    0.3060    0.2668    0.0786    0.2380
        0.0634    0.0487    0.4452    0.4505    0.3801
    
    

    Create a function layer that applies the symmetric logit transform.

    layer = functionLayer(@deep.transform.symmetriclogit)
    layer = 
      FunctionLayer with properties:
    
                 Name: ''
           PredictFcn: @deep.transform.symmetriclogit
          Formattable: 0
        Acceleratable: 0
    
       Learnable Parameters
        No properties.
    
       State Parameters
        No properties.
    
      Show all properties
    
    

    Input Arguments

    collapse all

    Input data, specified as a dlarray object. X must have at most two dimensions.

    Output Arguments

    collapse all

    Transformed data, returned as a dlarray object that is the same size as X.

    Algorithms

    collapse all

    Version History

    Introduced in R2026a