Replies: 3 comments 3 replies
-
PR #81 was merged more than 8 years ago. Are you talking about a comment that was both a) made on a closed PR many months after it was merged and b) made more than 7 years ago? If so, then I would say that implementing You can certainly bring up the idea of adding some more fit statistics - I don't know that anyone would object to that. |
Beta Was this translation helpful? Give feedback.
-
@Anselmoo it would be fine to open an Issue on that and/or make a PR to add that. |
Beta Was this translation helpful? Give feedback.
-
I was taking a deeper look into the source code of The reason is that for calculating numerator = (weight * (y_true - y_pred) ** 2).sum(axis=0, dtype=np.float64)
denominator = (
weight * (y_true - np.average(y_true, axis=0, weights=sample_weight)) ** 2
).sum(axis=0, dtype=np.float64) Is there a chance to reconstruct data by using thx for feedback |
Beta Was this translation helpful? Give feedback.
-
Is there actually still interest in implementing
rsquared
as formally proposed #81?This still might fit there?
lmfit-py/lmfit/minimizer.py
Lines 358 to 380 in e54a44c
See also: python-lmfit-how-to-calculate-r-squared
Beta Was this translation helpful? Give feedback.
All reactions