Dela via


IsInput (clsColumn)

Note

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

The IsInput property of an object of ClassType clsColumn indicates whether the column can accept input values when carrying out predictions.

Data Type

Boolean

Access

Read/write

Remarks

A column can have both the IsInput and the IsPredictable properties set to True.

Note

  All columns are considered as input columns when training a mining model unless they are disabled. It is only when predictions are carried out against a mining model that the notions of IsInput or IsPredictable have any meaning.

The value of the IsInput property can be related to other properties of the object, as well as properties of the parent object. Changing the property can also affect the properties of related objects, including parent objects.

For columns with a SubClassType of sbclsRegular, if the column is related to a column that is not a key column, the value of this property is equal to the value of the IsInput property of the related column. If the parent of the column is a clsColumn object (that is, the column is a child of a nested column) and the IsKey property is True, the value of this property is equal to the value of the IsInput property of the parent column. If the parent of the column is a clsMiningModel object and the IsKey property is True, the value of this property is False. If the IsParentKey property of this column is True, this property is False.

Changing the IsInput property to True for a column (other than a key column) whose parent is a clsColumn object (that is, the column is a child of a nested column) changes the IsInput property of the parent column to True.

For columns with a SubClassType of sbclsNested, changing the IsInput property to False changes the IsInput property for all child columns whose IsKey, IsParentKey, and IsRelated properties are all False.