📌  相关文章
📜  ValueError: Found array with dim 3. Estimator expected <= 2. - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:05.130000             🧑  作者: Mango

代码示例1
nsamples, nx, ny = train_dataset.shape
d2_train_dataset = train_dataset.reshape((nsamples,nx*ny))