python-2.7 - RASA 没有识别出正确的 Intent

标签 python-2.7 svm rasa-nlu

使用的后端/管道:Spacy & Sklearn

操作系统:Windows 8

问题:RASA 未识别正确的 Intent

例子: 我创建了一个 Intent 名称 “GenericGreetingGM” 并使用诸如(早安、Gud mrng、gud morning、very good morning 等)之类的话语进行训练。但是对于像 (gud morning) 这样的少数话语来说,进入 GenericSmallTalkFamily 并且我们在这个意图中没有任何与“morning”或“gud”匹配的词。


和几个人交流后,他们建议我去RASA evaluation查询(意图混淆矩阵)和下面是我从图像中观察到的。

Intent_Confusion Matrix

  • Total Utterances: 28

  • Correct Utterances: 8

  • Rest of the utterances are going to wrong Intent as I mentioned you in an example.


以下是我的问题。

<强>1。 RASA 如何运作?

<强>2。 RASA如何分析文本并给出Intent。

<强>3。我如何使用RASA评估/上图进行分析


有关此问题的任何帮助,主要涉及使用 RASA 评估。

提前致谢

最佳答案

我写了一个由 4 部分组成的系列文章,揭开了 RasaNLU 内部的神秘面纱。希望对您有所帮助。

https://medium.com/series/nlp-behind-chatbots-demystifying-rasanlu-318a8adb39ed

关于问题,GenericGreetingGM可能是因为每个bin下的训练样本数量不同。这可能最终会使结果偏向训练有素的意图。

关于python-2.7 - RASA 没有识别出正确的 Intent,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48681719/

相关文章:

rasa-nlu - 'rasa' 不是内部或外部命令,也不是可运行的程序或批处理文件

python - 如果其中一个是字符串,如何对两个十六进制值进行异或?

OpenCV + HOG +SVM : help needed with SVM single feature vector

python - 确定Python行开头的实际文件位置

numpy - 查询SVM参数设置

performance - MATLAB 中的直方图交集核优化

chatbot - 从一个完整的句子自动生成意图和实体

rasa-nlu - Rasa NLU 背后的算法是什么?

python - jupyter Notebook 上 matplotlib 绘图中的缩放和平移选项

python - 获取文本小部件的长度