Why rasa is returning confidence >=1 for some intent

{
    "text": "cannot get the  chain exception dashboard why is not working",
    "intent": {
        "id": 30371669385363658,
        "name": "Application Issue",
        "confidence": 0.9999995231628418
    },
    "entities": [],
    "intent_ranking": [
        {
            "id": 30371669385363658,
            "name": "Application Issue",
            "confidence": 0.9999995231628418
        },
        {
            "id": -2694942065785109529,
            "name": "Password Reset",
            "confidence": 1.9637764125945978e-7
        },
        {
            "id": 4797673336179520713,
            "name": "Database Password reset",
            "confidence": 1.3359058925743739e-7
        },
        {
            "id": 2451645466502098787,
            "name": "Database Access",
            "confidence": 6.375910288625164e-8
        },
        {
            "id": -8399599202008331841,
            "name": "Eleavated access",
            "confidence": 6.038456490387034e-8
        },
        {
            "id": -7577916076833031332,
            "name": "Responsibility Access",
            "**confidence": 3.237261481103815e-8**
        },
        {
            "id": -3983632163341745676,
            "name": "New User",
            "confidence": 2.335753457316514e-8
        }
    ],
    "response_selector": {
        "all_retrieval_intents": [],
        "default": {
            "response": {
                "id": null,
                "responses": null,
                "response_templates": null,
                "confidence": 0,
                "intent_response_key": null,
                "utter_action": "utter_None",
                "template_name": "utter_None"
            },
            "ranking": []
        }
    }
}

I don’t see a confidence greater than 1 anywhere.

If you’re confused about numbers like this one:

Notice the e in the end. e-7 means “divided by 1000000”, that’s just scientific notation.

1.9637764125945978e-7 = 0.00000019637764125945978

1 Like

Thanks @ChrisRahme, yes my understanding was wrong

1 Like