microsoft/FLAML

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

Open

#355 建立於 2021年12月23日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Jupyter Notebook (560 fork)github user discovery
enhancementhelp wanted

倉庫指標

Star
 (4,364 star)
PR 合併指標
 (PR 指標待抓取)

描述

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".

貢獻者指南