Python 为什么我们需要在get dummy函数中删除第一个参数
我有一个关于get dummy函数的问题。为什么我们需要在获取dummy时先删除_=true或Python 为什么我们需要在get dummy函数中删除第一个参数,python,data-science,logistic-regression,dummy-variable,Python,Data Science,Logistic Regression,Dummy Variable,我有一个关于get dummy函数的问题。为什么我们需要在获取dummy时先删除_=true或false。使用此参数的目的是什么 我在逻辑回归中接受警告。这是“直线搜索算法未收敛”。此警告与drop\u first=false参数之间是否存在关系 警告完全在下面 C:\Users\aslii\lib\site-packages\scipy\optimize\linesearch.py:313: LineSearchWarning: The line search algorithm did no
false
。使用此参数的目的是什么
我在逻辑回归中接受警告。这是“直线搜索算法未收敛”。此警告与drop\u first=false
参数之间是否存在关系
警告完全在下面
C:\Users\aslii\lib\site-packages\scipy\optimize\linesearch.py:313: LineSearchWarning: The line search algorithm did not converge
warn('The line search algorithm did not converge', LineSearchWarning)
C:\Users\aslii\lib\site-packages\sklearn\utils\optimize.py:195: UserWarning: Line Search failed
warnings.warn('Line Search failed')
C:\Users\aslii\lib\site-packages\scipy\optimize\linesearch.py:313: LineSearchWarning: The line search algorithm did not converge
warn('The line search algorithm did not converge', LineSearchWarning)
C:\Users\aslii\lib\site-packages\sklearn\utils\optimize.py:195: UserWarning: Line Search failed
warnings.warn('Line Search failed')
提前谢谢