Skip to content

Commit 48d8a9a

Browse files
authored
Merge branch 'master' into develop
2 parents 104d198 + 6ef6723 commit 48d8a9a

1 file changed

Lines changed: 89 additions & 90 deletions

File tree

README.rst

Lines changed: 89 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1,90 +1,89 @@
1-
2-
3-
.. image:: https://img.shields.io/pypi/v/pythonpredictions-cobra.svg
4-
:target: https://pypi.org/project/pythonpredictions-cobra/
5-
.. image:: https://img.shields.io/pypi/dm/pythonpredictions-cobra.svg
6-
:target: https://pypistats.org/packages/pythonpredictions-cobra
7-
.. image:: https://github.com/PythonPredictions/cobra/actions/workflows/development_CI.yaml/badge.svg?branch=develop
8-
:target: https://github.com/PythonPredictions/cobra/actions/workflows/development_CI.yaml
9-
10-
------------------------------------------------------------------------------------------------------------------------------------
11-
12-
=====
13-
cobra
14-
=====
15-
16-
.. image:: material\logo.png
17-
:width: 300
18-
19-
**cobra** is a Python package to build predictive models using linear/logistic regression with a focus on performance and interpretation. It consists of several modules for data preprocessing, feature selection and model evaluation. The underlying methodology was developed at Python Predictions in the course of hundreds of business-related prediction challenges. It has been tweaked, tested and optimized over the years based on feedback from clients, our team, and academic researchers.
20-
21-
Main Features
22-
=============
23-
24-
- Prepare a given pandas DataFrame for predictive modelling:
25-
26-
- partition into train/selection/validation sets
27-
- create bins from continuous variables
28-
- regroup categorical variables based on statistical significance
29-
- replace missing values and
30-
- add columns with incidence rate per category/bin
31-
32-
- Perform univariate feature selection based on AUC
33-
- Compute correlation matrix of predictors
34-
- Find the suitable variables using forward feature selection
35-
- Evaluate model performance and visualize the results
36-
37-
Getting started
38-
===============
39-
40-
These instructions will get you a copy of the project up and running on your local machine for usage, development and testing purposes.
41-
42-
Requirements
43-
------------
44-
45-
This package requires the usual Python packages for data science:
46-
47-
- numpy (>=1.19.4)
48-
- pandas (>=1.1.5)
49-
- scipy (>=1.5.4)
50-
- scikit-learn (>=0.23.1)
51-
- matplotlib (>=3.3.3)
52-
- seaborn (>=0.11.0)
53-
54-
55-
These packages, along with their versions are listed in ``requirements.txt`` and can be installed using ``pip``: ::
56-
57-
58-
pip install -r requirements.txt
59-
60-
61-
**Note**: if you want to install cobra with e.g. pip, you don't have to install all of these requirements as these are automatically installed with cobra itself.
62-
63-
Installation
64-
------------
65-
66-
The easiest way to install cobra is using ``pip``: ::
67-
68-
pip install -U pythonpredictions-cobra
69-
70-
Contributing to cobra
71-
=====================
72-
73-
We'd love you to contribute to the development of cobra! There are many ways in which you can contribute, the most common of which is to contribute to the source code or documentation of the project. However, there are many other ways you can contribute (report issues, improve code coverage by adding unit tests, ...).
74-
We use GitHub issue to track all bugs and feature requests. Feel free to open an issue in case you found a bug or in case you wish to see a new feature added.
75-
76-
For more details, check our `wiki <https://github.com/PythonPredictions/cobra/wiki/Contributing-guidelines-&-workflows>`_.
77-
78-
Help and Support
79-
================
80-
81-
Documentation
82-
-------------
83-
84-
- HTML documentation of the `individual modules <https://pythonpredictions.github.io/cobra.io/docstring/modules.html>`_
85-
- A step-by-step `tutorial <https://pythonpredictions.github.io/cobra.io/tutorial.html>`_
86-
87-
Outreach
88-
-------------
89-
90-
- Check out the Data Science Leuven Meetup `talk <https://www.youtube.com/watch?v=w7ceZZqMEaA&feature=youtu.be>`_ by one of the core developers (second presentation)
1+
2+
3+
.. image:: https://img.shields.io/pypi/v/pythonpredictions-cobra.svg
4+
:target: https://pypi.org/project/pythonpredictions-cobra/
5+
.. image:: https://img.shields.io/pypi/dm/pythonpredictions-cobra.svg
6+
:target: https://pypistats.org/packages/pythonpredictions-cobra
7+
.. image:: https://github.com/PythonPredictions/cobra/actions/workflows/development_CI.yaml/badge.svg?branch=develop
8+
:target: https://github.com/PythonPredictions/cobra/actions/workflows/development_CI.yaml
9+
10+
------------------------------------------------------------------------------------------------------------------------------------
11+
12+
=====
13+
cobra
14+
=====
15+
.. image:: material\logo.png
16+
:width: 300
17+
18+
**cobra** is a Python package to build predictive models using linear/logistic regression with a focus on performance and interpretation. It consists of several modules for data preprocessing, feature selection and model evaluation. The underlying methodology was developed at Python Predictions in the course of hundreds of business-related prediction challenges. It has been tweaked, tested and optimized over the years based on feedback from clients, our team, and academic researchers.
19+
20+
Main Features
21+
=============
22+
23+
- Prepare a given pandas DataFrame for predictive modelling:
24+
25+
- partition into train/selection/validation sets
26+
- create bins from continuous variables
27+
- regroup categorical variables based on statistical significance
28+
- replace missing values and
29+
- add columns with incidence rate per category/bin
30+
31+
- Perform univariate feature selection based on AUC
32+
- Compute correlation matrix of predictors
33+
- Find the suitable variables using forward feature selection
34+
- Evaluate model performance and visualize the results
35+
36+
Getting started
37+
===============
38+
39+
These instructions will get you a copy of the project up and running on your local machine for usage, development and testing purposes.
40+
41+
Requirements
42+
------------
43+
44+
This package requires the usual Python packages for data science:
45+
46+
- numpy (>=1.19.4)
47+
- pandas (>=1.1.5)
48+
- scipy (>=1.5.4)
49+
- scikit-learn (>=0.23.1)
50+
- matplotlib (>=3.3.3)
51+
- seaborn (>=0.11.0)
52+
53+
54+
These packages, along with their versions are listed in ``requirements.txt`` and can be installed using ``pip``: ::
55+
56+
57+
pip install -r requirements.txt
58+
59+
60+
**Note**: if you want to install cobra with e.g. pip, you don't have to install all of these requirements as these are automatically installed with cobra itself.
61+
62+
Installation
63+
------------
64+
65+
The easiest way to install cobra is using ``pip``: ::
66+
67+
pip install -U pythonpredictions-cobra
68+
69+
Contributing to cobra
70+
=====================
71+
72+
We'd love you to contribute to the development of cobra! There are many ways in which you can contribute, the most common of which is to contribute to the source code or documentation of the project. However, there are many other ways you can contribute (report issues, improve code coverage by adding unit tests, ...).
73+
We use GitHub issue to track all bugs and feature requests. Feel free to open an issue in case you found a bug or in case you wish to see a new feature added.
74+
75+
For more details, check our `wiki <https://github.com/PythonPredictions/cobra/wiki/Contributing-guidelines-&-workflows>`_.
76+
77+
Help and Support
78+
================
79+
80+
Documentation
81+
-------------
82+
83+
- HTML documentation of the `individual modules <https://pythonpredictions.github.io/cobra.io/docstring/modules.html>`_
84+
- A step-by-step `tutorial <https://pythonpredictions.github.io/cobra.io/tutorial.html>`_
85+
86+
Outreach
87+
-------------
88+
89+
- Check out the Data Science Leuven Meetup `talk <https://www.youtube.com/watch?v=w7ceZZqMEaA&feature=youtu.be>`_ by one of the core developers (second presentation)

0 commit comments

Comments
 (0)