Мелкие правки
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user