From 5b31267d059d96de768a09e4c18de04f87ced3ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Batuhan=20Berk=20Ba=C5=9Fo=C4=9Flu?= Date: Sun, 25 May 2025 23:08:38 -0400 Subject: [PATCH] Decreased k parameter for finding a proper recovery value. --- Grade_Calculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Grade_Calculator.py b/Grade_Calculator.py index 6e2347b..ee33302 100644 --- a/Grade_Calculator.py +++ b/Grade_Calculator.py @@ -16,7 +16,7 @@ df = pd.DataFrame(data) # Recovery (%) = R_max / (1 + exp(-k * (Grade - x0))) # Models increasing recovery efficiency with grade using an S-curve R_max = 100 # Maximum theoretical recovery (%) -k = 10 # Steepness of the logistic curve +k = 5 # Steepness of the logistic curve x_0 = 0.8 # Grade at which recovery rate reaches ~50% of R_max df["Recovery (%)"] = (R_max / (1 + np.exp(-k * (df["Weighted Grade (%)"] - x_0)))) / 100