如何使用logistic回归分类器获得LibShortText文本分类预测的概率估计?

2024-09-22 20:33:21 发布

您现在位置:Python中文网/ 问答频道 /正文

LibShortText是一个基于liblinear的短文本分类开放源代码库

我在https://github.com/cjlin1/liblinear上读到:

-b probability_estimates: whether to output probability estimates, 0 or 1 (default 0); currently for logistic regression only

如何使用logistic回归分类器获得LibShortText预测的概率估计


Tags: tohttpsgithubcomoutput源代码分类probability