weka.core.Utils.correlation()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(1.8k)|赞(0)|评价(0)|浏览(120)

本文整理了Java中weka.core.Utils.correlation()方法的一些代码示例,展示了Utils.correlation()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Utils.correlation()方法的具体详情如下:
包路径:weka.core.Utils
类名称:Utils
方法名:correlation

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());

相关文章