%iKnow.Classification.IKnowBuilder
deprecated class %iKnow.Classification.IKnowBuilder extends %iKnow.Classification.Builder
Parent class for any iKnow-based %iKnow.Classification.Builder implementations, providing common infrastructure abstracting a few iKnow API calls. IKnowBuilder implementations assume category specs are %iKnow.Filters.Filter instances in their string representation.Property Inventory
Method Inventory
Properties
Methods
Creates (appends) categories for each of the available values of a given metadata field pFieldName in the full domain (thus ignoring TrainingSet).
Note: as category names are case sensitive, it is highly recommended to use a case-sensitive metadata field.
This %PopulateTerms implementation accepts "BM25" and "TFIDF" as acceptable values for pMetric. See also the class reference for this method in %iKnow.Classification.Builder.
Utility method to batch-test the classifier against a test set pTestSet, which can
be supplied as an %iKnow.Filters.Filter object or its serialized form.
Per-record results are returned through pResult:
pResult(n) = $lb([record ID], [actual category], [predicted category])
pAccuracy will contain the raw accuracy (# of records predicted correctly) of the current model. Use %iKnow.Classificaton.Utils for more advanced model testing.
If the current model's category options were added through %AddCategory() without providing an appropriate category filter specification, rather than through a call to %LoadMetadataCategories (which sets MetadataField), supply a metadata field through pCategorySpec where the actual category values to test against can be found.
Inherited Members
Inherited Properties
- ClassificationMethod
- Description
- DocumentVectorLocalWeights
- DocumentVectorNormalization
- MinimumSpread
- MinimumSpreadPercent
Inherited Methods
- %AddCRC()
- %AddCategory()
- %AddCooccurrence()
- %AddEntity()
- %AddTermsFromSQL()
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %CreateClassifierClass()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %ExportDataTable()
- %Extends()
- %GenerateClassifier()
- %GetParameter()
- %GetTerms()
- %IsA()
- %IsModified()
- %LoadFromDefinition()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %RemoveTerm()
- %RemoveTermAtIndex()
- %RemoveTermEntryAtIndex()
- %Reset()
- %SerializeObject()
- %SetModified()
- %ValidateObject()