You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this Example, you use the Oracle Cloud Infrastructure (OCI) Data Science service MLJob component to create OCI Feature store design time constructs and then ingest feature values into the offline feature store.
5
+
6
+
Tutorial picks use case of Electronic Heath Data consisting of Patient Test Results. The example demonstrates creation of feature store, entity , transformation and feature group design time constructs using a python script which is provided as job artifact. Another job artifact demonstrates ingestion of feature values into pre-created feature group.
7
+
8
+
# Prerequisites
9
+
10
+
The notebook makes connections to other OCI resources. This is done using [resource principals](https://docs.oracle.com/en-us/iaas/Content/Functions/Tasks/functionsaccessingociresources.htm). If you have not configured your tenancy to use resource principals then you can do so using the instructions that are [here](https://docs.oracle.com/en-us/iaas/data-science/using/create-dynamic-groups.htm). Alternatively, you can use API keys. The preferred method for authentication is resource principals.
11
+
12
+
13
+
# Instructions
14
+
15
+
1. Open a Data Science Notebook session (i.e. JupyterLab).
16
+
1. Open a file terminal by clicking on File -> New -> Terminal.
17
+
1. In the terminal run the following commands:
18
+
1.`odsc conda install -s fspyspark32_p38_cpu_v1` to install the feature store conda.
19
+
1.`conda activate /home/datascience/conda/fspyspark32_p38_cpu_v1` to activate the conda.
20
+
1. Copy the `notebooks` folder into the notebook session.
21
+
1. Open the notebook `notebook/feature_store_using_mljob.ipynb`.
22
+
1. Change the notebook kernel to `Python [conda env:fspyspark32_p38_cpu_v1]`.
23
+
1. Read the notebook and execute each cell.
24
+
1. Once the ml job run is completed successfully, user can validate creation of feature store construct using the feature store notebook ui extension.
25
+
1. Now open the notebook `notebook/feature_store_ingestion_via_mljob.ipynb`.
26
+
1. Change the notebook kernel to `Python [conda env:fspyspark32_p38_cpu_v1]`.
27
+
1. Read the notebook and execute each cell.
28
+
1. validate the ingestion ml job is executed successfully.
29
+
1. User can validate the ingested data and other metadata using the feature store notebook ui extension.
0 commit comments