PTT
Submit
Submit
选择语言
正體中文
简体中文
PTT
Python
[问题] Python reshape问题
楼主:
gecer
(gecer)
2020-01-25 18:31:21
https://www.kaggle.com/halien/simple-image-classifer-with-svm
data_images = digits.images.reshape((n_samples, -1))
请问reshape 里面 "-1" 是什么意思?
作者:
penut85420
(PenutGGorz)
2020-01-25 18:55:00
可以理解成自动判断的意思例如原本a.shape=(2, 3, 4)则a.reshape(3, -1)=(3, 8)
作者:
mike50378
(羊驼)
2020-01-26 13:57:00
那个项会自动填上整除的维度
继续阅读
[问题] PyQT GUI的问题
a9202507
[问题] 请问如何大量下载某网页上的图片
jerryskin
Re: [讨论] TypeError: 'type' object is not....
sandy946727
Re: [问题] 如何精进自己的python的能力
Hsins
[问题] 请问写入CSV的数字精度
jijuan
[问题] 如何精进自己的python的能力
qazwsx99876
[讨论] TypeError: 'type' object is not....
sandy946727
Re: [问题] 样本排列组合的问题
poototo
Re: [问题] integrate (-inf,inf) 实际的积分范围
holycity
[问题] 请教将List拆掉的方法(转置/平坦化)
sharkbay
Links
booklink
Contact Us: admin [ a t ] ucptt.com