Sklearn Fit功能作为Modell列表:
我想构建一个分类模型,我想在其中输入列表的功能。可以输入列表的功能吗?
z。 B. x = [[0:300],[0:300],[0:300],[0:300]
i具有38个功能,每个功能都包含一个具有300个值的列表。
I want to build a classification model where I want to enter the features as lists. Is it possible to enter the features as lists?
z. B. X=[[0:300], [0:300], [0:300], [0:300]]
I have 38 features and every single feature consists of a list with 300 values.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的。
但是它们会以一个数组的形式结束(也许在数据框中)
到时间
.fit()
看到它们,Zum Beispiel:
或等效
np.Array([list(range(3)),list(range(3))])
。Yes.
But they will wind up as an array (perhaps within a dataframe)
by the time
.fit()
sees them,zum Beispiel:
or the equivalent
np.array([list(range(3)), list(range(3))])
.