@Test public void testPearsonMatrix() { logger.info("pearsonMatrix"); Configuration configuration = getConfiguration(); Dataframe dataset = generateDataset(configuration); DataTable2D expResult = new DataTable2D(); expResult.put2d(0, 0, 1.0); expResult.put2d(0, 1, 0.18561229707779); expResult.put2d(0, 2, -0.63202219485911); expResult.put2d(0, 3, -0.58026680188263); expResult.put2d(1, 0, 0.18561229707779); expResult.put2d(1, 1, 1.0); expResult.put2d(1, 2, -0.14621516381791); expResult.put2d(1, 3, -0.11858644989229); expResult.put2d(2, 0, -0.63202219485911); expResult.put2d(2, 1, -0.14621516381791); expResult.put2d(2, 2, 1.0); expResult.put2d(2, 3, 0.85285436162523); expResult.put2d(3, 0, -0.58026680188263); expResult.put2d(3, 1, -0.11858644989229); expResult.put2d(3, 2, 0.85285436162523); expResult.put2d(3, 3, 1.0); DataTable2D result = Bivariate.pearsonMatrix(dataset); TestUtils.assertDoubleDataTable2D(expResult, result); dataset.close(); }
public static DataTable2D pearsonMatrix(Dataframe dataSet) { return bivariateMatrix(dataSet, Bivariate.BivariateType.PEARSONCORRELATION); }
Bivariate { public static DataTable2D pearsonMatrix(Dataframe dataSet) { return bivariateMatrix(dataSet, Bivariate.BivariateType.PEARSONCORRELATION); } }
Bivariate { public static DataTable2D pearsonMatrix(Dataframe dataSet) { return bivariateMatrix(dataSet, Bivariate.BivariateType.PEARSONCORRELATION); }  }
Bivariate { public static DataTable2D pearsonMatrix(Dataframe dataSet) { return bivariateMatrix(dataSet, Bivariate.BivariateType.PEARSONCORRELATION); }  static DataTable2D covarianceMatrix(Dataframe dataSet); static DataTable2D pearsonMatrix(Dataframe dataSet); static DataTable2D spearmanMatrix(Dataframe dataSet); static DataTable2D kendalltauMatrix(Dataframe dataSet); }
Bivariate { public static DataTable2D pearsonMatrix(Dataframe dataSet) { return bivariateMatrix(dataSet, Bivariate.BivariateType.PEARSONCORRELATION); }  static DataTable2D covarianceMatrix(Dataframe dataSet); static DataTable2D pearsonMatrix(Dataframe dataSet); static DataTable2D spearmanMatrix(Dataframe dataSet); static DataTable2D kendalltauMatrix(Dataframe dataSet);  }