Classification Model<T>.Contains Method
Returns whether another ClassificationModel<T> is nested
within this instance.
Definition
Namespace: Numerics.NET.DataAnalysis.Models
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
true if nestedModel is nested within this model; otherwise false.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public bool Contains(
ClassificationModel<T> nestedModel
)
Parameters
- nestedModel ClassificationModel<T>
- A ClassificationModel<T> object.
Return Value
Booleantrue if nestedModel is nested within this model; otherwise false.
Remarks
A model is nested within another model if all independent variables used in the nested model are also used in the parent model. If the parent model has an intercept, then the nested model must also have an intercept.