axon_synthesis.validation.statistics

Compute and plot some statistics.

Functions

compute_scores(ref, test, config)

Compute scores of a test population against a reference population.

default_config()

Create the default config used to compute the scores.

get_scores(df1, df2)

Return scores between two data sets.

plot_score_matrix(ref_morphs_dir, ...[, dpi])

Plot score matrix for a test population against a reference population.

relative_score(data1, data2)

Get the score.

axon_synthesis.validation.statistics.compute_scores(ref, test, config)

Compute scores of a test population against a reference population.

Parameters:
  • ref (tuple(str, list)) – the reference data.

  • test (tuple(str, list)) – the test data.

  • config (dict) – the configuration used to compute the scores.

Returns:

The scores and the feature list.

axon_synthesis.validation.statistics.default_config()

Create the default config used to compute the scores.

axon_synthesis.validation.statistics.get_scores(df1, df2)

Return scores between two data sets.

Parameters:
Returns:

The list of feature scores.

axon_synthesis.validation.statistics.plot_score_matrix(ref_morphs_dir, test_morphs_dir, output_path, config, dpi=100)

Plot score matrix for a test population against a reference population.

axon_synthesis.validation.statistics.relative_score(data1, data2)

Get the score.

Parameters:
  • data1 (list) – the first data set.

  • data2 (list) – the second data set.