UpdateKnowledgeBaseCC
Updates the CC Knowledge Base.
Member of namespace
CCSyntax
bool UpdateKnowledgeBaseCC()
Parameters
None.Returns
True if the IBM® Content Classification Knowledge Base is successfully updated. Otherwise, False.Level
Page level.Details
Provides classification feedback to the IBM Content Classification server.Although training via feedback is not recommended to build the knowledge base, it is recommended that it is used to submit feedback on classification data returned on a "trained" category. For instance, let us use a knowledge base that contains 5 categories, 4 of which have been trained. When ClassifyCC runs, it will either return a match or no match. When a match is found, it is recommended to provide feedback (using UpdateKnowledgeBaseCC) to the knowledge base to assert that the classification was correct.
When there is no match (no category returned) or there is a mismatch (wrong category returned), the recommended process is to export a copy of the document to a folder and train the knowledge base with these new documents via the IBM Content Classification Workbench. After the new documents have been added, the knowledge based should be exported, and documents processed in Datacap to provide feedback. The training should be done in a non Production system, then moved to Production after testing.
Although it is recommended that this procedure is used to submit feedback on trained categories, it should be done for a period of time, and not indefinitely, since this can cause the knowledge base to grow very large.
In conclusion, this action should be used only for documents where the classification result was correct, and should only be used during a period of time until the training on the knowledge base is complete.
- Example
// Mandatory settings SetListenerURLCC("http://localhost:18087") SetKnowledgeBaseCC("Mortgage") ClassifyCC() // Update the knowledge base UpdateKnowledgeBaseCC()