ClassificationModel<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#
public bool Contains(
	ClassificationModel<T> nestedModel
)

Parameters

nestedModel  ClassificationModel<T>
A ClassificationModel<T> object.

Return Value

Boolean
true 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.

See Also