Scénario de test & Cas d'usage
Erstellung einer Tabelle mit Klassifizierungsregeln für den Kundensupport.
| 1 | DATA mycas.support_rules; LENGTH rule_id $ 30 config $ 200; INFILE DATALINES delimiter='|'; INPUT rule_id $ config $; DATALINES; BILLING_ISSUE|CLASSIFIER:Rechnung |
| 2 | BILLING_ISSUE|CLASSIFIER:Gebühr |
| 3 | TECH_SUPPORT|CONCEPT_RULE:(OR, "Internet", "Router", "Verbindung") |
| 4 | CANCELLATION|CLASSIFIER:Kündigung |
| 5 | ; RUN; |
| 1 | |
| 2 | PROC CAS; |
| 3 | textRuleDevelop.compileCategory / TABLE={name='support_rules'} casOut={name='support_model_mco', replace=true} ruleId='rule_id' config='config'; |
| 4 | |
| 5 | RUN; |
| 6 |
| 1 | |
| 2 | PROC CAS; |
| 3 | TABLE.tableExists RESULT=r / name='support_model_mco'; |
| 4 | PRINT r; |
| 5 | |
| 6 | RUN; |
| 7 |
Die Aktion wird erfolgreich ausgeführt und erzeugt die Tabelle 'mycas.support_model_mco'. Das Log bestätigt die Erstellung des binären Modells, das nun bereit ist, auf neue Textdaten angewendet zu werden.