TransformationModel<T> Constructor

Definition

Namespace: Extreme.DataAnalysis.Models
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

TransformationModel<T>(Matrix<Double>)

Constructs a new TransformationModel<T>.
C#
protected TransformationModel(
	Matrix<double> features
)

Parameters

features  Matrix<Double>
A real Matrix<T> whose columns contain the dependent variables for the analysis.

TransformationModel<T>(IDataFrame, String)

Constructs a new TransformationModel<T>.
C#
protected TransformationModel(
	IDataFrame dataFrame,
	string formula
)

Parameters

dataFrame  IDataFrame
A IDataFrame containing the data for the analysis.
formula  String
A formula that specifies the features in the model.

Exceptions

ArgumentNullExceptiondataFrame is null.

-or-

formula is null.

FormatExceptionThe formula is not in the correct format.

TransformationModel<T>(IDataFrame, String[])

Constructs a new TransformationModel<T>.
C#
protected TransformationModel(
	IDataFrame dataFrame,
	string[] featureNames
)

Parameters

dataFrame  IDataFrame
A IDataFrame containing the data for the analysis.
featureNames  String[]
An array containing the names of the dependent variables.

Remarks

featureNames may be null.

Exceptions

ArgumentNullExceptiondataFrame is null.

TransformationModel<T>(IEnumerable<Vector<Double>>, Vector<Double>)

Constructs a new TransformationModel<T>.
C#
protected TransformationModel(
	IEnumerable<Vector<double>> features,
	Vector<double> weights
)

Parameters

features  IEnumerable<Vector<Double>>
A sequence of Vector<T> objects that contain the A vector containing the weight for each observation. May be null. dependent variables.
weights  Vector<Double>
 

Remarks

weights may be null.

See Also