Skip to content

Latest commit

 

History

History
54 lines (28 loc) · 2.83 KB

README.md

File metadata and controls

54 lines (28 loc) · 2.83 KB

Generating color-coded scatterplot / cross-correlation matrices in matplotlib

java 8 and prio java 8  array review example

scatterplot_matrix.py

This script generates scatterplot matrices for an arbitrary number of data columns, given as a pandas dataframe. The user can choose which columns are used for color-coding the scatterplots, separately for the upper and lower triangle of the matrix. Moreover, the user can chose a data transformation (Percentiles, standardization, column-wise (0,1) scaling)

Exemplary results using the Boston House Prices Dataset (https://scikit-learn.org/stable/datasets/index.html#boston-dataset)

use_ranks=True:

java 8 and prio java 8  array review example

transform_to_01=True:

java 8 and prio java 8  array review example

standardize=True:

java 8 and prio java 8  array review example

no transformation:

java 8 and prio java 8  array review example

scatterplot_crosscorr_matrix.py

This script generates combined scatterplot-crosscorrelation matrices for an arbitrary number of data columns, given as a pandas dataframe. The user can choose which columns are used for color-coding the scatterplots, in the upper triangle of the matrix, the lower triangle contains the crosscorrelation matrix using Pearson's correlation coefficient. Moreover, the user can chose a data transformation (Percentiles, standardization, column-wise (0,1) scaling) for the scatterplots.

Exemplary results using the Boston House Prices Dataset (https://scikit-learn.org/stable/datasets/index.html#boston-dataset)

use_ranks=True:

java 8 and prio java 8  array review example

transform_to_01=True:

java 8 and prio java 8  array review example

standardize=True:

java 8 and prio java 8  array review example

no transformation:

java 8 and prio java 8  array review example