• 2021-04-14 问题

    智慧职教: 4、对3x2矩阵X与矩阵Y中的数据进行如下的代码运算 Dx = pdist(X); Dy = pdist(Y); Zx = squareform(Dx); Zy = squareform(Zx); 以下表述正确的是(    )

    智慧职教: 4、对3x2矩阵X与矩阵Y中的数据进行如下的代码运算 Dx = pdist(X); Dy = pdist(Y); Zx = squareform(Dx); Zy = squareform(Zx); 以下表述正确的是(    )

  • 2022-06-04 问题

    对3x2矩阵X与矩阵Y中的数据进行如下的代码运算Dx = pdist(X);Dy = pdist(Y);Zx = squareform(Dx);Zy = squareform(Zx);以下表述正确的是 A: Zx和Zy都是对称矩阵 B: Zx是对称矩阵,Zy不是对称矩阵 C: Zy是对称矩阵,Zx不是对称矩阵 D: Zx和Zx都不是对称矩阵

    对3x2矩阵X与矩阵Y中的数据进行如下的代码运算Dx = pdist(X);Dy = pdist(Y);Zx = squareform(Dx);Zy = squareform(Zx);以下表述正确的是 A: Zx和Zy都是对称矩阵 B: Zx是对称矩阵,Zy不是对称矩阵 C: Zy是对称矩阵,Zx不是对称矩阵 D: Zx和Zx都不是对称矩阵

  • 2021-04-14 问题

    智慧职教: 4、对3x2矩阵X使用D = pdist(X)计算的样本间的欧式距离D = [0.2954,1.0670,0.9448],则Z = squareform(D),得到的Z是( )

    智慧职教: 4、对3x2矩阵X使用D = pdist(X)计算的样本间的欧式距离D = [0.2954,1.0670,0.9448],则Z = squareform(D),得到的Z是( )

  • 2021-04-14 问题

    智慧职教: 10、分析代码以下代码 clear;clc; a=[107.5901247, 26.4991466;  107.5894212, 26.49878615]; y=pdist(a,'cityblock'); yc=squareform(y); z=linkage(y); [h,t]=dendrogram(z,10); T=cluster(z,'maxclust',10); for i=1:10 tm=find(T==i); tm=reshape(tm,1,length(tm)); fprintf('第%d类的有%s ',i,int2str(tm)); End figure; plot(T); T 其中分析的数据矩阵a中有( )个样本

    智慧职教: 10、分析代码以下代码 clear;clc; a=[107.5901247, 26.4991466;  107.5894212, 26.49878615]; y=pdist(a,'cityblock'); yc=squareform(y); z=linkage(y); [h,t]=dendrogram(z,10); T=cluster(z,'maxclust',10); for i=1:10 tm=find(T==i); tm=reshape(tm,1,length(tm)); fprintf('第%d类的有%s ',i,int2str(tm)); End figure; plot(T); T 其中分析的数据矩阵a中有( )个样本

  • 2021-04-14 问题

    智慧职教: 10、分析代码以下代码 clear;clc; a=[107.5901247, 26.4991466;  107.5894212, 26.49878615]; y=pdist(a,'cityblock'); yc=squareform(y); z=linkage(y); [h,t]=dendrogram(z,10); T=cluster(z,'maxclust',10); %第7行 for i=1:10 tm=find(T==i); tm=reshape(tm,1,length(tm)); fprintf('第%d类的有%s ',i,int2str(tm)); End figure; plot(T); T 其中第7行的函数cluster第三个参数‘10’代表( )

    智慧职教: 10、分析代码以下代码 clear;clc; a=[107.5901247, 26.4991466;  107.5894212, 26.49878615]; y=pdist(a,'cityblock'); yc=squareform(y); z=linkage(y); [h,t]=dendrogram(z,10); T=cluster(z,'maxclust',10); %第7行 for i=1:10 tm=find(T==i); tm=reshape(tm,1,length(tm)); fprintf('第%d类的有%s ',i,int2str(tm)); End figure; plot(T); T 其中第7行的函数cluster第三个参数‘10’代表( )

  • 2021-04-14 问题

    智慧职教: 10、分析代码以下代码 clear;clc; a=[107.5901247, 26.4991466;  107.5894212, 26.49878615]; y=pdist(a,'cityblock'); yc=squareform(y); z=linkage(y); [h,t]=dendrogram(z,10); %第6行 T=cluster(z,'maxclust',10); for i=1:10 tm=find(T==i); tm=reshape(tm,1,length(tm)); fprintf('第%d类的有%s ',i,int2str(tm)); End figure; plot(T); T 其中第6行的函数dendrogram第二个参数‘10’代表( )

    智慧职教: 10、分析代码以下代码 clear;clc; a=[107.5901247, 26.4991466;  107.5894212, 26.49878615]; y=pdist(a,'cityblock'); yc=squareform(y); z=linkage(y); [h,t]=dendrogram(z,10); %第6行 T=cluster(z,'maxclust',10); for i=1:10 tm=find(T==i); tm=reshape(tm,1,length(tm)); fprintf('第%d类的有%s ',i,int2str(tm)); End figure; plot(T); T 其中第6行的函数dendrogram第二个参数‘10’代表( )

  • 2021-04-14 问题

    智慧职教: 10、设某地区有八个观测点的数据X,用最短距离法聚类分析。 %最短距离法系统聚类分析 X = [7.90 39.77 8.49 12.94 19.27 11.05 2.04 13.29;  7.68 50.37 11.35 13.3 19.25 14.59 2.75 14.87;  9.42 27.93 8.20 8.14 16.17 9.42 1.55 9.76;  9.16 27.98 9.01 9.32 15.99 9.10 1.82 11.35;  10.06 28.64 10.52 10.05 16.18 8.39 1.96 10.81]; BX = zscore(X); % 标准化数据矩阵 Y =                      ; % 用欧氏距离计算距离 D=squareform(Y); % 欧氏距离矩阵 Z =                                     ; % 最短距离法 T = cluster(Z,3); %将所有项目分为三类 [H,T] = dendrogram(Z); % 画聚类图 对以上程序空缺处依次(以逗号分隔)应填入的是(   )

    智慧职教: 10、设某地区有八个观测点的数据X,用最短距离法聚类分析。 %最短距离法系统聚类分析 X = [7.90 39.77 8.49 12.94 19.27 11.05 2.04 13.29;  7.68 50.37 11.35 13.3 19.25 14.59 2.75 14.87;  9.42 27.93 8.20 8.14 16.17 9.42 1.55 9.76;  9.16 27.98 9.01 9.32 15.99 9.10 1.82 11.35;  10.06 28.64 10.52 10.05 16.18 8.39 1.96 10.81]; BX = zscore(X); % 标准化数据矩阵 Y =                      ; % 用欧氏距离计算距离 D=squareform(Y); % 欧氏距离矩阵 Z =                                     ; % 最短距离法 T = cluster(Z,3); %将所有项目分为三类 [H,T] = dendrogram(Z); % 画聚类图 对以上程序空缺处依次(以逗号分隔)应填入的是(   )

  • 1