microsoft / microsoft/FLAML

Make predict() return "Undetected" in the classification estimator if confidence is below threshold

Open
#355 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Jupyter Notebook
Stars
4.4k
Forks
565
Avg merge
5d 8m
Merged PRs (30d)
17

Description

**Use case: flower recognition**
_Input:_ flower photo
_Output:_ flower name

Right now if you input a flower that is not among the classes, predict() will return the one closest to it which is wrong. The right would be telling the user that it was not recognized. One way to do it is making the estimator produce a confidence float [0-1]. Then make predict() accept a confidence threshold along with the data, which if not surpassed returns "Unrecognized".

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.