Skip to content

Commit 086e696

Browse files
PR for WMS 7401 (Oracle Machine Learning Fundamentals) (#77)
* New lab on GitHub notebooks added * Update notebook-pulled.png
1 parent 7b2ce84 commit 086e696

38 files changed

+388
-23
lines changed

oml-fun-on-adb/get-started-livelabs/get-started-livelabs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ In this lab, you will learn how to:
4949

5050
## Acknowledgements
5151

52-
* **Author** : Moitreyee Hazarika, Consulting User Assistance Developer, Database User Assistance Development
52+
* **Author** : Moitreyee Hazarika, Consulting User Assistance Developer, Oracle AI Database User Assistance Development
5353

5454
* **Contributors**: Mark Hornick, Senior Director, Data Science and Machine Learning; Marcos Arancibia Coddou, Product Manager, Oracle Data Science; Sherry LaMonica, Consulting Member of Tech Staff, Machine Learning
5555

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"quiz": {
3+
"sport": {
4+
"q1": {
5+
"question": "Which one is correct team name in NBA?",
6+
"options": [
7+
"New York Bulls",
8+
"Los Angeles Kings",
9+
"Golden State Warriros",
10+
"Huston Rocket"
11+
],
12+
"answer": "Huston Rocket"
13+
}
14+
},
15+
"maths": {
16+
"q1": {
17+
"question": "5 + 7 = ?",
18+
"options": [
19+
"10",
20+
"11",
21+
"12",
22+
"13"
23+
],
24+
"answer": "12"
25+
},
26+
"q2": {
27+
"question": "12 - 8 = ?",
28+
"options": [
29+
"1",
30+
"2",
31+
"3",
32+
"4"
33+
],
34+
"answer": "4"
35+
}
36+
}
37+
}
38+
}
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
/* NOTE: Files cannot contain empty lines (line breaks) */
2+
/* Specify the base URL that you copied from your files in OCI Object Storage in the define base_URL line below*/
3+
/* change idthydc0kinr to your real namespace. The name is case-sensitive. */
4+
/* change ADWCLab to your real bucket name. The name is case-sensitive. */
5+
/* change us-phoenix-1 to your real region name. The name is case-sensitive. */
6+
/* you can find these values on the OCI Console .. Storage .. Object Storage screen */
7+
set define on
8+
define base_URL='https://objectstorage.us-phoenix-1.oraclecloud.com/n/idthydc0kinr/b/ADWCLab/o'
9+
/* copy Channels table */
10+
begin
11+
dbms_cloud.copy_data(
12+
table_name =>'CHANNELS',
13+
credential_name =>'OBJ_STORE_CRED',
14+
file_uri_list =>'&base_URL/chan_v3.dat',
15+
format => json_object('ignoremissingcolumns' value 'true', 'removequotes' value 'true')
16+
);
17+
end;
18+
/
19+
/* copy Countries table */
20+
begin
21+
dbms_cloud.copy_data(
22+
table_name =>'COUNTRIES',
23+
credential_name =>'OBJ_STORE_CRED',
24+
file_uri_list =>'&base_URL/coun_v3.dat',
25+
format => json_object('ignoremissingcolumns' value 'true', 'removequotes' value 'true')
26+
);
27+
end;
28+
/
29+
/* Copy customers */
30+
begin
31+
dbms_cloud.copy_data(
32+
table_name =>'CUSTOMERS',
33+
credential_name =>'OBJ_STORE_CRED',
34+
file_uri_list =>'&base_URL/cust1v3.dat',
35+
format => json_object('ignoremissingcolumns' value 'true', 'removequotes' value 'true', 'dateformat' value 'YYYY-MM-DD-HH24-MI-SS')
36+
);
37+
end;
38+
/
39+
begin
40+
dbms_cloud.copy_data(
41+
table_name =>'SUPPLEMENTARY_DEMOGRAPHICS',
42+
credential_name =>'OBJ_STORE_CRED',
43+
file_uri_list =>'&base_URL/dem1v3.dat',
44+
format => json_object('ignoremissingcolumns' value 'true', 'removequotes' value 'true')
45+
);
46+
end;
47+
/
48+
begin
49+
dbms_cloud.copy_data(
50+
table_name =>'SALES',
51+
credential_name =>'OBJ_STORE_CRED',
52+
file_uri_list =>'&base_URL/dmsal_v3.dat',
53+
format => json_object('ignoremissingcolumns' value 'true', 'removequotes' value 'true', 'dateformat' value 'YYYY-MM-DD')
54+
);
55+
end;
56+
/
57+
begin
58+
dbms_cloud.copy_data(
59+
table_name =>'PRODUCTS',
60+
credential_name =>'OBJ_STORE_CRED',
61+
file_uri_list =>'&base_URL/prod1v3.dat',
62+
format => json_object('delimiter' value '|', 'quote' value '^', 'ignoremissingcolumns' value 'true', 'dateformat' value 'YYYY-MM-DD-HH24-MI-SS', 'blankasnull' value 'true')
63+
);
64+
end;
65+
/
66+
begin
67+
dbms_cloud.copy_data(
68+
table_name =>'PROMOTIONS',
69+
credential_name =>'OBJ_STORE_CRED',
70+
file_uri_list =>'&base_URL/prom1v3.dat',
71+
format => json_object('ignoremissingcolumns' value 'true', 'removequotes' value 'true', 'dateformat' value 'YYYY-MM-DD-HH24-MI-SS', 'blankasnull' value 'true')
72+
);
73+
end;
74+
/
75+
begin
76+
dbms_cloud.copy_data(
77+
table_name =>'SALES',
78+
credential_name =>'OBJ_STORE_CRED',
79+
file_uri_list =>'&base_URL/sale1v3.dat',
80+
format => json_object('ignoremissingcolumns' value 'true', 'removequotes' value 'true', 'dateformat' value 'YYYY-MM-DD', 'blankasnull' value 'true')
81+
);
82+
end;
83+
/
84+
begin
85+
dbms_cloud.copy_data(
86+
table_name =>'TIMES',
87+
credential_name =>'OBJ_STORE_CRED',
88+
file_uri_list =>'&base_URL/time_v3.dat',
89+
format => json_object('ignoremissingcolumns' value 'true', 'removequotes' value 'true', 'dateformat' value 'YYYY-MM-DD-HH24-MI-SS', 'blankasnull' value 'true')
90+
);
91+
end;
92+
/
93+
begin
94+
dbms_cloud.copy_data(
95+
table_name =>'COSTS',
96+
credential_name =>'OBJ_STORE_CRED',
97+
file_uri_list =>'&base_URL/costs.dat',
98+
format => json_object('ignoremissingcolumns' value 'true', 'dateformat' value 'YYYY-MM-DD', 'blankasnull' value 'true')
99+
);
100+
end;
101+
/
35.8 KB
Loading
903 Bytes
Loading
109 KB
Loading
115 KB
Loading
83 KB
Loading
21.4 KB
Loading
39.1 KB
Loading

0 commit comments

Comments
 (0)