botfront icon indicating copy to clipboard operation
botfront copied to clipboard

Intent Miss-classification with number intent

Open engahmed1190 opened this issue 3 years ago • 2 comments

Describe the bug I am having a problem with the new NLU pipeline,

image

Numbers are misclassified when tested alone. previously it was working fine.

Old NLU Pipeline

pipeline:
  - name: WhitespaceTokenizer
  - name: CountVectorsFeaturizer
  - name: EmbeddingIntentClassifier
  - BILOU_flag: true
    name: CRFEntityExtractor
    features:
      - [low, title, upper]
      - [low, bias, prefix5, prefix2, suffix5, suffix3, suffix2, upper, title, digit, pattern]
      - [low, title, upper]
  - name: rasa_addons.nlu.components.gazette.Gazette
  - name: EntitySynonymMapper

Please help me to address this issue. Thanks in advance

engahmed1190 avatar Aug 21 '20 19:08 engahmed1190

What is the expected/previous behavior? If digits only appear under that one intent it's very likely the trained model will do this.

pheel avatar Aug 25 '20 12:08 pheel

Previously it was classified as none which is correct but Currently it is mapped to the intent that contains number. How may I address this, any workarounds

engahmed1190 avatar Aug 25 '20 14:08 engahmed1190