scikit-learn LogisticRegressionCV 的 p 值?

p-values of scikit-learn LogisticRegressionCV?

我在 R 中使用 scikit-learn 的 LogisticRegressionCV. Looks like the coefs_ field are the logistic regression coefficients. Is there any way to get p-values, z-values, or some measure of uncertainty for each feature? (For example, as discussed here。)

不幸的是,scikit-learn 没有任何这样的逻辑回归方法(事实上也没有线性回归)。我发现您可能会感兴趣,但老实说,如果可以的话,我会尽量坚持使用 R 来完成此类任务。

https://datascience.stackexchange.com/questions/15398/how-to-get-p-value-and-confident-interval-in-logisticregression-with-sklearn