cobra
cobra copied to clipboard
A Python package to build predictive linear and logistic regression models focused on performance and interpretation
====> **Do not merge yet!** See below for explanation.
# Tuning classification model on different metrics (lift, recall, precision,...) now a classification cobra model can only be tuned on AUC ## Task Description This issue will...
I often get questions about the exotic errors thrown when users call Cobra's preprocessor. The error messages are too exotic for developers to understand that the datatypes they are passing...
Add a clear warning if categorical variable is returned untouched after preprocessing (no significant categories to keep).
I would like to append the model pipeline dict with relevant preprocessor pipelines. Some kind of "export model for scoring" possibility. The model.serialize JSON would then only contain the prepocessor...
Make names of variables, titles, axes, ... in plots maximally customizable.
When only a single category is put into Other, it makes more sense to keep the naming of that category.
# Preprocessing: improve additive smoothing in target encoder ## Task Description Additive smoothing in the target encoder prevents possible overfitting, but is disabled by default, with the default weight=0 parameter...
Documentation improvements to reap: - Create a GitHub Action such that whenever we push to master, the Sphinx docs files are automatically built and the cobra.io website is recreated -...
While reviewing a pull request, I tested the below method with some extra things. I noticed this: ``` @pytest.mark.parametrize("n_bins, auto_adapt_bins, data, expected", [ (2, False, # Variable contains floats, nans...