Мелкие правки

This commit is contained in:
2026-04-06 09:55:02 +03:00
parent 082fcf8f34
commit a6ef6135b9
4 changed files with 27 additions and 39 deletions

View File

@@ -89,20 +89,6 @@ def plot_wer_der_scatter(all_configs: list[dict], img_dir: Path):
label=f'Лучшая ({best["wer"]:.1f}%, {best["der"]:.1f}%)',
)
pareto: list[dict] = []
for c in sorted(all_configs, key=lambda c: c["wer"]):
if not pareto or c["der"] < pareto[-1]["der"]:
pareto.append(c)
if len(pareto) > 1:
ax.plot(
[c["wer"] for c in pareto],
[c["der"] for c in pareto],
"k--",
alpha=0.5,
linewidth=1.2,
label="Парето-фронт",
)
ax.set_xlabel("WER, %", fontsize=12)
ax.set_ylabel("DER, %", fontsize=12)
ax.legend(fontsize=11)