Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
user_id,event_timestamp,product_rating
1,2021-04-01,4
2,2021-04-01,5
3,2021-04-01,5
4,2021-04-01,1
5,2021-04-01,5
6,2021-04-01,2
7,2021-04-01,5
8,2021-04-01,2
9,2021-04-01,5
10,2021-04-01,3
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
user_id,gender,age,gift_card_balance,number_of_credit_cards,state,tax_rate
1,1,22,100,0,CA,7.5
2,2,17,300,1,CA,7.5
3,1,40,0,2,WA,7.5
4,1,25,100,3,WA,7.5
5,1,33,0,2,PA,0
6,2,19,0,2,CA,7.5
7,2,22,200,1,WA,7.5
8,2,59,300,0,PA,8.5
9,0,80,100,1,WA,8.5
10,0,39,100,0,WA,7.5
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
user_id,purchase_date,purchase_amount
1,2021-01-01,0.33
1,2021-03-03,574.35
1,2021-01-03,796.07
2,2021-01-04,342.15
2,2021-03-05,280.46
2,2021-01-06,664.18
3,2021-01-07,359.02
3,2021-01-08,357.12
3,2021-01-09,845.40
4,2021-01-10,103.92
4,2021-02-21,670.12
4,2021-02-12,698.65
5,2021-01-13,110.52
5,2021-01-14,931.72
5,2021-02-15,388.14
6,2021-01-16,822.96
6,2021-01-17,292.39
6,2021-01-18,524.76
7,2021-01-19,262.00
7,2021-03-20,715.94
7,2021-01-21,345.70
8,2021-01-22,379.00
8,2021-01-23,194.96
8,2021-01-24,862.33
9,2021-01-25,430.41
9,2021-01-26,398.72
9,2021-02-27,158.52
10,2021-01-28,550.01
10,2021-03-02,157.88
10,2021-03-03,528.43
Original file line number Diff line number Diff line change
Expand Up @@ -263,22 +263,10 @@
"source": [
"## Setup necessary environment variables (Skip if using the above Quick Start Template)\n",
"\n",
"You should setup the environment variables in order to run this sample. More environment variables can be set by referring to [feathr_config.yaml](https://github.com/linkedin/feathr/blob/main/feathr_project/feathrcli/data/feathr_user_workspace/feathr_config.yaml) and use that as the source of truth. It also has more explanations on the meaning of each variable."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# os.environ['REDIS_PASSWORD'] = ''\n",
"# os.environ['AZURE_CLIENT_ID'] = ''\n",
"# os.environ['AZURE_TENANT_ID'] = ''\n",
"# os.environ['AZURE_CLIENT_SECRET'] = ''\n",
"You should setup the environment variables in order to run this sample. More environment variables can be set by referring to [feathr_config.yaml](https://github.com/linkedin/feathr/blob/main/feathr_project/feathrcli/data/feathr_user_workspace/feathr_config.yaml) and use that as the source of truth. It also has more explanations on the meaning of each variable.\n",
"\n",
"# # Optional envs if you are using different runtimes\n",
"# os.environ['DATABRICKS_WORKSPACE_TOKEN_VALUE'] = ''"
"To run this notebook, for Azure users, you need AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET and REDIS_PASSWORD.\n",
"To run this notebook, for Databricks useres, you need DATABRICKS_WORKSPACE_TOKEN_VALUE and REDIS_PASSWORD."
]
},
{
Expand Down Expand Up @@ -723,10 +711,10 @@
],
"metadata": {
"interpreter": {
"hash": "830c16c5b424e7ff512f67d4056b67cea1a756a7ad6a92c98b9e2b95c5e484ae"
"hash": "b3c5d8fd79e029a19bf620c04a250a0cafa2291ba3ed87972a3e2a099b099985"
},
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3.9.12 ('product_env': venv)",
"language": "python",
"name": "python3"
},
Expand All @@ -740,7 +728,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.5"
"version": "3.9.12"
}
},
"nbformat": 4,
Expand Down
Loading