12 lines
315 B
Python
12 lines
315 B
Python
from spectralforensics import bar_plot
|
|
|
|
|
|
if __name__ == "__main__":
|
|
bar_plot(
|
|
{"model": ["A", "B", "A", "B"],
|
|
"spectral_entropy": [2.1, 2.5, 2.2, 2.9],
|
|
"anisotropy": [0.1, -0.3, 0.2, 0.4]},
|
|
x="model", y="spectral_entropy",
|
|
title="Spectral analysis — bar plot",
|
|
)
|