The train arrives at the North Pole at five to the midnight.()
第1题:
importjava.awt.*;publicclassXextendsFrame{publicstaticvoidmain(Stringargs){Xx=newX();x.pack();x.setVisible(true);}publicX(){setLayout(newBordrLayout());Panelp=newPanel();add(p,BorderLayout.NORTH);Buttonb=newButton(North”);p.add(b):Buttonb=newButton(South”);add(b1,BorderLayout.SOUTH):}}Whichtwostatementsaretrue?()
A.Thebuttonslabeled“North”and“South”willhavethesamewidth.
B.Thebuttonslabeled“North”and“South”willhavethesameheight.
C.Theheightofthebuttonlabeled“North”canveryiftheFrameisresized.
D.Theheightofthebuttonlabeled“South”canveryiftheFrameisresized.
E.Thewidthofthebuttonlabeled“North”isconstanteveniftheFrameisresized.
F.Thewidthofthebuttonlabeled“South”isconstanteveniftheFrameisresized.
第2题:
13.
A. four’thirty
B. five
C. five’fifteen
D. five’thirty
第3题:
下列哪些语句会开始模型的训练:
A.LinearRegression().fit(x_train,y_train)
B.lr_mod.predict(x_train)
C.lasso_mod.fit(x_train,y_train)
D.vote_mod.predict(x_train)
第4题:

A.Direction d = NORTH;
B.Nav.Direction d = NORTH;
C.Direction d = Direction.NORTH;
D.Nav.Direction d = Nav.Direction.NORTH;
第5题:
在MINST数据集中,访问训练集train_x的第4个样本,可以通过_______语句实现。
A.train_x[4]
B.train_x[3]
C.train_x[0:3]
D.train_x[:4]
第6题:
5、对手写数字数据集MNIST中的train_x训练集(60000,28,28)进行切片,下面对切片结果描述错误的是_______。 import tensorflow as tf import numpy as np mnist = tf.keras.datasets.mnist (train_x, train_y), (test_x, test_y) = mnist.load_data()
A.train_x[0, :, :]:第1张图片
B.train_x[0:10, :, :]:前10张图片
C.train_x[:, 0:28:2, :]:对所有图片隔行采样
D.train_x[0:28:2, :, :]:对所有图片隔列采样