Fklearn

Latest version: v4.0.1

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

2.2.0

- **Enhancement**
- Including Classification S-Learner and T-Learner models to the causal cate learning library.
- **Bug Fix**
- Fix validator behavior when receiving data containing gaps and a time based split function that
could generate empty
training and testing folds and then break.
The argument `drop_empty_folds` can be set to `True` to drop invalid folds from validation and
store them in the
log.
- **Documentation**
- Including Classification S-Learner and T-Learner documentation, also changing validator documentation to
reflect changes.

2.1.0

- **Enhancement**
- Add optional parameter `return_eval_logs_on_train` to the `validator` function,
enabling it to return the evaluation logs for all training folds instead of just
the first one
- **Bug Fix**
- Fix import in `pd_extractors.py` for Python 3.10 compatibility
- Set a minimal version of Python (3.6.2) for Fklearn
- **Documentation**
- Fixing some typos, broken links and general improvement on the documentation

2.0.0

- **Possible breaking changes**
- Allow greater versions of `catboost`, `lightgbm`, `xgboost`, `shap`, `swifter`
(mostly due to deprecation of support to Python 3.5 and older versions). Libraries depending on
`fklearn` can still restrict the versions of the aforementioned libraries, keeping the previous
behavior.

1.24.0

- **New**
- Add causal curves summary
- **Bug fix**
- Set correct learner name for learners with column_duplicatable decorator

1.23.0

- **New**
- Add common causal evaluation techniques
- Add methods to debias a dataframe with a treatment T and confounders X

1.22.2

- **Bug fix**
- Remove `cloudpickle` from requirements

Page 2 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.