@Test public void testSpearmanMatrix() { logger.info("spearmanMatrix"); Configuration configuration = getConfiguration(); Dataframe dataset = generateDataset(configuration); DataTable2D expResult = new DataTable2D(); expResult.put(0, new AssociativeArray()); expResult.put2d(0, 0, 1.0); expResult.put2d(0, 1, 0.10229198378533); expResult.put2d(0, 2, -0.60665935791938); expResult.put2d(0, 3, -0.56631689758552); expResult.put2d(1, 0, 0.10229198378533); expResult.put2d(1, 1, 1.0); expResult.put2d(1, 2, -0.14688588181833); expResult.put2d(1, 3, -0.087423415709411); expResult.put2d(2, 0, -0.60665935791938); expResult.put2d(2, 1, -0.14688588181833); expResult.put2d(2, 2, 1.0); expResult.put2d(2, 3, 0.8472888999181); expResult.put2d(3, 0, -0.56631689758552); expResult.put2d(3, 1, -0.087423415709411); expResult.put2d(3, 2, 0.8472888999181); expResult.put2d(3, 3, 1.0); DataTable2D result = Bivariate.spearmanMatrix(dataset); TestUtils.assertDoubleDataTable2D(expResult, result); dataset.close(); }
public static DataTable2D spearmanMatrix(Dataframe dataSet) { return bivariateMatrix(dataSet, Bivariate.BivariateType.SPEARMANCORRELATION); }
Bivariate { public static DataTable2D spearmanMatrix(Dataframe dataSet) { return bivariateMatrix(dataSet, Bivariate.BivariateType.SPEARMANCORRELATION); } }
Bivariate { public static DataTable2D spearmanMatrix(Dataframe dataSet) { return bivariateMatrix(dataSet, Bivariate.BivariateType.SPEARMANCORRELATION); }  }
Bivariate { public static DataTable2D spearmanMatrix(Dataframe dataSet) { return bivariateMatrix(dataSet, Bivariate.BivariateType.SPEARMANCORRELATION); }  static DataTable2D covarianceMatrix(Dataframe dataSet); static DataTable2D pearsonMatrix(Dataframe dataSet); static DataTable2D spearmanMatrix(Dataframe dataSet); static DataTable2D kendalltauMatrix(Dataframe dataSet); }
Bivariate { public static DataTable2D spearmanMatrix(Dataframe dataSet) { return bivariateMatrix(dataSet, Bivariate.BivariateType.SPEARMANCORRELATION); }  static DataTable2D covarianceMatrix(Dataframe dataSet); static DataTable2D pearsonMatrix(Dataframe dataSet); static DataTable2D spearmanMatrix(Dataframe dataSet); static DataTable2D kendalltauMatrix(Dataframe dataSet);  }