SlicedInverseRegressionResult

class SlicedInverseRegressionResult(*args)

Result class for Sliced Inverse Regression.

Warning

This class is experimental and likely to be modified in future releases. To use it, import the openturns.experimental submodule.

Stores the EDR directions, eigenvalues and the center of the input sample computed by the SlicedInverseRegression algorithm.

The transformation maps an input vector \vect{x} \in \Rset^\inputDim to \Rset^k via:

f(\vect{x}) = \Tr{\hat{\vect{\alpha}}} (\vect{x} - \overline{\vect{X}})

where \hat{\vect{\alpha}} is the \inputDim \times k matrix of normalized EDR directions and \overline{\vect{X}} is the input sample mean.

The inverse transformation maps back from the reduced space:

f^{-1}(\vect{z}) = \overline{\vect{X}} + (\Tr{\hat{\vect{\alpha}}})^{+} \vect{z}

where (\Tr{\hat{\vect{\alpha}}})^{+} denotes the Moore-Penrose pseudo-inverse of \Tr{\hat{\vect{\alpha}}}.

Methods

getClassName()

Accessor to the object's name.

getDirections()

Directions accessor.

getEigenvalues()

Eigen values accessor.

getName()

Accessor to the object's name.

getTransformation()

Transformation function accessor.

hasName()

Test if the object is named.

setName(name)

Accessor to the object's name.

References

Li, K. C. (1991). Sliced inverse regression for dimension reduction. Journal of the American Statistical Association, 86(414), 316-327.

__init__(*args)
getClassName()

Accessor to the object’s name.

Returns:
class_namestr

The object class name (object.__class__.__name__).

getDirections()

Directions accessor.

Returns:
directionsMatrix

Directions matrix

getEigenvalues()

Eigen values accessor.

Returns:
eigenvaluesPoint

Eigen values

getName()

Accessor to the object’s name.

Returns:
namestr

The name of the object.

getTransformation()

Transformation function accessor.

Returns:
transformationFunction

Transformation function

hasName()

Test if the object is named.

Returns:
hasNamebool

True if the name is not empty.

setName(name)

Accessor to the object’s name.

Parameters:
namestr

The name of the object.

Examples using the class

Sliced inverse regression

Sliced inverse regression