fix(code): Add logistic regression to regressions

This commit is contained in:
Marty Oehme 2024-02-14 20:35:10 +01:00
parent bf83812ef1
commit cc472acdee
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -26,7 +26,7 @@ def calculate_validities(
# needs to go lowest to highest in case of multiple mentioned approaches # needs to go lowest to highest in case of multiple mentioned approaches
vd.loc[ vd.loc[
vd[method_col].str.contains("|".join(["OLS", "ordinary.least.square"])), vd[method_col].str.contains("|".join(["OLS", "ordinary.least.square", "logistic.regression"])),
INT_COL_NAME, INT_COL_NAME,
] = 2.0 ] = 2.0
vd.loc[ vd.loc[