You are here: Symbol Reference > DBClassifier Namespace > Classes > TDBClassifier Class > TDBClassifier Methods > TDBClassifier.InitializeAttributes Method
Data Miner
TDBClassifier.InitializeAttributes Method

Uses the field definitions of the dataset and fields defined with Attributes property to set the AttributeKind and AttributeIndex properties.

procedure InitializeAttributes;

This information is used to set the attribute count of the classifier connected to the Classifier property. The method uses the dataset only, if AttributeKind of any of the attributes is akAuto. In this case, the AttributeKind will be determined with the help of the DataType property. AttributeKind will be changed from akAuto to akDiscrete or akFloat or akDiscreteIndexed on the first call to this method.

Copyright (c) 1999-2017 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!