我正在尝试定义一个变量Ytest,它包含我的excel表中的10个列条目或标签条目。X_train.shapeX_test.shape
y_test=array[1163:2300,10] ----> 2 y_test=array[1163:2300,10] 3 y_test.shape IndexError: index 10 is out of bounds for axis 1with size 10
但是每次我想要的时候,例如,我设置了10步的数量,我得到一个错误:File "/home/universe/Desktop/Python/Heat_1.py", line 33, in <module>IndexError: index 10 is out of bounds for axis 0 withsize 10"
下面是我的代
keras/utils/np_utils.py", line 31, in to_categoricalIndexError: index 10is out of bounds for axis 1 with size 10我曾探讨过其他类似的问题[100:120]=5labels[140:160]=7
labels[160:
I am facing this Caused by: java.nio.file.InvalidPathException: Trailing char < > at index 10: res/rawa future release
[BT:0.10.2] Error: java.nio.file.InvalidPathException: Trailing char < > at index 10java.lang.RuntimeException: java.nio.file.InvalidPathException
Exception in thread "main" java.lang.IllegalArgumentException: Expected scheme-specific part at index 10cucumber.api.cli.Main.main(Main.java:8)
Caused by: java.net.URISyntaxException: Expected scheme-specific part at index 10