皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【单选题】
下面的一段python程序的目的是利用皮尔逊相关系数进行iris数据集特征选择import numpy as npfrom scipy.stats import pearsonrfrom sklearn import datasetsiris = datasets.load_iris()print ("Pearson's correlation coefficient between column #1 and target column", pearsonr(iris.data[:,0], iris.target ))print ("Pearson's correlation coefficient between column #2 and target column", pearsonr(iris.data[:,1], iris.target ))print ("Pearson's correlation coefficient between column #3 and target column", pearsonr(iris.data[:,2], iris.target ))print ("Pearson's correlation coefficient between column #4 and target column", pearsonr(iris.data[:,3], iris.target ))其输出结果为:("Pearson's correlation coefficient between column #1 and target column", (0.7825612318100814, 2.890478352614054e-32))("Pearson's correlation coefficient between column #2 and target column", (-0.4194462002600275, 9.159984972550002e-08))("Pearson's correlation coefficient between column #3 and target column", (0.9490425448523336, 4.1554775794971695e-76))("Pearson's correlation coefficient between column #4 and target column", (0.9564638238016173, 4.775002368756619e-81))则如果去掉一个特征,应该选择哪一个特征去掉?
A.
#1
B.
#2
C.
#3
D.
#4
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】5 I was __________ (unfortunately) to get the grades to go to a good college.
【判断题】按照修理分工明细表规定,机舱应急设备的检修负责人员是值班机工。A. 对 B. 错
A.
正确
B.
错误
【判断题】水蒸气冷凝为液态水,此过程的ΔH>0,ΔS<0。
A.
正确
B.
错误
【多选题】( )不属承包人风险。
A.
异常恶劣天气
B.
一般天气问题
C.
非承包人承担的设计文件缺陷
D.
承包人工人罢工
E.
发包人提供的工程设备
【判断题】在半径为 1mm 的圆内淬成马氏体也是可以做到的。
A.
正确
B.
错误
【多选题】(       ) 不属承包人风险。 ( ABCDE )
A.
异常恶劣天气
B.
一般天气问题
C.
非承包人承担的设计文件缺陷
D.
承包人工人罢工
E.
发包人提供的工程设备
【单选题】按照检修分工明细表规定,机舱应急设备的检修负责人是()
A.
轮机长
B.
大管轮
C.
主管轮机员
D.
值班机工
【判断题】主体兼性指的是主体之间存在的一种共性。( )
A.
正确
B.
错误
【简答题】主体兼性指的是主体之间存在的一种共性。()
【简答题】I was_____(unfortuantely)enough to get the grades to go to a good college.
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题