Python sklearn LogisticsRegression运行警告问题。

运行Python sklearn LogisticsRegression产生两个警告:

    FutureWarning: Default solver will be changed to 'lbfgs' in 0.22. Specify a solver to silence this warning.

            FutureWarning: Default multi_class will be changed to 'auto' in 0.22. Specify the multi_class option to silence this warning.

            想知道具体产生的原因,和去除方式。不要和我说屏蔽掉警告啊。

调用LogisticRegression的时候,你指定下multi_class参数,你没有这个参数就有警告。

文档:https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html