.. Versioning follows semantic versioning, see also https://semver.org/spec/v2.0.0.html. The most important bits are: * Update the major if you break the public API * Update the minor if you add new functionality * Update the patch if you fixed a bug Changelog ========= 0.6.0 (2024-06-**) ------------------ * Added ``scoring`` parameter to :meth:`metalearners.metalearner.MetaLearner.evaluate` and implemented the abstract method for the :class:`metalearners.XLearner` and :class:`metalearners.DRLearner`. 0.5.0 (2024-06-18) ------------------ * No longer raise an error if ``feature_set`` is provided to :class:`metalearners.SLearner`. * Fix a bug where base model dictionaries -- e.g. ``n_folds`` or ``feature-set`` -- were improperly initialized if the provided dictionary's keys were a strict superset of the expected keys. 0.4.2 (2024-06-18) ------------------ * Ship license file. 0.4.1 (2024-06-18) ------------------ * Fix dependencies for pip. 0.4.0 (2024-06-18) ------------------ * Implemented :meth:`metalearners.cross_fit_estimator.CrossFitEstimator.clone`. * Added ``n_jobs_base_learners`` to :meth:`metalearners.metalearner.MetaLearner.fit`. * Renamed :meth:`metalearners.explainer.Explainer.feature_importances`. Note this is a breaking change. * Renamed :meth:`metalearners.metalearner.MetaLearner.feature_importances`. Note this is a breaking change. * Renamed :meth:`metalearners.explainer.Explainer.shap_values`. Note this is a breaking change. * Renamed :meth:`metalearners.metalearner.MetaLearner.shap_values`. Note this is a breaking change. * Renamed :meth:`metalearners.metalearner.MetaLearner.explainer`. Note this is a breaking change. * Implemented ``synchronize_cross_fitting`` parameter for :meth:`metalearners.metalearner.MetaLearner.fit`. * Implemented ``cv`` parameter for :meth:`metalearners.cross_fit_estimator.fit`. 0.3.0 (2024-06-03) ------------------ * Implemented :class:`metalearners.explainer.Explainer` with support for binary classification and regression outcomes and discrete treatment variants. * Integration of :class:`metalearners.explainer.Explainer` with :class:`metalearners.metalearner.MetaLearner` for feature importance and SHAP values calculations. * Implemented model reusage through the ``fitted_nuisance_models`` and ``fitted_propensity_model`` parameters of :class:`metalearners.metalearner.MetaLearner`. * Allow for ``fit_params`` in :meth:`metalearners.metalearner.MetaLearner.fit`. 0.2.0 (2024-05-28) ------------------ Beta release with * :class:`metalearners.DRLearner` with support for binary classification and regression outcomes and discrete treatment variants. * Generalization of :class:`metalearners.TLearner`, :class:`metalearners.XLearner` and :class:`metalearners.RLearner` to allow for more than two discrete treatment variants. * Unification of shapes returned by ``predict`` methods. * :func:`metalearners.utils.simplify_output` and :func:`metalearners.utils.metalearner_factory`. 0.1.0 (2024-05-16) ------------------ Alpha release with * :class:`metalearners.TLearner` with support for binary classification and regression outcomes and binary treatment variants. * :class:`metalearners.SLearner` with support for binary classification and regression outcomes and discrete treatment variants. * :class:`metalearners.XLearner` with support for binary classification and regression outcomes and binary treatment variants. * :class:`metalearners.RLearner` with support for binary classification and regression otucomes and binary treatment variants.