Azure pii最小推杆过滤器
我试图通过最低精度过滤结果,以排除使用Python和Azures PII认知服务过于置信度太低的PII名称(.5)。
response=client.recognize_pii_entities(documents,language="en",categories_filter=['Person'], minimumPrecision=[.8])
关键字参数
request()
获得了“ MINIMUMPRECISION”
categories_filter
与piicategories
不同的 Azure文档说要使用,这是功能参数,因此我想知道最小值
是否也应该是不同的,但我在文档中找不到它。
I am trying to filter results by minimum precision to exclude any PII names that are too low in confidence (.5) using python and Azures PII cognitive service.
response=client.recognize_pii_entities(documents,language="en",categories_filter=['Person'], minimumPrecision=[.8])
the request()
gets an unexpected key word argument for "minimumPrecision"
categories_filter
was different from the piiCategories
that the azure documentation says to use and that is the functional parameter so I am wondering if minimumPrecision
is also actually supposed to be different, but I cannot find it in the docs.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
客户端库不支持
Minimum Precision
参数。 REST API也不是。您可以共享显示此参数使用的Azure文档吗?对于相同的效果,您应该能够在
profors_score
上过滤实体结果:The client library does not support a
minimumPrecision
parameter. The REST API does not either. Can you share the Azure documentation which shows usage of this parameter?You should be able to filter the entity results on the
confidence_score
for the same effect: