SPINE for Python

Scale Partitioning by Incremental Nested Entropy. You supply a measure and an orientation; everything after them is computed.

pip install entropy-spine — then read the user guide first — worked scenarios, runnable cell by cell. The pages below are the reference.

Start here

spinespine: apply SPINE to raw data in one call.
spine_summarysay in words what a partition found.
spine_comparerun the same data under several measures and see

Choosing a measure

spine_measureturn data into a nonnegative measure.

Looking at it

spine_data_plotDraw the data in the space it lives in, coloured by score.
spine_plotShow where a partition came from: the measure, and the profile.
spine_network_plotDraw a network with its nodes coloured by score.
spine_score_mapSequential colormap for SPINE scores, as an (n, 3) RGB array.

Provenance

spine_versionreport which copy of entropy-spine is running, and

Also

Choosing a measure is the piece to read before applying SPINE to your own problem.


Generated by python/doc/build_docs.py. Every example on these pages was executed during the build.