Multidimensional array for linear regression

前端 未结 0 640
陌清茗
陌清茗 2021-02-20 03:44

I\'m new at this. I want to use one hot encoding and other data for linear regression

x = [[2, 3, [0, 0, 1], 5]]
y = [2]

model = LinearRegression().fit(x, y)


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