在MINST数据集中,访问训练集train_y中的第6个样本的标签值,可以通过_______语句实现。
A: train_x[:,5]
B: train_x[:,6]
C: train_y[5]
D: train_y[6]
A: train_x[:,5]
B: train_x[:,6]
C: train_y[5]
D: train_y[6]
C
举一反三
- 中国大学MOOC: 在MINST数据集中,访问训练集train_y中的第6个样本的标签值,可以通过_______语句实现。
- My fatheroften goesto work_______ . A: with train B: y train C: from train D: to train
- 在波士顿数据集中,访问训练集train_x的第3列元素,可以通过______语句实现。 A: print(train_x[:, 3]) B: print(train_x[:, 2]) C: print(train_x[0:3]) D: print(train_x[:2])
- 已有定义语句:int x=6,y=4,z=5;,执行以下语句后,能正确表示x,y,z值的选项是( )。if(x<;y) z=x;x=y;y=z; A: x=4,y=5,z=6 B: x=6,y=4,z=5 C: x=4,y=5,z=5 D: x=5,y=6,z=4
- 已有定义语句:int x=6,y=4,z=5;,执行以下语句if(x A: x=4,y=5,z=6 B: x=5,y=6,z=4 C: x=4,y=6,z=6 D: x=4,y=5,z=5
内容
- 0
Then (the train comes) A: the train comes B: the train come C: dose the train come D: comes the train
- 1
Which train has now been cancelled? A: The train to Jinan B: The train to Zhengzhou C: The train to Tianjin D: The train to Hangzhou
- 2
执行语句x=5; y=x++;后,x和y的值为( )。 A: 5和5 B: 5和6 C: 6和5 D: 6和6
- 3
What time ……… A: the train leaves? B: leaves the train? C: is the train leaving? D: does the train leave?
- 4
已知x=5,y=6,执行语句z=x if x>y else y 后,z的值是( ) A: 5 B: 6 C: True D: False