Applies the transformation to a set of observations.
Namespace:
Extreme.DataAnalysis.Models
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Matrix<double> Transform(
this ITransformationModel model,
Matrix<double> features,
ModelInputFormat format = ModelInputFormat.Automatic
)
<ExtensionAttribute>
Public Shared Function Transform (
model As ITransformationModel,
features As Matrix(Of Double),
Optional format As ModelInputFormat = ModelInputFormat.Automatic
) As Matrix(Of Double)
public:
[ExtensionAttribute]
static Matrix<double>^ Transform(
ITransformationModel^ model,
Matrix<double>^ features,
ModelInputFormat format = ModelInputFormat::Automatic
)
[<ExtensionAttribute>]
static member Transform :
model : ITransformationModel *
features : Matrix<float> *
?format : ModelInputFormat
(* Defaults:
let _format = defaultArg format ModelInputFormat.Automatic
*)
-> Matrix<float>
Parameters
- model
- Type: Extreme.DataAnalysis.ModelsITransformationModel
The model that specifies the transformation. - features
- Type: Extreme.MathematicsMatrixDouble
A matrix that contains
the input values to transform. - format (Optional)
- Type: Extreme.DataAnalysis.ModelsModelInputFormat
A ModelInputFormat value
that specifies how the elements in features
relate to the variables in the model.
Return Value
Type:
MatrixDoubleA matrix that contains the transformed values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ITransformationModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Reference