Skip to content

Commit

Permalink
Bug fix in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasRoelsPython committed Jun 26, 2020
1 parent 9e905a7 commit f980a7d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ or using conda
conda install requirements.txt
```

__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.

### Installation

As this package is an internal package that is not open-sourced, it is not available through `pip` or `conda`. As a result, the package has to be installed manually using the following steps:
Expand Down Expand Up @@ -110,9 +112,9 @@ Once the preprocessing pipeline is fitted and applied to your data, we are ready
from cobra.evaluation import generate_pig_tables

pig_tables = generate_pig_tables(basetable[basetable["split"] == "selection"],
id_column_name,
target_column_name
preprocessed_predictors)
id_column_name=id_column_name,
target_column_name=target_column_name,
preprocessed_predictors=preprocessed_predictors)
```

Once these PIG tables are computed, we can start with the _univariate preselection_:
Expand Down
10 changes: 3 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
from distutils.core import setup
from setuptools import setup, find_packages


setup(
name="cobra",
version="1.0.0",
description="Python Prediction's methodology for predictive analytics",
packages=["cobra",
"cobra.preprocessing",
"cobra.model_building",
"cobra.evaluation"],
packages=find_packages(include=['cobra', 'cobra.*']),
url="https://github.com/PythonPredictions",
install_requires=[
"numpy>=1.17.2",
"pandas>=0.25.1",
"scipy>=1.2.0",
"scikit_learn>=0.22.1",
"matplotlib>=3.0.2",
"seaborn>=0.9.0"],
python_requires=">=3.6",
"seaborn>=0.9.0"]
)

0 comments on commit f980a7d

Please sign in to comment.