本文整理了Java中weka.core.Utils.correlation()
方法的一些代码示例,展示了Utils.correlation()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Utils.correlation()
方法的具体详情如下:
包路径:weka.core.Utils
类名称:Utils
方法名:correlation
[英]Returns the correlation coefficient of two double vectors.
[中]返回两个双向量的相关系数。
代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable
+ Utils.correlation(doubles, doubles, doubles.length));
System.out.println("Mean: " + Utils.mean(doubles));
System.out.println("Variance: " + Utils.variance(doubles));
代码示例来源:origin: Waikato/weka-trunk
+ Utils.correlation(doubles, doubles, doubles.length));
System.out.println("Mean: " + Utils.mean(doubles));
System.out.println("Variance: " + Utils.variance(doubles));
代码示例来源:origin: nz.ac.waikato.cms.weka/distributedWekaBase
row[j] = Utils.correlation(ii, jj, orig.numInstances());
代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable
m_correlations[i] = Utils.correlation(numAttVals, classVals,
numAttVals.length);
sumForValue = Utils.sum(nomAtts[i][j]);
corr = Utils
.correlation(nomAtts[i][j], classVals, classVals.length);
corr = Utils.correlation(numAttVals, binarizedClasses[j],
numAttVals.length);
if (corr < 0.0) {
corr = Utils.correlation(nomAtts[i][j], binarizedClasses[k],
binarizedClasses[k].length);
代码示例来源:origin: Waikato/weka-trunk
m_correlations[i] = Utils.correlation(numAttVals, classVals,
numAttVals.length);
sumForValue = Utils.sum(nomAtts[i][j]);
corr = Utils
.correlation(nomAtts[i][j], classVals, classVals.length);
corr = Utils.correlation(numAttVals, binarizedClasses[j],
numAttVals.length);
if (corr < 0.0) {
corr = Utils.correlation(nomAtts[i][j], binarizedClasses[k],
binarizedClasses[k].length);
代码示例来源:origin: nz.ac.waikato.cms.weka/distributedWekaBase
row[j] = Utils.correlation(ii, jj, orig.numInstances());
内容来源于网络,如有侵权,请联系作者删除!