Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 909 Bytes

metrics.rst

File metadata and controls

39 lines (26 loc) · 909 Bytes

Metrics

Pypianoroll provides several objective metrics proposed in the literature. These objective metrics could be used to evaluate a music generation system by comparing the statistical difference between the training data and the generated samples.

Functions

pypianoroll.empty_beat_rate

pypianoroll.n_pitches_used

pypianoroll.n_pitch_classes_used

pypianoroll.pitch_range_tuple

pypianoroll.pitch_range

pypianoroll.qualified_note_rate

pypianoroll.polyphonic_rate

pypianoroll.drum_in_pattern_rate

pypianoroll.in_scale_rate

pypianoroll.tonal_distance