From ce9b15c31b7ddfbf9b7a9e11521bd0cb7a6c8dd6 Mon Sep 17 00:00:00 2001 From: Jonthan Liberman Date: Tue, 30 Nov 2021 14:19:55 +0200 Subject: [PATCH 1/7] updated_readme --- README.md | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 90b8cf814b..18e50423dd 100644 --- a/README.md +++ b/README.md @@ -51,20 +51,13 @@ pip install deepchecks #--user ``` ### From source -First clone the repository and then install the package from inside the repository's directory: +For latest commit: ```bash -git clone https://github.com/deepchecks/deepchecks.git -cd deepchecks -# for installing stable tag version and not the latest commit to main -git checkout tags/ +pip install git+https://github.com/deepchecks/deepchecks.git ``` -and then either: +For stable tag: ```bash -pip install . -``` -or -```bash -python setup.py install +pip install git+https://github.com/deepchecks/deepchecks.git@ ``` ## Are You Ready to Start Checking? @@ -139,9 +132,8 @@ from sklearn.datasets import load_iris ``` ```python iris_df = load_iris(return_X_y=False, as_frame=True)['frame'] -train_len = round(0.67*len(iris_df)) -df_train = iris_df[:train_len] -df_test = iris_df[train_len:] +label_col = 'target' +df_train, df_test = train_test_split(iris_df, stratify=iris_df[label_col], random_state=0) ``` To run an existing suite all you need to do is import the suite and run it - From 13b63e9318d360e815308027ea28ebdc06ff7022 Mon Sep 17 00:00:00 2001 From: Jonthan Liberman Date: Tue, 30 Nov 2021 14:35:05 +0200 Subject: [PATCH 2/7] updated_readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 18e50423dd..73022c6e25 100644 --- a/README.md +++ b/README.md @@ -51,13 +51,13 @@ pip install deepchecks #--user ``` ### From source -For latest commit: +For latest stable version: ```bash -pip install git+https://github.com/deepchecks/deepchecks.git +pip install git+https://github.com/deepchecks/deepchecks.git@0.0.10 ``` -For stable tag: +For latest commit: ```bash -pip install git+https://github.com/deepchecks/deepchecks.git@ +pip install git+https://github.com/deepchecks/deepchecks.git ``` ## Are You Ready to Start Checking? From 6b9f6c7ee86b55aee8c70aea3581c5ff6dd2b638 Mon Sep 17 00:00:00 2001 From: Jonthan Liberman Date: Tue, 30 Nov 2021 14:46:00 +0200 Subject: [PATCH 3/7] updated_readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 73022c6e25..8c3406311f 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ pip install deepchecks #--user ### From source For latest stable version: ```bash -pip install git+https://github.com/deepchecks/deepchecks.git@0.0.10 +pip install git+https://github.com/deepchecks/deepchecks.git@ ``` For latest commit: ```bash From 998db22cf7d0c474514350ac19c030a12b3cca09 Mon Sep 17 00:00:00 2001 From: Jonthan Liberman Date: Tue, 30 Nov 2021 14:50:56 +0200 Subject: [PATCH 4/7] updated_readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8c3406311f..f1804ce7ed 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ pip install deepchecks #--user ``` ### From source -For latest stable version: +For stable version: ```bash pip install git+https://github.com/deepchecks/deepchecks.git@ ``` From 7d7cf02bb0114bd59049e62d202a722af33eb2b6 Mon Sep 17 00:00:00 2001 From: Jonthan Liberman Date: Tue, 30 Nov 2021 14:51:36 +0200 Subject: [PATCH 5/7] updated_readme --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f1804ce7ed..a0358c5b86 100644 --- a/README.md +++ b/README.md @@ -51,13 +51,20 @@ pip install deepchecks #--user ``` ### From source -For stable version: +First clone the repository and then install the package from inside the repository's directory: ```bash -pip install git+https://github.com/deepchecks/deepchecks.git@ +git clone https://github.com/deepchecks/deepchecks.git +cd deepchecks +# for installing stable tag version and not the latest commit to main +git checkout tags/ ``` -For latest commit: +and then either: ```bash -pip install git+https://github.com/deepchecks/deepchecks.git +pip install . +``` +or +```bash +python setup.py install ``` ## Are You Ready to Start Checking? From 1834d886e116f7fcd394cbac8e325b8e1a441270 Mon Sep 17 00:00:00 2001 From: Jonthan Liberman Date: Tue, 30 Nov 2021 14:52:24 +0200 Subject: [PATCH 6/7] updated_readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a0358c5b86..f5f38af192 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ First clone the repository and then install the package from inside the reposito git clone https://github.com/deepchecks/deepchecks.git cd deepchecks # for installing stable tag version and not the latest commit to main -git checkout tags/ +git checkout tags/ ``` and then either: ```bash From 3977ef3fc33a7793f6939233ac4223c28425e446 Mon Sep 17 00:00:00 2001 From: Jonthan Liberman Date: Tue, 30 Nov 2021 14:59:21 +0200 Subject: [PATCH 7/7] updated_readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f5f38af192..7b08b99f4f 100644 --- a/README.md +++ b/README.md @@ -136,6 +136,7 @@ Let's take the "iris" dataset as an example: ```python import pandas as pd from sklearn.datasets import load_iris +from sklearn.model_selection import train_test_split ``` ```python iris_df = load_iris(return_X_y=False, as_frame=True)['frame']