From addc173d7567180e0ce7d60a3105a6fb70b14ca2 Mon Sep 17 00:00:00 2001 From: syropiatovvv Date: Fri, 19 Sep 2025 14:45:09 +0300 Subject: [PATCH] =?UTF-8?q?refactor:=20=D0=BC=D0=B5=D0=BB=D0=BA=D0=BE?= =?UTF-8?q?=D0=B5=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D0=B5?= =?UTF-8?q?=20=D0=B2=20=D0=B0=D0=BB=D0=B3=D0=BE=D1=80=D0=B8=D1=82=D0=BC?= =?UTF-8?q?=D0=B5=20suggest=5Fbins=5Fnum?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iis_project/plotting_utils.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/iis_project/plotting_utils.py b/iis_project/plotting_utils.py index c00d264..6f54400 100644 --- a/iis_project/plotting_utils.py +++ b/iis_project/plotting_utils.py @@ -3,7 +3,12 @@ from typing import Optional from scipy.stats import norm -SND_QUARTILE: float = 0.674490 +# XXX: может, заменить вызов scipy.stats.norm на аппроксимацию? + +SND_QUARTILE: float = ( + #0.674490 + norm.ppf(1 - 0.25) +) def suggest_iqr_to_range_to_suggest_bins_num(n: int) -> float: p = 1 / (n + 1)