Linear regression with OHE

前端 未结 0 851
礼貌的吻别
礼貌的吻别 2021-01-22 12:27

Making a linear regression sample with one pandas single serie, it works like:

lm = LinearRegression()
X = df_pred[\'nivel_ed\']
y = df_pred[\'crimes\']

X = X.va         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题