Created 4 years ago
# This Python 3 environment comes with many helpful analytics libraries installed
# It is defined by the kaggle/python Docker image: https://github.com/kaggle/docker-python
# For example, here's several helpful packages to load
import numpy as np # linear algebra
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)
# Input data files are available in the read-only "../input/" directory
# For example, running this (by clicking run or pressing Shift+Enter) will list all files under the input directory
import os
for dirname, _, filenames in os.walk('/kaggle/input'):
for filename in filenames:
print(os.path.join(dirname, filename))
# You can write up to 5GB to the current directory (/kaggle/working/) that gets preserved as output when you create a version using "Save & Run All"
# You can also write temporary files to /kaggle/temp/, but they won't be saved outside of the current session
/kaggle/input/preprocess-choc/dfn.csv
/kaggle/input/preprocess-choc/__results__.html
/kaggle/input/preprocess-choc/10 best RD_Feature
/kaggle/input/preprocess-choc/__notebook__.ipynb
/kaggle/input/preprocess-choc/custom.css
/kaggle/input/preprocess-choc/__output__.json
/kaggle/input/preprocess-choc/__results___files/__results___8_1.png
!pip install pycaret
from pycaret.classification import *
Collecting pycaret
Downloading pycaret-2.0-py3-none-any.whl (255 kB)
|████████████████████████████████| 255 kB 2.6 MB/s eta 0:00:01
Requirement already satisfied: nltk in /opt/conda/lib/python3.7/site-packages (from pycaret) (3.2.4)
Requirement already satisfied: pyLDAvis in /opt/conda/lib/python3.7/site-packages (from pycaret) (2.1.2)
Requirement already satisfied: gensim in /opt/conda/lib/python3.7/site-packages (from pycaret) (3.8.3)
Requirement already satisfied: IPython in /opt/conda/lib/python3.7/site-packages (from pycaret) (7.13.0)
Requirement already satisfied: matplotlib in /opt/conda/lib/python3.7/site-packages (from pycaret) (3.2.1)
Collecting DateTime>=4.3
Downloading DateTime-4.3-py2.py3-none-any.whl (60 kB)
|████████████████████████████████| 60 kB 2.5 MB/s eta 0:00:01
Requirement already satisfied: spacy in /opt/conda/lib/python3.7/site-packages (from pycaret) (2.2.4)
Requirement already satisfied: numpy>=1.17 in /opt/conda/lib/python3.7/site-packages (from pycaret) (1.18.5)
Requirement already satisfied: joblib in /opt/conda/lib/python3.7/site-packages (from pycaret) (0.14.1)
Requirement already satisfied: catboost in /opt/conda/lib/python3.7/site-packages (from pycaret) (0.23.2)
Requirement already satisfied: pandas-profiling>=2.3.0 in /opt/conda/lib/python3.7/site-packages (from pycaret) (2.6.0)
Requirement already satisfied: xgboost>=0.90 in /opt/conda/lib/python3.7/site-packages (from pycaret) (1.1.1)
Requirement already satisfied: seaborn in /opt/conda/lib/python3.7/site-packages (from pycaret) (0.10.0)
Requirement already satisfied: scikit-learn>=0.23 in /opt/conda/lib/python3.7/site-packages (from pycaret) (0.23.1)
Requirement already satisfied: kmodes>=0.10.1 in /opt/conda/lib/python3.7/site-packages (from pycaret) (0.10.2)
Requirement already satisfied: textblob in /opt/conda/lib/python3.7/site-packages (from pycaret) (0.15.3)
Requirement already satisfied: plotly>=4.4.1 in /opt/conda/lib/python3.7/site-packages (from pycaret) (4.9.0)
Requirement already satisfied: umap-learn in /opt/conda/lib/python3.7/site-packages (from pycaret) (0.3.10)
Requirement already satisfied: imbalanced-learn in /opt/conda/lib/python3.7/site-packages (from pycaret) (0.7.0)
Requirement already satisfied: wordcloud in /opt/conda/lib/python3.7/site-packages (from pycaret) (1.7.0)
Collecting mlflow
Downloading mlflow-1.10.0-py3-none-any.whl (12.4 MB)
|████████████████████████████████| 12.4 MB 5.2 MB/s eta 0:00:01
Requirement already satisfied: mlxtend in /opt/conda/lib/python3.7/site-packages (from pycaret) (0.17.2)
Collecting pyod
Downloading pyod-0.8.1.tar.gz (93 kB)
|████████████████████████████████| 93 kB 1.0 MB/s eta 0:00:01
Requirement already satisfied: lightgbm>=2.3.1 in /opt/conda/lib/python3.7/site-packages (from pycaret) (2.3.1)
Requirement already satisfied: cufflinks>=0.17.0 in /opt/conda/lib/python3.7/site-packages (from pycaret) (0.17.3)
Requirement already satisfied: yellowbrick>=1.0.1 in /opt/conda/lib/python3.7/site-packages (from pycaret) (1.1)
Collecting datefinder>=0.7.0
Downloading datefinder-0.7.1-py2.py3-none-any.whl (10 kB)
Requirement already satisfied: ipywidgets in /opt/conda/lib/python3.7/site-packages (from pycaret) (7.5.1)
Requirement already satisfied: pandas in /opt/conda/lib/python3.7/site-packages (from pycaret) (1.0.3)
Requirement already satisfied: six in /opt/conda/lib/python3.7/site-packages (from nltk->pycaret) (1.14.0)
Requirement already satisfied: numexpr in /opt/conda/lib/python3.7/site-packages (from pyLDAvis->pycaret) (2.7.1)
Requirement already satisfied: wheel>=0.23.0 in /opt/conda/lib/python3.7/site-packages (from pyLDAvis->pycaret) (0.34.2)
Requirement already satisfied: scipy>=0.18.0 in /opt/conda/lib/python3.7/site-packages (from pyLDAvis->pycaret) (1.4.1)
Requirement already satisfied: future in /opt/conda/lib/python3.7/site-packages (from pyLDAvis->pycaret) (0.18.2)
Requirement already satisfied: pytest in /opt/conda/lib/python3.7/site-packages (from pyLDAvis->pycaret) (5.4.1)
Requirement already satisfied: funcy in /opt/conda/lib/python3.7/site-packages (from pyLDAvis->pycaret) (1.14)
Requirement already satisfied: jinja2>=2.7.2 in /opt/conda/lib/python3.7/site-packages (from pyLDAvis->pycaret) (2.11.2)
Requirement already satisfied: smart-open>=1.8.1 in /opt/conda/lib/python3.7/site-packages (from gensim->pycaret) (2.1.0)
Requirement already satisfied: jedi>=0.10 in /opt/conda/lib/python3.7/site-packages (from IPython->pycaret) (0.15.2)
Requirement already satisfied: pexpect; sys_platform != "win32" in /opt/conda/lib/python3.7/site-packages (from IPython->pycaret) (4.8.0)
Requirement already satisfied: backcall in /opt/conda/lib/python3.7/site-packages (from IPython->pycaret) (0.1.0)
Requirement already satisfied: pickleshare in /opt/conda/lib/python3.7/site-packages (from IPython->pycaret) (0.7.5)
Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in /opt/conda/lib/python3.7/site-packages (from IPython->pycaret) (3.0.5)
Requirement already satisfied: traitlets>=4.2 in /opt/conda/lib/python3.7/site-packages (from IPython->pycaret) (4.3.3)
Requirement already satisfied: setuptools>=18.5 in /opt/conda/lib/python3.7/site-packages (from IPython->pycaret) (46.1.3.post20200325)
Requirement already satisfied: decorator in /opt/conda/lib/python3.7/site-packages (from IPython->pycaret) (4.4.2)
Requirement already satisfied: pygments in /opt/conda/lib/python3.7/site-packages (from IPython->pycaret) (2.6.1)
Requirement already satisfied: cycler>=0.10 in /opt/conda/lib/python3.7/site-packages (from matplotlib->pycaret) (0.10.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /opt/conda/lib/python3.7/site-packages (from matplotlib->pycaret) (1.2.0)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /opt/conda/lib/python3.7/site-packages (from matplotlib->pycaret) (2.4.7)
Requirement already satisfied: python-dateutil>=2.1 in /opt/conda/lib/python3.7/site-packages (from matplotlib->pycaret) (2.8.1)
Requirement already satisfied: pytz in /opt/conda/lib/python3.7/site-packages (from DateTime>=4.3->pycaret) (2019.3)
Collecting zope.interface
Downloading zope.interface-5.1.0-cp37-cp37m-manylinux2010_x86_64.whl (235 kB)
|████████████████████████████████| 235 kB 53.4 MB/s eta 0:00:01
Requirement already satisfied: thinc==7.4.0 in /opt/conda/lib/python3.7/site-packages (from spacy->pycaret) (7.4.0)
Requirement already satisfied: wasabi<1.1.0,>=0.4.0 in /opt/conda/lib/python3.7/site-packages (from spacy->pycaret) (0.7.1)
Requirement already satisfied: blis<0.5.0,>=0.4.0 in /opt/conda/lib/python3.7/site-packages (from spacy->pycaret) (0.4.1)
Requirement already satisfied: srsly<1.1.0,>=1.0.2 in /opt/conda/lib/python3.7/site-packages (from spacy->pycaret) (1.0.2)
Requirement already satisfied: plac<1.2.0,>=0.9.6 in /opt/conda/lib/python3.7/site-packages (from spacy->pycaret) (1.1.3)
Requirement already satisfied: cymem<2.1.0,>=2.0.2 in /opt/conda/lib/python3.7/site-packages (from spacy->pycaret) (2.0.3)
Requirement already satisfied: preshed<3.1.0,>=3.0.2 in /opt/conda/lib/python3.7/site-packages (from spacy->pycaret) (3.0.2)
Requirement already satisfied: murmurhash<1.1.0,>=0.28.0 in /opt/conda/lib/python3.7/site-packages (from spacy->pycaret) (1.0.2)
Requirement already satisfied: catalogue<1.1.0,>=0.0.7 in /opt/conda/lib/python3.7/site-packages (from spacy->pycaret) (1.0.0)
Requirement already satisfied: tqdm<5.0.0,>=4.38.0 in /opt/conda/lib/python3.7/site-packages (from spacy->pycaret) (4.45.0)
Requirement already satisfied: requests<3.0.0,>=2.13.0 in /opt/conda/lib/python3.7/site-packages (from spacy->pycaret) (2.23.0)
Requirement already satisfied: graphviz in /opt/conda/lib/python3.7/site-packages (from catboost->pycaret) (0.8.4)
Requirement already satisfied: astropy>=4.0 in /opt/conda/lib/python3.7/site-packages (from pandas-profiling>=2.3.0->pycaret) (4.0.1.post1)
Requirement already satisfied: visions[type_image_path]>=0.4.1 in /opt/conda/lib/python3.7/site-packages (from pandas-profiling>=2.3.0->pycaret) (0.4.1)
Requirement already satisfied: tangled-up-in-unicode>=0.0.4 in /opt/conda/lib/python3.7/site-packages (from pandas-profiling>=2.3.0->pycaret) (0.0.4)
Requirement already satisfied: missingno>=0.4.2 in /opt/conda/lib/python3.7/site-packages (from pandas-profiling>=2.3.0->pycaret) (0.4.2)
Requirement already satisfied: statsmodels>=0.11.1 in /opt/conda/lib/python3.7/site-packages (from pandas-profiling>=2.3.0->pycaret) (0.11.1)
Requirement already satisfied: confuse>=1.0.0 in /opt/conda/lib/python3.7/site-packages (from pandas-profiling>=2.3.0->pycaret) (1.1.0)
Requirement already satisfied: htmlmin>=0.1.12 in /opt/conda/lib/python3.7/site-packages (from pandas-profiling>=2.3.0->pycaret) (0.1.12)
Requirement already satisfied: phik>=0.9.10 in /opt/conda/lib/python3.7/site-packages (from pandas-profiling>=2.3.0->pycaret) (0.9.11)
Requirement already satisfied: threadpoolctl>=2.0.0 in /opt/conda/lib/python3.7/site-packages (from scikit-learn>=0.23->pycaret) (2.1.0)
Requirement already satisfied: retrying>=1.3.3 in /opt/conda/lib/python3.7/site-packages (from plotly>=4.4.1->pycaret) (1.3.3)
Requirement already satisfied: numba>=0.37 in /opt/conda/lib/python3.7/site-packages (from umap-learn->pycaret) (0.48.0)
Requirement already satisfied: pillow in /opt/conda/lib/python3.7/site-packages (from wordcloud->pycaret) (7.2.0)
Collecting prometheus-flask-exporter
Downloading prometheus_flask_exporter-0.15.4.tar.gz (20 kB)
Requirement already satisfied: protobuf>=3.6.0 in /opt/conda/lib/python3.7/site-packages (from mlflow->pycaret) (3.12.2)
Requirement already satisfied: cloudpickle in /opt/conda/lib/python3.7/site-packages (from mlflow->pycaret) (1.3.0)
Requirement already satisfied: entrypoints in /opt/conda/lib/python3.7/site-packages (from mlflow->pycaret) (0.3)
Collecting azure-storage-blob>=12.0
Downloading azure_storage_blob-12.3.2-py2.py3-none-any.whl (280 kB)
|████████████████████████████████| 280 kB 39.4 MB/s eta 0:00:01
Collecting querystring-parser
Downloading querystring_parser-1.2.4.tar.gz (5.5 kB)
Collecting gorilla
Downloading gorilla-0.3.0-py2.py3-none-any.whl (11 kB)
Requirement already satisfied: docker>=4.0.0 in /opt/conda/lib/python3.7/site-packages (from mlflow->pycaret) (4.2.0)
Collecting databricks-cli>=0.8.7
Downloading databricks-cli-0.11.0.tar.gz (49 kB)
|████████████████████████████████| 49 kB 3.6 MB/s eta 0:00:01
Requirement already satisfied: alembic in /opt/conda/lib/python3.7/site-packages (from mlflow->pycaret) (1.4.2)
Requirement already satisfied: sqlparse in /opt/conda/lib/python3.7/site-packages (from mlflow->pycaret) (0.3.1)
Collecting sqlalchemy<=1.3.13
Downloading SQLAlchemy-1.3.13.tar.gz (6.0 MB)
|████████████████████████████████| 6.0 MB 53.8 MB/s eta 0:00:01
Requirement already satisfied: Flask in /opt/conda/lib/python3.7/site-packages (from mlflow->pycaret) (1.1.2)
Collecting gunicorn; platform_system != "Windows"
Downloading gunicorn-20.0.4-py2.py3-none-any.whl (77 kB)
|████████████████████████████████| 77 kB 4.7 MB/s eta 0:00:01
Requirement already satisfied: pyyaml in /opt/conda/lib/python3.7/site-packages (from mlflow->pycaret) (5.3.1)
Requirement already satisfied: click>=7.0 in /opt/conda/lib/python3.7/site-packages (from mlflow->pycaret) (7.1.1)
Requirement already satisfied: gitpython>=2.1.0 in /opt/conda/lib/python3.7/site-packages (from mlflow->pycaret) (3.1.1)
Collecting combo
Downloading combo-0.1.1.tar.gz (37 kB)
Collecting suod
Downloading suod-0.0.4.tar.gz (2.1 MB)
|████████████████████████████████| 2.1 MB 45.9 MB/s eta 0:00:01
Requirement already satisfied: colorlover>=0.2.1 in /opt/conda/lib/python3.7/site-packages (from cufflinks>=0.17.0->pycaret) (0.3.0)
Requirement already satisfied: regex>=2017.02.08 in /opt/conda/lib/python3.7/site-packages (from datefinder>=0.7.0->pycaret) (2020.4.4)
Requirement already satisfied: widgetsnbextension~=3.5.0 in /opt/conda/lib/python3.7/site-packages (from ipywidgets->pycaret) (3.5.1)
Requirement already satisfied: nbformat>=4.2.0 in /opt/conda/lib/python3.7/site-packages (from ipywidgets->pycaret) (5.0.6)
Requirement already satisfied: ipykernel>=4.5.1 in /opt/conda/lib/python3.7/site-packages (from ipywidgets->pycaret) (5.1.1)
Requirement already satisfied: py>=1.5.0 in /opt/conda/lib/python3.7/site-packages (from pytest->pyLDAvis->pycaret) (1.8.1)
Requirement already satisfied: packaging in /opt/conda/lib/python3.7/site-packages (from pytest->pyLDAvis->pycaret) (20.1)
Requirement already satisfied: attrs>=17.4.0 in /opt/conda/lib/python3.7/site-packages (from pytest->pyLDAvis->pycaret) (19.3.0)
Requirement already satisfied: more-itertools>=4.0.0 in /opt/conda/lib/python3.7/site-packages (from pytest->pyLDAvis->pycaret) (8.2.0)
Requirement already satisfied: pluggy<1.0,>=0.12 in /opt/conda/lib/python3.7/site-packages (from pytest->pyLDAvis->pycaret) (0.13.0)
Requirement already satisfied: wcwidth in /opt/conda/lib/python3.7/site-packages (from pytest->pyLDAvis->pycaret) (0.1.9)
Requirement already satisfied: importlib-metadata>=0.12 in /opt/conda/lib/python3.7/site-packages (from pytest->pyLDAvis->pycaret) (1.7.0)
Requirement already satisfied: MarkupSafe>=0.23 in /opt/conda/lib/python3.7/site-packages (from jinja2>=2.7.2->pyLDAvis->pycaret) (1.1.1)
Requirement already satisfied: boto3 in /opt/conda/lib/python3.7/site-packages (from smart-open>=1.8.1->gensim->pycaret) (1.14.28)
Requirement already satisfied: boto in /opt/conda/lib/python3.7/site-packages (from smart-open>=1.8.1->gensim->pycaret) (2.49.0)
Requirement already satisfied: parso>=0.5.2 in /opt/conda/lib/python3.7/site-packages (from jedi>=0.10->IPython->pycaret) (0.5.2)
Requirement already satisfied: ptyprocess>=0.5 in /opt/conda/lib/python3.7/site-packages (from pexpect; sys_platform != "win32"->IPython->pycaret) (0.6.0)
Requirement already satisfied: ipython-genutils in /opt/conda/lib/python3.7/site-packages (from traitlets>=4.2->IPython->pycaret) (0.2.0)
Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.7/site-packages (from requests<3.0.0,>=2.13.0->spacy->pycaret) (2020.6.20)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /opt/conda/lib/python3.7/site-packages (from requests<3.0.0,>=2.13.0->spacy->pycaret) (1.24.3)
Requirement already satisfied: idna<3,>=2.5 in /opt/conda/lib/python3.7/site-packages (from requests<3.0.0,>=2.13.0->spacy->pycaret) (2.9)
Requirement already satisfied: chardet<4,>=3.0.2 in /opt/conda/lib/python3.7/site-packages (from requests<3.0.0,>=2.13.0->spacy->pycaret) (3.0.4)
Requirement already satisfied: networkx>=2.4 in /opt/conda/lib/python3.7/site-packages (from visions[type_image_path]>=0.4.1->pandas-profiling>=2.3.0->pycaret) (2.4)
Requirement already satisfied: imagehash; extra == "type_image_path" in /opt/conda/lib/python3.7/site-packages (from visions[type_image_path]>=0.4.1->pandas-profiling>=2.3.0->pycaret) (4.1.0)
Requirement already satisfied: patsy>=0.5 in /opt/conda/lib/python3.7/site-packages (from statsmodels>=0.11.1->pandas-profiling>=2.3.0->pycaret) (0.5.1)
Requirement already satisfied: llvmlite<0.32.0,>=0.31.0dev0 in /opt/conda/lib/python3.7/site-packages (from numba>=0.37->umap-learn->pycaret) (0.31.0)
Requirement already satisfied: prometheus_client in /opt/conda/lib/python3.7/site-packages (from prometheus-flask-exporter->mlflow->pycaret) (0.7.1)
Collecting msrest>=0.6.10
Downloading msrest-0.6.18-py2.py3-none-any.whl (84 kB)
|████████████████████████████████| 84 kB 2.0 MB/s eta 0:00:01
Collecting azure-core<2.0.0,>=1.6.0
Downloading azure_core-1.7.0-py2.py3-none-any.whl (121 kB)
|████████████████████████████████| 121 kB 40.1 MB/s eta 0:00:01
Requirement already satisfied: cryptography>=2.1.4 in /opt/conda/lib/python3.7/site-packages (from azure-storage-blob>=12.0->mlflow->pycaret) (2.8)
Requirement already satisfied: websocket-client>=0.32.0 in /opt/conda/lib/python3.7/site-packages (from docker>=4.0.0->mlflow->pycaret) (0.57.0)
Requirement already satisfied: tabulate>=0.7.7 in /opt/conda/lib/python3.7/site-packages (from databricks-cli>=0.8.7->mlflow->pycaret) (0.8.7)
Requirement already satisfied: Mako in /opt/conda/lib/python3.7/site-packages (from alembic->mlflow->pycaret) (1.1.3)
Requirement already satisfied: python-editor>=0.3 in /opt/conda/lib/python3.7/site-packages (from alembic->mlflow->pycaret) (1.0.4)
Requirement already satisfied: Werkzeug>=0.15 in /opt/conda/lib/python3.7/site-packages (from Flask->mlflow->pycaret) (1.0.1)
Requirement already satisfied: itsdangerous>=0.24 in /opt/conda/lib/python3.7/site-packages (from Flask->mlflow->pycaret) (1.1.0)
Requirement already satisfied: gitdb<5,>=4.0.1 in /opt/conda/lib/python3.7/site-packages (from gitpython>=2.1.0->mlflow->pycaret) (4.0.4)
Requirement already satisfied: notebook>=4.4.1 in /opt/conda/lib/python3.7/site-packages (from widgetsnbextension~=3.5.0->ipywidgets->pycaret) (5.5.0)
Requirement already satisfied: jupyter-core in /opt/conda/lib/python3.7/site-packages (from nbformat>=4.2.0->ipywidgets->pycaret) (4.6.3)
Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in /opt/conda/lib/python3.7/site-packages (from nbformat>=4.2.0->ipywidgets->pycaret) (3.2.0)
Requirement already satisfied: jupyter-client in /opt/conda/lib/python3.7/site-packages (from ipykernel>=4.5.1->ipywidgets->pycaret) (6.1.3)
Requirement already satisfied: tornado>=4.2 in /opt/conda/lib/python3.7/site-packages (from ipykernel>=4.5.1->ipywidgets->pycaret) (5.0.2)
Requirement already satisfied: zipp>=0.5 in /opt/conda/lib/python3.7/site-packages (from importlib-metadata>=0.12->pytest->pyLDAvis->pycaret) (3.1.0)
Requirement already satisfied: s3transfer<0.4.0,>=0.3.0 in /opt/conda/lib/python3.7/site-packages (from boto3->smart-open>=1.8.1->gensim->pycaret) (0.3.3)
Requirement already satisfied: botocore<1.18.0,>=1.17.28 in /opt/conda/lib/python3.7/site-packages (from boto3->smart-open>=1.8.1->gensim->pycaret) (1.17.28)
Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in /opt/conda/lib/python3.7/site-packages (from boto3->smart-open>=1.8.1->gensim->pycaret) (0.10.0)
Requirement already satisfied: PyWavelets in /opt/conda/lib/python3.7/site-packages (from imagehash; extra == "type_image_path"->visions[type_image_path]>=0.4.1->pandas-profiling>=2.3.0->pycaret) (1.1.1)
Collecting isodate>=0.6.0
Downloading isodate-0.6.0-py2.py3-none-any.whl (45 kB)
|████████████████████████████████| 45 kB 2.4 MB/s eta 0:00:01
Requirement already satisfied: requests-oauthlib>=0.5.0 in /opt/conda/lib/python3.7/site-packages (from msrest>=0.6.10->azure-storage-blob>=12.0->mlflow->pycaret) (1.2.0)
Requirement already satisfied: cffi!=1.11.3,>=1.8 in /opt/conda/lib/python3.7/site-packages (from cryptography>=2.1.4->azure-storage-blob>=12.0->mlflow->pycaret) (1.14.0)
Requirement already satisfied: smmap<4,>=3.0.1 in /opt/conda/lib/python3.7/site-packages (from gitdb<5,>=4.0.1->gitpython>=2.1.0->mlflow->pycaret) (3.0.2)
Requirement already satisfied: pyzmq>=17 in /opt/conda/lib/python3.7/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets->pycaret) (19.0.0)
Requirement already satisfied: Send2Trash in /opt/conda/lib/python3.7/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets->pycaret) (1.5.0)
Requirement already satisfied: terminado>=0.8.1 in /opt/conda/lib/python3.7/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets->pycaret) (0.8.3)
Requirement already satisfied: nbconvert in /opt/conda/lib/python3.7/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets->pycaret) (5.6.1)
Requirement already satisfied: pyrsistent>=0.14.0 in /opt/conda/lib/python3.7/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.2.0->ipywidgets->pycaret) (0.16.0)
Requirement already satisfied: docutils<0.16,>=0.10 in /opt/conda/lib/python3.7/site-packages (from botocore<1.18.0,>=1.17.28->boto3->smart-open>=1.8.1->gensim->pycaret) (0.15.2)
Requirement already satisfied: oauthlib>=3.0.0 in /opt/conda/lib/python3.7/site-packages (from requests-oauthlib>=0.5.0->msrest>=0.6.10->azure-storage-blob>=12.0->mlflow->pycaret) (3.0.1)
Requirement already satisfied: pycparser in /opt/conda/lib/python3.7/site-packages (from cffi!=1.11.3,>=1.8->cryptography>=2.1.4->azure-storage-blob>=12.0->mlflow->pycaret) (2.20)
Requirement already satisfied: defusedxml in /opt/conda/lib/python3.7/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets->pycaret) (0.6.0)
Requirement already satisfied: mistune<2,>=0.8.1 in /opt/conda/lib/python3.7/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets->pycaret) (0.8.4)
Requirement already satisfied: bleach in /opt/conda/lib/python3.7/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets->pycaret) (3.1.4)
Requirement already satisfied: testpath in /opt/conda/lib/python3.7/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets->pycaret) (0.4.4)
Requirement already satisfied: pandocfilters>=1.4.1 in /opt/conda/lib/python3.7/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets->pycaret) (1.4.2)
Requirement already satisfied: webencodings in /opt/conda/lib/python3.7/site-packages (from bleach->nbconvert->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets->pycaret) (0.5.1)
Building wheels for collected packages: pyod, prometheus-flask-exporter, querystring-parser, databricks-cli, sqlalchemy, combo, suod
Building wheel for pyod (setup.py) ... done
Created wheel for pyod: filename=pyod-0.8.1-py3-none-any.whl size=105651 sha256=afb581abd23a4681770995cbc038d2ad04de60ca9e66a7f74afd7945fc100fff
Stored in directory: /root/.cache/pip/wheels/d6/f2/24/2c050361bd259bee34bbef8047bbcd3f08085f2a8a5ed1fc85
Building wheel for prometheus-flask-exporter (setup.py) ... done
Created wheel for prometheus-flask-exporter: filename=prometheus_flask_exporter-0.15.4-py3-none-any.whl size=16451 sha256=b00bba093aa752ec8d5960bc2fe5bf24dfbff0681632f254485d99c986f101b5
Stored in directory: /root/.cache/pip/wheels/69/e3/ab/f10afded2fa6225f1672b34a7438cadf596e359a21f454d22c
Building wheel for querystring-parser (setup.py) ... done
Created wheel for querystring-parser: filename=querystring_parser-1.2.4-py3-none-any.whl size=7076 sha256=5943a04a95ffbfbc29953fc41b6f4b8c5324bf95230f3b93831c642a30fa0605
Stored in directory: /root/.cache/pip/wheels/69/38/7a/072b5863ca334d012821a287fd1d066cea33abdcda3ef2f878
Building wheel for databricks-cli (setup.py) ... done
Created wheel for databricks-cli: filename=databricks_cli-0.11.0-py3-none-any.whl size=90300 sha256=aa207c0bafd59725e03f07b934d654f2c40bb0f6dedb63a8429bca8e31e2c847
Stored in directory: /root/.cache/pip/wheels/81/3f/18/5678c9d403583e583a251463196998b17852b98de34aa9ab51
Building wheel for sqlalchemy (setup.py) ... done
Created wheel for sqlalchemy: filename=SQLAlchemy-1.3.13-cp37-cp37m-linux_x86_64.whl size=1221867 sha256=4c6bcb2cdb260bd02571bb194e3472ad6b084db8dd7d65b2d57295c49b679dd8
Stored in directory: /root/.cache/pip/wheels/b9/ba/77/163f10f14bd489351530603e750c195b0ceceed2f3be2b32f1
Building wheel for combo (setup.py) ... done
Created wheel for combo: filename=combo-0.1.1-py3-none-any.whl size=42113 sha256=770288373ea7a63d666fdedb4316ae99f5c77bb5d11e9cb4a102f2d445ae1301
Stored in directory: /root/.cache/pip/wheels/3e/e1/f8/08f19ba48f75d3dbbb549cec4b86cc0392c14b2b6bb81f4e1f
Building wheel for suod (setup.py) ... done
Created wheel for suod: filename=suod-0.0.4-py3-none-any.whl size=2167157 sha256=16a470759bb4b93ad7d2922d9f1bd6e8d099c624a74515b3c07f6ba08472013f
Stored in directory: /root/.cache/pip/wheels/dc/ae/aa/3b8cc857617f3ba6cb9e6b804c79c69d0ed60a08e022e9a4f3
Successfully built pyod prometheus-flask-exporter querystring-parser databricks-cli sqlalchemy combo suod
Installing collected packages: zope.interface, DateTime, prometheus-flask-exporter, isodate, msrest, azure-core, azure-storage-blob, querystring-parser, gorilla, databricks-cli, sqlalchemy, gunicorn, mlflow, combo, suod, pyod, datefinder, pycaret
Attempting uninstall: sqlalchemy
Found existing installation: SQLAlchemy 1.3.16
Uninstalling SQLAlchemy-1.3.16:
Successfully uninstalled SQLAlchemy-1.3.16
Successfully installed DateTime-4.3 azure-core-1.7.0 azure-storage-blob-12.3.2 combo-0.1.1 databricks-cli-0.11.0 datefinder-0.7.1 gorilla-0.3.0 gunicorn-20.0.4 isodate-0.6.0 mlflow-1.10.0 msrest-0.6.18 prometheus-flask-exporter-0.15.4 pycaret-2.0 pyod-0.8.1 querystring-parser-1.2.4 sqlalchemy-1.3.13 suod-0.0.4 zope.interface-5.1.0
WARNING: You are using pip version 20.1.1; however, version 20.2.1 is available.
You should consider upgrading via the '/opt/conda/bin/python3.7 -m pip install --upgrade pip' command.
dfn = pd.read_csv('../input/preprocess-choc/dfn.csv')
exp1 = setup(dfn, target = 'review_date', feature_selection = True)
Setup Succesfully Completed!
blacklist_models = ['xgboost', 'catboost']