forked from IBM/db2-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request IBM#39 from adrianmahjour/master
Removing Outdated Demo and Adding New Demo
- Loading branch information
Showing
10 changed files
with
7,089 additions
and
13,579 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
...ng/Automated AI Model Development with IBM Cloud Pak for Data and Db2/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
This repository holds the dataset and prerequisite notes/instructions required to do a hands-on walkthrough alongside the Db2 with WKC & Watson Studio demo. | ||
|
||
|
||
## Prerequisites | ||
Please complete the following requirements in order to follow along with this demo. | ||
1. Have a Cloud Pak for Data cluster (this demo was not made for the public cloud IBM Cloud) with the Watson Knowledge Catalog and Watson Studio services installed. The Watson Studio should already have the machine learning instance activated | ||
2. `TelcoCustomers.csv` should already be loaded into a Db2 table. For instructions on how to load the Telco dataset into a Db2 table, reference below. | ||
|
||
|
||
## Downloading & Loading the Dataset into a Db2 Table | ||
Download the file TelcoCustomers.csv located in this repository. To load the TELCO dataset into your Db2 table: | ||
|
||
``` | ||
db2start | ||
db2 connnect to <database_name> | ||
db2 "CREATE TABLE <table_schema>.<table_name> ( | ||
"CUSTOMERID" VARCHAR(20 OCTETS) , | ||
"GENDER" VARCHAR(12 OCTETS) , | ||
"EMAIL" VARCHAR(60 OCTETS) , | ||
"PHONENUMBER" VARCHAR(36 OCTETS) , | ||
"SENIORCITIZEN" INTEGER , | ||
"PARTNER" VARCHAR(6 OCTETS) , | ||
"DEPENDENTS" VARCHAR(6 OCTETS) , | ||
"TENURE" INTEGER , | ||
"PHONESERVICE" VARCHAR(6 OCTETS) , | ||
"MULTIPLELINES" VARCHAR(32 OCTETS) , | ||
"INTERNETSERVICE" VARCHAR(22 OCTETS) , | ||
"ONLINESECURITY" VARCHAR(38 OCTETS) , | ||
"ONLINEBACKUP" VARCHAR(38 OCTETS) , | ||
"DEVICEPROTECTION" VARCHAR(38 OCTETS) , | ||
"TECHSUPPORT" VARCHAR(38 OCTETS) , | ||
"STREAMINGTV" VARCHAR(38 OCTETS) , | ||
"STREAMINGMOVIES" VARCHAR(38 OCTETS) , | ||
"CONTRACT" VARCHAR(28 OCTETS) , | ||
"PAPERLESSBILLING" VARCHAR(6 OCTETS) , | ||
"PAYMENTMETHOD" VARCHAR(50 OCTETS) , | ||
"MONTHLYCHARGES" DOUBLE , | ||
"TOTALCHARGES" DOUBLE , | ||
"CHURN" VARCHAR(6 OCTETS) );" | ||
db2 "IMPORT FROM TelcoCustomers.csv OF DEL skipcount 1 INSERT INTO <table.schema>.<table_name>" | ||
``` |
7,044 changes: 7,044 additions & 0 deletions
7,044
...ing/Automated AI Model Development with IBM Cloud Pak for Data and Db2/TelcoCustomers.csv
Large diffs are not rendered by default.
Oops, something went wrong.
1,001 changes: 0 additions & 1,001 deletions
1,001
...k for Data Trained ML Pipeline/Cloud Pak for Data Assets/customer_full_summary_latest.csv
This file was deleted.
Oops, something went wrong.
312 changes: 0 additions & 312 deletions
312
... Pak for Data Trained ML Pipeline/Cloud Pak for Data Assets/customer_segmentation_prep.py
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-1.04 KB
... Cloud Pak for Data Trained ML Pipeline/Cloud Pak for Data Assets/original_csv_dtypes.pkl
Binary file not shown.
10,001 changes: 0 additions & 10,001 deletions
10,001
...with a Cloud Pak for Data Trained ML Pipeline/Cloud Pak for Data Assets/test_data_10K.csv
This file was deleted.
Oops, something went wrong.
285 changes: 0 additions & 285 deletions
285
...b2 Scoring with a Cloud Pak for Data Trained ML Pipeline/Notebooks/Dataset Creation.ipynb
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.