_ sends the username and password authentication credentials as data in a POST request to the HTTP server\n* _Content-Type_ and _Accept_ define the response format (JSON)\n* _yourusername_ is the user name of a Oracle Machine Learning user with the default OML_DEVELOPER role\n* _yourpassword_ is the password for the user name\n* _oml-cloud-service-url_ is the REST server portion of the Oracle Machine Learning user management cloud service instance\n\nFor example, Oracle Machine Learning user **OMLUSER** with password **OMLPASSWD** and cloud service url **https://qtraya2braestch-omldb.adb.us-sanjose-1.oraclecloudapps.com** authenticates and obtain a REST token using the following approach:\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {
- "oml_server": ""
- },
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "REST API Authentication
\nTo authenticate and obtain a token, use cURL with the -d option to pass the credentials for your Oracle Machine Learning account against the Oracle Machine Learning user management cloud service REST endpoint /oauth2/v1/token.
\n$ curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{\"grant_type\":\"password\", \"username\":\"'<yourusername>'\", \n\"password\":\"' <yourpassword>'\"}' \"<oml-cloud-service-url>/omlusers/api/oauth2/v1/token\"\n
\nwhere
\n\n- -X POST specifies to use a POST request when communicating with the HTTP server
\n- –header defines the headers required for the request (application/json)
\n- -d sends the username and password authentication credentials as data in a POST request to the HTTP server
\n- Content-Type and Accept define the response format (JSON)
\n- yourusername is the user name of a Oracle Machine Learning user with the default OML_DEVELOPER role
\n- yourpassword is the password for the user name
\n- oml-cloud-service-url is the REST server portion of the Oracle Machine Learning user management cloud service instance
\n
\nFor example, Oracle Machine Learning user OMLUSER with password OMLPASSWD and cloud service url https://qtraya2braestch-omldb.adb.us-sanjose-1.oraclecloudapps.com authenticates and obtain a REST token using the following approach:
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_-1694404374",
- "id": "20220701-211935_1822215302",
- "dateCreated": "2020-06-14T18:38:33+0000",
- "dateStarted": "2022-08-01T15:39:21+0000",
- "dateFinished": "2022-08-01T15:39:21+0000",
- "status": "FINISHED",
- "$$hashKey": "object:43"
- },
- {
- "text": "%md\n___________________________________________________________________________________________________________________________________________________________________________________________________________________________\nExport the OML cloud service URL to the environment variable `omlserver`, the OML username to environment variable `username`, and the password to environment variable `password`, then exchange the OML user credentials for an access token using a `cURL` command.\n\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "
\nExport the OML cloud service URL to the environment variable omlserver, the OML username to environment variable username, and the password to environment variable password, then exchange the OML user credentials for an access token using a cURL command.
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_-1728963585",
- "id": "20220701-211935_1235404262",
- "dateCreated": "2020-08-11T23:07:01+0000",
- "dateStarted": "2022-08-01T15:39:21+0000",
- "dateFinished": "2022-08-01T15:39:21+0000",
- "status": "FINISHED",
- "$$hashKey": "object:44"
- },
- {
- "text": "\n$ export omlserver=https://qtraya2braestch-omldb.adb.us-sanjose-1.oraclecloudapps.com\n$ export username=OMLUSER\n$ export password=OMLPASSWD\n\ncurl -i -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{\"grant_type\":\"password\", \"username\":\"'${username}'\", \"password\":\"'${password}'\"}' \"${omlserver}/omlusers/api/oauth2/v1/token\"\n\n HTTP/1.1 200 OK\n Date: Wed, 09 Mar 2022 21:59:16 GMT\n Content-Type: application/json\n Content-Length: 1027\n Connection: keep-alive\n Cache-Control: no-cache, no-store, private\n X-Frame-Options: SAMEORIGIN\n X-XSS-Protection: 1;mode=block\n Strict-Transport-Security: max-age=31536000; includeSubDomains\n X-Content-Type-Options: nosniff\n\n {\"accessToken\":\"eyJhbGciOiJ...\",\"expiresIn\":3600,\"tokenType\":\"Bearer\"}\n\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "results": {},
- "enabled": false
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_-1772971452",
- "id": "20220701-211935_662630565",
- "dateCreated": "2020-08-11T23:04:41+0000",
- "status": "FINISHED",
- "$$hashKey": "object:45"
- },
- {
- "text": "%md \n______________________________________________________________________________________________________________________________________________________________________________________________________________________________\nCopy the `accessToken` field from the response and assign it to variable token, surrounded by single quotes. A token has a lifecycle of 3600 seconds, or 1 hour, and it can be refreshed for up to 8 hours.",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "
\nCopy the accessToken field from the response and assign it to variable token, surrounded by single quotes. A token has a lifecycle of 3600 seconds, or 1 hour, and it can be refreshed for up to 8 hours.
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_-908807997",
- "id": "20220701-211935_1233573648",
- "dateCreated": "2020-08-11T23:07:51+0000",
- "dateStarted": "2022-08-01T15:39:22+0000",
- "dateFinished": "2022-08-01T15:39:22+0000",
- "status": "FINISHED",
- "$$hashKey": "object:46"
- },
- {
- "text": "$ export token='eyJhbGciOiJ...'",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "editorHide": false,
- "results": {},
- "enabled": false
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_854245908",
- "id": "20220701-211935_1131727450",
- "dateCreated": "2020-08-11T23:08:13+0000",
- "status": "FINISHED",
- "$$hashKey": "object:47"
- },
- {
- "title": "Load a Python DataFrame to an Oracle Database table",
- "text": "%md\n______________________________________________________________________________________________________________________________________________________________________________________________________________________________\nUsing the `oml.create` function, create an OML proxy object `IRIS_PY` from the `iris` data. The OML proxy object `IRIS_PY` represents a database table. We first drop the table if already exists, and display the first 6 rows of the `IRIS_PY` proxy object. \n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "
\nUsing the oml.create function, create an OML proxy object IRIS_PY from the iris data. The OML proxy object IRIS_PY represents a database table. We first drop the table if already exists, and display the first 6 rows of the IRIS_PY proxy object.
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_-612926384",
- "id": "20220701-211935_472295975",
- "dateCreated": "2020-06-14T19:55:10+0000",
- "dateStarted": "2022-08-01T15:39:22+0000",
- "dateFinished": "2022-08-01T15:39:22+0000",
- "status": "FINISHED",
- "$$hashKey": "object:48"
- },
- {
- "text": "%python\n\nimport oml\nimport pandas as pd\nfrom sklearn.datasets import load_iris\n\niris = load_iris()\nX = pd.DataFrame(iris.data, \n columns = [\"SEPAL_LENGTH\", \"SEPAL_WIDTH\", \"PETAL_LENGTH\", \"PETAL_WIDTH\"])\ny = pd.DataFrame(list(map(lambda x: {0:'setosa', 1: 'versicolor', 2:'virginica'}[x], iris.target)), \n columns = ['SPECIES'])\n\niris_df = pd.concat([X, y], axis=1)\ntry:\n oml.drop(table='IRIS_PY')\nexcept:\n pass\nIRIS_PY = oml.create(iris_df, table = 'IRIS_PY')\n\nz.show(IRIS_PY.head())\n\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "text",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/undefined",
- "fontSize": 9,
- "editorHide": false,
- "results": {
- "0": {
- "graph": {
- "mode": "table",
- "height": 300,
- "optionOpen": false,
- "setting": {
- "table": {
- "tableGridState": {},
- "tableColumnTypeState": {
- "names": {
- "SEPAL_LENGTH": "string",
- "SEPAL_WIDTH": "string",
- "PETAL_LENGTH": "string",
- "PETAL_WIDTH": "string",
- "SPECIES": "string"
- },
- "updated": false
- },
- "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]",
- "tableOptionValue": {
- "useFilter": false,
- "showPagination": false,
- "showAggregationFooter": false
- },
- "updated": false,
- "initialized": false
- }
- },
- "commonSetting": {}
- }
- }
- },
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "TABLE",
- "data": "SEPAL_LENGTH\tSEPAL_WIDTH\tPETAL_LENGTH\tPETAL_WIDTH\tSPECIES\n4.6\t3.6\t1\t0.2\tsetosa\n5.1\t2.5\t3\t1.1\tversicolor\n6.0\t2.2\t4\t1.0\tversicolor\n5.8\t2.6\t4\t1.2\tversicolor\n5.5\t2.3\t4\t1.3\tversicolor\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_-622627243",
- "id": "20220701-211935_1275955934",
- "dateCreated": "2020-06-14T19:56:19+0000",
- "dateStarted": "2022-08-01T15:39:23+0000",
- "dateFinished": "2022-08-01T15:39:34+0000",
- "status": "FINISHED",
- "$$hashKey": "object:49"
- },
- {
- "title": "Create a Python script and save it to the Python script repository",
- "text": "%md\n\n____________________________________________________________________________________________________________________________________________________________________________________________________________________________\nCreate a function `group_count_py` that returns the counts for each category in the `SPECIES` column. Save the `group_count_py` function to the Python script repository using `oml.script.create`, overwriting any existing script with the same name. The script is invoked from the Python interface, followed by the OML4Py Python and REST APIs for embedded Python execution.\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "
\nCreate a function group_count_py that returns the counts for each category in the SPECIES column. Save the group_count_py function to the Python script repository using oml.script.create, overwriting any existing script with the same name. The script is invoked from the Python interface, followed by the OML4Py Python and REST APIs for embedded Python execution.
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_47057711",
- "id": "20220701-211935_869071384",
- "dateCreated": "2020-06-14T18:31:13+0000",
- "dateStarted": "2022-08-01T15:39:34+0000",
- "dateFinished": "2022-08-01T15:39:34+0000",
- "status": "FINISHED",
- "$$hashKey": "object:50"
- },
- {
- "text": "%python\n\ndef group_count_py(dat):\n import pandas as pd\n return pd.DataFrame([(dat[\"SPECIES\"][0], dat.shape[0])], columns = [\"SPECIES\", \"COUNT\"])\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "text",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/undefined",
- "fontSize": 9,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": []
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656712042931_2103424631",
- "id": "paragraph_1656712042931_2103424631",
- "dateCreated": "2022-07-01T21:47:22+0000",
- "dateStarted": "2022-08-01T15:39:34+0000",
- "dateFinished": "2022-08-01T15:39:34+0000",
- "status": "FINISHED",
- "$$hashKey": "object:51"
- },
- {
- "title": "Run the script in Python",
- "text": "%python\n\ngroup_count_py(iris_df)",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/undefined",
- "fontSize": 9,
- "title": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "TEXT",
- "data": " SPECIES COUNT\n0 setosa 150\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656711237727_641436192",
- "id": "paragraph_1656711237727_641436192",
- "dateCreated": "2022-07-01T21:33:57+0000",
- "dateStarted": "2022-08-01T15:39:34+0000",
- "dateFinished": "2022-08-01T15:39:34+0000",
- "status": "FINISHED",
- "$$hashKey": "object:52"
- },
- {
- "text": "%python\n\ngroup_count_py = \"\"\"def group_count_py(dat):\n import oml\n import pandas as pd\n return pd.DataFrame([(dat[\"SPECIES\"][0], dat.shape[0])], columns = [\"SPECIES\", \"COUNT\"])\"\"\"\n\n\noml.script.create(\"group_count_py\", func=group_count_py, overwrite=True) \n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "text",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/undefined",
- "fontSize": 9,
- "editorHide": false,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": []
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_-233208377",
- "id": "20220701-211935_1452261409",
- "dateCreated": "2020-06-14T20:17:35+0000",
- "dateStarted": "2022-08-01T15:39:35+0000",
- "dateFinished": "2022-08-01T15:39:35+0000",
- "status": "FINISHED",
- "$$hashKey": "object:53"
- },
- {
- "title": "View the Python script in the script repository",
- "text": "%md\n\nTo check for the existence of the saved `group_count_py` script from the OML4Py Python interface, run the function `oml.script.dir`.",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "To check for the existence of the saved group_count_py script from the OML4Py Python interface, run the function oml.script.dir.
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_1166399989",
- "id": "20220701-211935_1596588315",
- "dateCreated": "2020-06-15T21:48:12+0000",
- "dateStarted": "2022-08-01T15:39:35+0000",
- "dateFinished": "2022-08-01T15:39:35+0000",
- "status": "FINISHED",
- "$$hashKey": "object:54"
- },
- {
- "text": "%python\n\noml.script.dir(sctype='all')[['name', 'owner']]\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "text",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/undefined",
- "fontSize": 9,
- "editorHide": false,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "TEXT",
- "data": " name owner\n0 build_lm_py OMLUSER\n1 group_count_py OMLUSER\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_-1502485307",
- "id": "20220701-211935_190987484",
- "dateCreated": "2020-06-15T21:50:56+0000",
- "dateStarted": "2022-08-01T15:39:35+0000",
- "dateFinished": "2022-08-01T15:39:35+0000",
- "status": "FINISHED",
- "$$hashKey": "object:55"
- },
- {
- "title": "Run the script using group_apply",
- "text": "%md\n\nThe `group_apply` function runs a user-defined function on data grouped by a specified column in the database environment. In this case, the grouping column is `SPECIES` and the script is `group_count_py`.\n\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "The group_apply function runs a user-defined function on data grouped by a specified column in the database environment. In this case, the grouping column is SPECIES and the script is group_count_py.
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657060920645_1371888580",
- "id": "paragraph_1657060920645_1371888580",
- "dateCreated": "2022-07-05T22:42:00+0000",
- "dateStarted": "2022-08-01T15:39:36+0000",
- "dateFinished": "2022-08-01T15:39:36+0000",
- "status": "FINISHED",
- "$$hashKey": "object:56"
- },
- {
- "text": "%python\n\nindex = IRIS_PY['SPECIES']\n\nres = oml.group_apply(IRIS_PY, index, func=group_count_py, oml_input_type=\"pandas.DataFrame\")\n\nres",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "text",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/undefined",
- "fontSize": 9,
- "results": {
- "0": {
- "graph": {
- "mode": "table",
- "height": 300,
- "optionOpen": false,
- "setting": {
- "table": {
- "tableGridState": {},
- "tableColumnTypeState": {
- "names": {
- "SPECIES": "string",
- "SEPAL_LENGTH": "string",
- "COUNT": "string"
- },
- "updated": false
- },
- "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]",
- "tableOptionValue": {
- "useFilter": false,
- "showPagination": false,
- "showAggregationFooter": false
- },
- "updated": false,
- "initialized": false
- }
- },
- "commonSetting": {}
- }
- }
- },
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "TEXT",
- "data": "{'virginica': SPECIES COUNT\n0 virginica 50, 'setosa': SPECIES COUNT\n0 setosa 50, 'versicolor': SPECIES COUNT\n0 versicolor 50}\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_1475070891",
- "id": "20220701-211935_2144415557",
- "dateCreated": "2020-06-14T21:10:59+0000",
- "dateStarted": "2022-08-01T15:39:36+0000",
- "dateFinished": "2022-08-01T15:39:37+0000",
- "status": "FINISHED",
- "$$hashKey": "object:57"
- },
- {
- "text": "%md\n\n### **Synchronous REST API calls**",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {
- "oml_server": "",
- "token": ""
- },
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "Synchronous REST API calls
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_1263326668",
- "id": "20220701-211935_600075097",
- "dateCreated": "2020-06-10T19:08:58+0000",
- "dateStarted": "2022-08-01T15:39:38+0000",
- "dateFinished": "2022-08-01T15:39:38+0000",
- "status": "FINISHED",
- "$$hashKey": "object:58"
- },
- {
- "title": "View script in the Python script repository using REST",
- "text": "%md\n\nVerify the existence of `group_count_py` in the script repository again, this time using the REST API with `cURL`. Send a GET request to the scripts endpoint, and the scripts available to the OML user are returned in JSON format.\n\nNote, the default REST API execution mode is synchronous, so code execution will wait for the REST API call to return before additional calls may be initiated.",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "Verify the existence of group_count_py in the script repository again, this time using the REST API with cURL. Send a GET request to the scripts endpoint, and the scripts available to the OML user are returned in JSON format.
\nNote, the default REST API execution mode is synchronous, so code execution will wait for the REST API call to return before additional calls may be initiated.
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656713836978_1113346416",
- "id": "paragraph_1656713836978_1113346416",
- "dateCreated": "2022-07-01T22:17:16+0000",
- "dateStarted": "2022-08-01T15:39:38+0000",
- "dateFinished": "2022-08-01T15:39:38+0000",
- "status": "FINISHED",
- "$$hashKey": "object:59"
- },
- {
- "text": "\r\n$ curl -X GET --header \"Authorization: Bearer ${token}\" --header 'Accept: application/json' \"${omlserver}/oml/api/py-scripts/v1/scripts\" | jq '.result[] | .name + \" \" + .owner'\r\n\r\n HTTP/1.1 200 OK\r\n Date: Wed, 09 Mar 2022 21:44:39 GMT\r\n Content-Type: application/json\r\n Transfer-Encoding: chunked\r\n Connection: keep-alive\r\n Cache-Control: no-cache, no-store, private\r\n X-Frame-Options: SAMEORIGIN\r\n X-XSS-Protection: 1;mode=block\r\n Strict-Transport-Security: max-age=31536000; includeSubDomains\r\n X-Content-Type-Options: nosniff\r\n\r\n \"group_count OWNER\"",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "results": {},
- "enabled": false
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_1350713939",
- "id": "20220701-211935_1436144483",
- "dateCreated": "2020-08-11T23:42:57+0000",
- "status": "FINISHED",
- "$$hashKey": "object:60"
- },
- {
- "text": "%md\n\nInvoke the `group_count` function in the script repository from the REST API. Set `parallelFlag` to true to leverage database parallelism.\n\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "Invoke the group_count function in the script repository from the REST API. Set parallelFlag to true to leverage database parallelism.
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_1303382259",
- "id": "20220701-211935_1513366034",
- "dateCreated": "2020-06-15T22:12:33+0000",
- "dateStarted": "2022-08-01T15:39:38+0000",
- "dateFinished": "2022-08-01T15:39:38+0000",
- "status": "FINISHED",
- "$$hashKey": "object:61"
- },
- {
- "text": "\n\n\n$ curl -i -X POST --header \"Authorization: Bearer ${token}\" --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{\"input\":\"select * from IRIS\", \"parameters\":\"{\\\"oml_input_type\\\":\\\"pandas.DataFrame\\\"}\", \"groupBy\":\"SPECIES\", \"orderBy\":\"SEPAL_LENGTH\", \"parallelFlag\":true}' \"${omlserver}/oml/api/py-scripts/v1/group-apply/group_count\"\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "results": {},
- "enabled": false
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_-76982211",
- "id": "20220701-211935_1076519252",
- "dateCreated": "2020-08-07T16:40:17+0000",
- "status": "FINISHED",
- "$$hashKey": "object:62"
- },
- {
- "text": "%md\n\n\nThe result of the REST execution is a JSON representation of the value returned from the Python script. Dataframes, lists, and dictionaries and PNG images are supported. The returned value is:\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "The result of the REST execution is a JSON representation of the value returned from the Python script. Dataframes, lists, and dictionaries and PNG images are supported. The returned value is:
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_315734315",
- "id": "20220701-211935_1077171371",
- "dateCreated": "2020-08-11T23:46:39+0000",
- "dateStarted": "2022-08-01T15:39:39+0000",
- "dateFinished": "2022-08-01T15:39:39+0000",
- "status": "FINISHED",
- "$$hashKey": "object:63"
- },
- {
- "text": "\n\n\n{\"result\":{\"versicolor_8\":{\"SEPAL_LENGTH\":{\"0\":5.7},\"SPECIES\":{\"0\":\"versicolor\"},\"CNT\":{\"0\":5}},\"versicolor_7\":{\"SEPAL_LENGTH\":{\"0\":5.6},\"SPECIES\":{\"0\":\"versicolor\"},\"CNT\":{\"0\":2}},\"virginica_20\":{\"SEPAL_LENGTH\":{\"0\":6.7},\"SPECIES\":{\"0\":\"virginica\"},.....\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "results": {},
- "enabled": false
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_576585122",
- "id": "20220701-211935_1538098437",
- "dateCreated": "2020-08-11T23:46:57+0000",
- "status": "FINISHED",
- "$$hashKey": "object:64"
- },
- {
- "text": "%md\n\n### **Asynchronous REST API calls**\n\nAsynchronous calls do not wait for the result to return from the server. If the Python script is performing long running computations, results will not be immediate and the user may want to use asynchronous calls to continue development on the client.\n\nThe asynchronous call's returned results are included in the response header. Display the response header by passing the `-i` flag to the `cURL` command. Asynchronous calls have a default timeout of 1800 seconds, or 30 minutes, and can be extended up to 12 hours. Set the `asyncFlag` to `true` to run asynchronous calls from the REST API.\n\n\n\n ",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {
- "token": "",
- "oml_server": ""
- },
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "Asynchronous REST API calls
\nAsynchronous calls do not wait for the result to return from the server. If the Python script is performing long running computations, results will not be immediate and the user may want to use asynchronous calls to continue development on the client.
\nThe asynchronous call's returned results are included in the response header. Display the response header by passing the -i flag to the cURL command. Asynchronous calls have a default timeout of 1800 seconds, or 30 minutes, and can be extended up to 12 hours. Set the asyncFlag to true to run asynchronous calls from the REST API.
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_-879204689",
- "id": "20220701-211935_552736976",
- "dateCreated": "2020-06-10T19:10:49+0000",
- "dateStarted": "2022-08-01T15:39:40+0000",
- "dateFinished": "2022-08-01T15:39:40+0000",
- "status": "FINISHED",
- "$$hashKey": "object:65"
- },
- {
- "text": "\n\n$ curl -i -X POST --header \"Authorization: Bearer ${token}\" --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{\"asyncFlag\":true, \"input\":\"select * from IRIS\", \"parameter\":\"{\\\"oml_input_type\\\":\\“pandas.DataFrame\\\"}\", \"groupBy\":\"SPECIES\", \"parallelFlag\":true}' \"${omlserver}/oml/api/py-scripts/v1/group-apply/group_count_py\"\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "results": {},
- "enabled": false
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_-1732335601",
- "id": "20220701-211935_868351323",
- "dateCreated": "2020-08-11T23:48:30+0000",
- "status": "FINISHED",
- "$$hashKey": "object:66"
- },
- {
- "title": "Perform an asynchronous REST call with a timeout of 300 seconds, or 5 minutes",
- "text": "%md\r\n\r\nBelow is the equivalent asynchronous REST call with a timeout of 300 seconds, or 5 minutes. The output includes the HTTP 201 status code indicating the job was created, and a job id location that can be polled for status and results.\r\n\r\nThe `timeout` flag is used to change the default timeout setting.",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "Below is the equivalent asynchronous REST call with a timeout of 300 seconds, or 5 minutes. The output includes the HTTP 201 status code indicating the job was created, and a job id location that can be polled for status and results.
\nThe timeout flag is used to change the default timeout setting.
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_1821911865",
- "id": "20220701-211935_1362257540",
- "dateCreated": "2020-08-11T23:49:32+0000",
- "dateStarted": "2022-08-01T15:39:40+0000",
- "dateFinished": "2022-08-01T15:39:40+0000",
- "status": "FINISHED",
- "$$hashKey": "object:67"
- },
- {
- "text": "\n\n$ curl -i -X POST --header \"Authorization: Bearer ${token}\" --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{\"asyncFlag\":true,\"timeout\":300, \"input\":\"select * from IRIS\", \"parameter\":\"{\\\"oml_input_type\\\":\\\"pandas.DataFrame\\\"}\", \"groupBy\":\"SPECIES\", \"parallelFlag\":true}' \"${omlserver}/oml/api/py-scripts/v1/group-apply/group_count_py\"\n\n HTTP/1.1 201 Created\n Location: $ {oml_server}/oml/tenants/MYTENANT/databases/MYADW/api/py-scripts/v1/\n Cache-Control: no-cache, no-store, private\n Content-Length: 0\n X-Frame-Options: SAMEORIGIN\n Proxy-Connection: Keep-Alive\n X-XSS-Protection: 1;mode=block\n X-Content-Type-Options: nosniff\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "results": {},
- "enabled": false
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_-1049760695",
- "id": "20220701-211935_1719682058",
- "dateCreated": "2020-08-11T23:49:59+0000",
- "status": "FINISHED",
- "$$hashKey": "object:68"
- },
- {
- "title": "Poll the job status",
- "text": "%md\n\nTo poll the job status, pass the job ID location to the jobs endpoint using the GET method. The HTTP response status 302 indicates the running job is found and includes a job id location for future results.\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "To poll the job status, pass the job ID location to the jobs endpoint using the GET method. The HTTP response status 302 indicates the running job is found and includes a job id location for future results.
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_-1079793725",
- "id": "20220701-211935_1443161234",
- "dateCreated": "2020-06-15T22:41:51+0000",
- "dateStarted": "2022-08-01T15:39:41+0000",
- "dateFinished": "2022-08-01T15:39:41+0000",
- "status": "FINISHED",
- "$$hashKey": "object:69"
- },
- {
- "text": "\n$ curl -i -X GET --header \"Authorization: Bearer ${token}\" --header 'Accept: application/json' ${omlserver}/oml/api/py-scripts/v1/jobs/\n\n HTTP/1.1 302 Found\n Date: Wed, 09 Mar 2022 13:04:04 GMT\n Server: nginx/1.18.0\n Cache-Control: no-cache, no-store, private\n Content-Length: 0\n X-Frame-Options: SAMEORIGIN\n Content-Location: http:///oml/tenants/TENANT1/databases/ADWP/api/py-scripts/v1//result\n Proxy-Connection: Keep-Alive\n X-XSS-Protection: 1;mode=block\n X-Content-Type-Options: nosniff",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "results": {},
- "enabled": false
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_720143535",
- "id": "20220701-211935_1779691564",
- "dateCreated": "2020-08-11T23:55:20+0000",
- "status": "FINISHED",
- "$$hashKey": "object:70"
- },
- {
- "title": "Poll the job at the results location",
- "text": "\r\n$ curl -i -X GET --header \"Authorization: Bearer ${token}\" --header 'Accept: application/json' ${omlserver}/oml/api/py-scripts/v1/jobs//result\r\n\r\n\r\n HTTP/1.1 200 OK\r\n Date: Wed, 09 Mar 2022 13:06:05 GMT\r\n Server: nginx/1.18.0\r\n Content-Type: application/json\r\n Cache-Control: no-cache, no-store, private\r\n Content-Length: 1038\r\n X-Frame-Options: SAMEORIGIN\r\n Proxy-Connection: Keep-Alive\r\n X-XSS-Protection: 1;mode=block\r\n X-Content-Type-Options: nosniff",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "title": true,
- "results": {},
- "enabled": false
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_1111047527",
- "id": "20220701-211935_1276320936",
- "dateCreated": "2020-08-11T23:57:32+0000",
- "status": "FINISHED",
- "$$hashKey": "object:71"
- },
- {
- "text": "%md\n\nThe returned value is:\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "The returned value is:
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_175250465",
- "id": "20220701-211935_1036141004",
- "dateCreated": "2020-08-11T23:58:58+0000",
- "dateStarted": "2022-08-01T15:39:41+0000",
- "dateFinished": "2022-08-01T15:39:41+0000",
- "status": "FINISHED",
- "$$hashKey": "object:72"
- },
- {
- "text": "\n\n\n{\"result\":{\"versicolor_8\":{\"SEPAL_LENGTH\":{\"0\":5.7},\"SPECIES\":{\"0\":\"versicolor\"},\"CNT\":{\"0\":5}},\"versicolor_7\":{\"SEPAL_LENGTH\":{\"0\":5.6},\"SPECIES\":{\"0\":\"versicolor\"},\"CNT\":{\"0\":2}},\"virginica_20\":{\"SEPAL_LENGTH\":{\"0\":6.7},\"SPECIES\":{\"0\":\"virginica\"},.....\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "results": {},
- "enabled": false
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_-1731593710",
- "id": "20220701-211935_1210406088",
- "dateCreated": "2020-08-11T23:59:11+0000",
- "status": "FINISHED",
- "$$hashKey": "object:73"
- },
- {
- "title": "Returning model details from the REST API",
- "text": "%md\n\n\nLet's create a linear model script and run it from the REST API. First, we'll define our function, `build_lm_py`, which returns a dict mapping of the model attributes. Note that the model itself cannot be returned directly from REST because LinearRegression model objects are not JSON-serializable. \n\n\n\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "Let's create a linear model script and run it from the REST API. First, we'll define our function, build_lm_py, which returns a dict mapping of the model attributes. Note that the model itself cannot be returned directly from REST because LinearRegression model objects are not JSON-serializable.
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_1954297624",
- "id": "20220701-211935_1560951469",
- "dateCreated": "2020-08-18T21:01:09+0000",
- "dateStarted": "2022-08-01T15:39:42+0000",
- "dateFinished": "2022-08-01T15:39:42+0000",
- "status": "FINISHED",
- "$$hashKey": "object:74"
- },
- {
- "text": "%python\n\nbuild_lm_py = \"\"\"def build_py(dat):\n from sklearn import linear_model\n import oml\n regr = linear_model.LinearRegression()\n import pandas as pd\n dat = pd.get_dummies(dat, drop_first=True)\n X = dat[[\"SEPAL_WIDTH\", \"PETAL_LENGTH\", \"PETAL_WIDTH\", \"SPECIES_versicolor\", \"SPECIES_virginica\"]]\n y = dat[[\"SEPAL_LENGTH\"]]\n regr.fit(X, y)\n data = {}\n data[\"init_params\"] = regr.get_params()\n data[\"model_params\"] = mp = {}\n for p in (\"coef_\", \"intercept_\", \"_residues\", \"singular_\"):\n mp[p] = getattr(regr, p).tolist()\n return data\"\"\"\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "text",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/undefined",
- "fontSize": 9,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": []
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_425530666",
- "id": "20220701-211935_153656312",
- "dateCreated": "2020-08-18T21:26:57+0000",
- "dateStarted": "2022-08-01T15:39:42+0000",
- "dateFinished": "2022-08-01T15:39:42+0000",
- "status": "FINISHED",
- "$$hashKey": "object:75"
- },
- {
- "title": "Save the script to the Python script repository",
- "text": "%python\n\noml.script.create(\"build_lm_py\", func=build_lm_py, overwrite=True) \n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "text",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/undefined",
- "fontSize": 9,
- "title": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": []
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_441791799",
- "id": "20220701-211935_1143665701",
- "dateCreated": "2020-08-18T20:16:08+0000",
- "dateStarted": "2022-08-01T15:39:43+0000",
- "dateFinished": "2022-08-01T15:39:43+0000",
- "status": "FINISHED",
- "$$hashKey": "object:76"
- },
- {
- "text": "%md\n_________________________________________________________________________________________________________________________________________________________________________________________________________________________\nNow invoke the build_lm_rest_py function from the REST API in asynchronous mode.\n\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "
\nNow invoke the build_lm_rest_py function from the REST API in asynchronous mode.
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_-1945409867",
- "id": "20220701-211935_1224302943",
- "dateCreated": "2020-08-18T21:35:47+0000",
- "dateStarted": "2022-08-01T15:39:43+0000",
- "dateFinished": "2022-08-01T15:39:43+0000",
- "status": "FINISHED",
- "$$hashKey": "object:77"
- },
- {
- "text": "\n\n$ curl -i -X POST --header \"Authorization: Bearer ${token}\" --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{\"input\":\"select * from IRIS\", \"parameters\":\"{\\\"oml_input_type\\\":\\\"pandas.DataFrame\\\"}\"}' \"${omlserver}/oml/api/py-scripts/v1/table-apply/build_lm_py\"\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "results": {},
- "enabled": false
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_-529279554",
- "id": "20220701-211935_96720099",
- "dateCreated": "2020-08-20T20:39:17+0000",
- "status": "FINISHED",
- "$$hashKey": "object:78"
- },
- {
- "text": "%md\n\nThe returned value is a dict containing model attributes.",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "The returned value is a dict containing model attributes.
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_-1252944791",
- "id": "20220701-211935_2026652044",
- "dateCreated": "2020-08-18T21:38:20+0000",
- "dateStarted": "2022-08-01T15:39:43+0000",
- "dateFinished": "2022-08-01T15:39:43+0000",
- "status": "FINISHED",
- "$$hashKey": "object:79"
- },
- {
- "text": "\n{\"result\":{\"init_params\":{\"fit_intercept\":true,\"n_jobs\":null,\"normalize\":false,\"copy_X\":true},\"model_params\":{\"intercept_\":[2.1712662921550736],\"_residues\":[13.556485081974792],\"coef_\":[[0.4958889383885511,0.8292439122348054,-0.315155173326473,-0.7235619577807288,-1.0234978144908309]],\"singular_\":[23.873627650888057,7.279716799977891,4.192696791126727,2.194192042042924,0.7289542732694926]}}}",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "results": {},
- "enabled": false
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_243743032",
- "id": "20220701-211935_1747218128",
- "dateCreated": "2020-08-18T20:56:59+0000",
- "status": "FINISHED",
- "$$hashKey": "object:80"
- },
- {
- "text": "%md\n# End of Script",
- "user": "OMLUSER",
- "dateUpdated": "2022-08-01T15:39:44+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "End of Script
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1656710375533_1881413655",
- "id": "20220701-211935_1935399931",
- "dateCreated": "2020-06-10T19:13:37+0000",
- "dateStarted": "2022-08-01T15:39:44+0000",
- "dateFinished": "2022-08-01T15:39:44+0000",
- "status": "FINISHED",
- "$$hashKey": "object:81"
- }
- ],
- "name": "OML4Py REST API",
- "id": "19315",
- "defaultInterpreterGroup": "spark",
- "noteParams": {},
- "noteForms": {
- "oml_server": {
- "type": "FormInput",
- "name": "oml_server",
- "defaultValue": "",
- "hidden": false
- }
- },
- "angularObjects": {},
- "config": {
- "looknfeel": "default",
- "personalizedMode": "false"
- },
- "info": {
- "isRunning": false
- },
- "path": "/OML4Py REST API"
-}
\ No newline at end of file
diff --git a/machine-learning/notebooks/r/OML4SQL Feature Extraction ESA Wiki Model.json b/machine-learning/notebooks/r/OML4SQL Feature Extraction ESA Wiki Model.json
deleted file mode 100644
index 8f3beb75..00000000
--- a/machine-learning/notebooks/r/OML4SQL Feature Extraction ESA Wiki Model.json
+++ /dev/null
@@ -1,1377 +0,0 @@
-{
- "paragraphs": [
- {
- "text": "%md\n\n## Explicit Semantic Analysis (ESA) for Text Analytics\n\nExplicit Semantic Analysis (ESA) is an unsupervised algorithm for feature extraction of explicit features based on an existing knowledge base. It is the process of understanding the meaning of a section of text as a combination of the concepts found in the text. Compared to other techniques such as Latent Dirichlet Association (LDA) or Term Frequency-Inverse Document Frequency (TF-IDF), ESA offers some unique benefits. Most notably, it improves text document categorization by calculating *semantic relatedness* (how similar in meaning two words or pieces of text are to each other) between the documents and a set of topics that are explicitly defined and described by humans.\n\nOracle Machine Learning for SQL ESA extracts text-based features from a corpus of documents and performs document similarity comparisons. In this notebook, we'll use the Wikipedia Model as an example:\n\n- Create an ESA model object for the pre-loaded Wikipedia model \n- Examples of using the Wiki ESA model\n- Basic ESA Wiki model features for words\n- Basic ESA Wiki model features for phrases\n- ESA Wiki Model document similarity on phrases\n- ESA Wiki Model document similarity on long phrases\n\n*Note: The pre-built Wikipedia model must be installed in your Autonomous Database instance to run this notebook. See instructions below.*\n\nCopyright (c) 2022 Oracle Corporation \n###### The Universal Permissive License (UPL), Version 1.0\n---",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:02+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "results": {},
- "graph": {
- "mode": "table",
- "height": 300,
- "optionOpen": false,
- "keys": [],
- "values": [],
- "groups": [],
- "scatter": {}
- },
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "Explicit Semantic Analysis (ESA) for Text Analytics
\nExplicit Semantic Analysis (ESA) is an unsupervised algorithm for feature extraction of explicit features based on an existing knowledge base. It is the process of understanding the meaning of a section of text as a combination of the concepts found in the text. Compared to other techniques such as Latent Dirichlet Association (LDA) or Term Frequency-Inverse Document Frequency (TF-IDF), ESA offers some unique benefits. Most notably, it improves text document categorization by calculating semantic relatedness (how similar in meaning two words or pieces of text are to each other) between the documents and a set of topics that are explicitly defined and described by humans.
\nOracle Machine Learning for SQL ESA extracts text-based features from a corpus of documents and performs document similarity comparisons. In this notebook, we'll use the Wikipedia Model as an example:
\n\n- Create an ESA model object for the pre-loaded Wikipedia model
\n- Examples of using the Wiki ESA model
\n- Basic ESA Wiki model features for words
\n- Basic ESA Wiki model features for phrases
\n- ESA Wiki Model document similarity on phrases
\n- ESA Wiki Model document similarity on long phrases
\n
\nNote: The pre-built Wikipedia model must be installed in your Autonomous Database instance to run this notebook. See instructions below.
\nCopyright (c) 2022 Oracle Corporation
\n\n
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_1962901923",
- "id": "20220711-195144_1876911279",
- "dateCreated": "2021-07-26T17:54:53+0000",
- "dateStarted": "2022-07-29T19:21:02+0000",
- "dateFinished": "2022-07-29T19:21:02+0000",
- "status": "FINISHED",
- "focus": true,
- "$$hashKey": "object:41"
- },
- {
- "title": "For more information...",
- "text": "%md\n\nOracle ADW Documentation https://docs.oracle.com/en/cloud/paas/autonomous-data-warehouse-cloud/index.html\nOML folder on Oracle Github : https://github.com/oracle/oracle-db-examples/tree/master/machine-learning\nOML web page: https://www.oracle.com/machine-learning\nOML Explicit Semantic Analysis: https://www.oracle.com/goto/ml-explicit-semantic-analysis",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:02+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "Oracle ADW Documentation https://docs.oracle.com/en/cloud/paas/autonomous-data-warehouse-cloud/index.html\n
OML folder on Oracle Github : https://github.com/oracle/oracle-db-examples/tree/master/machine-learning\n
OML web page: https://www.oracle.com/machine-learning\n
OML Explicit Semantic Analysis: https://www.oracle.com/goto/ml-explicit-semantic-analysis
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_1510123163",
- "id": "20220711-195144_1899655580",
- "dateCreated": "2021-07-26T18:02:52+0000",
- "dateStarted": "2022-07-29T19:21:03+0000",
- "dateFinished": "2022-07-29T19:21:03+0000",
- "status": "FINISHED",
- "$$hashKey": "object:42"
- },
- {
- "text": "%md\n\n# Using the Wikipedia model as an example\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:03+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "Using the Wikipedia model as an example
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_1861342843",
- "id": "20220711-195144_1673378363",
- "dateCreated": "2021-07-26T17:55:37+0000",
- "dateStarted": "2022-07-29T19:21:03+0000",
- "dateFinished": "2022-07-29T19:21:03+0000",
- "status": "FINISHED",
- "$$hashKey": "object:43"
- },
- {
- "title": "Delete existing policies and create new policies for the Wiki Lexer",
- "text": "%script\n\nBEGIN CTX_DDL.DROP_POLICY('WIKI_TXTPOL'); \n EXCEPTION WHEN OTHERS THEN NULL; \nEND;\n\nBEGIN CTX_DDL.DROP_PREFERENCE( 'WIKI_LEXER'); \n EXCEPTION WHEN OTHERS THEN NULL; \nEND;\n\nBEGIN CTX_DDL.CREATE_PREFERENCE('WIKI_LEXER', \n 'BASIC_LEXER'); \nEND;\n\nBEGIN CTX_DDL.SET_ATTRIBUTE('WIKI_LEXER', \n 'INDEX_STEMS', \n 'ENGLISH'); \nEND;\n\nBEGIN CTX_DDL.CREATE_POLICY(POLICY_NAME => 'WIKI_TXTPOL', \n LEXER => 'WIKI_LEXER'); \nEND;",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:03+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "plsql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/plsql",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {},
- "enabled": false
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_1852237015",
- "id": "20220711-195144_280853696",
- "dateCreated": "2021-07-26T18:06:50+0000",
- "status": "FINISHED",
- "$$hashKey": "object:44"
- },
- {
- "text": "%md\n\n### The pre-built Wikipedia model must be loaded to the Oracle Autonomous Database. It is a relatively large model object at 800 MB.\n#### Follow the setup in template notebook *OML Import ESA Wiki Model*\n\n#### Relevant Oracle blogs:\n1. New Wikipedia-Based Cognitive Model Available for Text Processing \n2. Text Analytics using a pre-built Wikipedia-based Topic Model \n3. Explicit Semantic Analysis (ESA) for Text Analytics ",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:03+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "The pre-built Wikipedia model must be loaded to the Oracle Autonomous Database. It is a relatively large model object at 800 MB.
\nFollow the setup in template notebook OML Import ESA Wiki Model
\nRelevant Oracle blogs:
\n\n- New Wikipedia-Based Cognitive Model Available for Text Processing
\n- Text Analytics using a pre-built Wikipedia-based Topic Model
\n- Explicit Semantic Analysis (ESA) for Text Analytics
\n
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_-69001852",
- "id": "20220711-195144_80971876",
- "dateCreated": "2021-07-26T18:07:52+0000",
- "dateStarted": "2022-07-29T19:21:04+0000",
- "dateFinished": "2022-07-29T19:21:04+0000",
- "status": "FINISHED",
- "$$hashKey": "object:45"
- },
- {
- "title": "Check to see if the pre-loaded model is available",
- "text": "%sql\n\n-- We should expect one row with the model WIKI_MODEL\nSELECT MODEL_NAME, MINING_FUNCTION, ALGORITHM, ALGORITHM_TYPE, CREATION_DATE FROM USER_MINING_MODELS WHERE MODEL_NAME='WIKI_MODEL'\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:04+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {
- "0": {
- "graph": {
- "mode": "table",
- "height": 105,
- "optionOpen": false,
- "setting": {
- "table": {
- "tableGridState": {},
- "tableColumnTypeState": {
- "names": {
- "MODEL_NAME": "string",
- "MINING_FUNCTION": "string",
- "ALGORITHM": "string",
- "ALGORITHM_TYPE": "string",
- "CREATION_DATE": "string"
- },
- "updated": false
- },
- "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]",
- "tableOptionValue": {
- "useFilter": false,
- "showPagination": false,
- "showAggregationFooter": false
- },
- "updated": false,
- "initialized": false
- }
- },
- "commonSetting": {}
- }
- }
- },
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "TABLE",
- "data": "MODEL_NAME\tMINING_FUNCTION\tALGORITHM\tALGORITHM_TYPE\tCREATION_DATE\nWIKI_MODEL\tFEATURE_EXTRACTION\tEXPLICIT_SEMANTIC_ANALYS\tNATIVE\t2022-07-29 16:32:50\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_-2131052979",
- "id": "20220711-195144_642232307",
- "dateCreated": "2021-07-26T18:10:21+0000",
- "dateStarted": "2022-07-29T19:21:04+0000",
- "dateFinished": "2022-07-29T19:21:04+0000",
- "status": "FINISHED",
- "$$hashKey": "object:46"
- },
- {
- "title": "Display model settings",
- "text": "%sql\n\nSELECT SETTING_NAME, SETTING_VALUE, SETTING_TYPE AS TYPE\n FROM USER_MINING_MODEL_SETTINGS\n WHERE MODEL_NAME = 'WIKI_MODEL'\nORDER BY SETTING_NAME;",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:04+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {
- "0": {
- "graph": {
- "mode": "table",
- "height": 300,
- "optionOpen": false,
- "setting": {
- "table": {
- "tableGridState": {},
- "tableColumnTypeState": {
- "names": {
- "SETTING_NAME": "string",
- "SETTING_VALUE": "string",
- "TYPE": "string"
- },
- "updated": false
- },
- "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]",
- "tableOptionValue": {
- "useFilter": false,
- "showPagination": false,
- "showAggregationFooter": false
- },
- "updated": false,
- "initialized": false
- }
- },
- "commonSetting": {}
- }
- }
- },
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "TABLE",
- "data": "SETTING_NAME\tSETTING_VALUE\tTYPE\nALGO_NAME\tALGO_EXPLICIT_SEMANTIC_ANALYS\tINPUT\nESAS_MIN_ITEMS\t25\tINPUT\nESAS_TOPN_FEATURES\t1000\tINPUT\nESAS_VALUE_THRESHOLD\t.00000001\tDEFAULT\nODMS_DETAILS\tODMS_ENABLE\tDEFAULT\nODMS_MISSING_VALUE_TREATMENT\tODMS_MISSING_VALUE_AUTO\tDEFAULT\nODMS_SAMPLING\tODMS_SAMPLING_DISABLE\tDEFAULT\nODMS_TEXT_MAX_FEATURES\t200000\tINPUT\nODMS_TEXT_MIN_DOCUMENTS\t5\tINPUT\nODMS_TEXT_POLICY_NAME\twiki_txtpol\tINPUT\nPREP_AUTO\tON\tDEFAULT\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_600345844",
- "id": "20220711-195144_681944418",
- "dateCreated": "2021-07-26T19:00:55+0000",
- "dateStarted": "2022-07-29T19:21:04+0000",
- "dateFinished": "2022-07-29T19:21:04+0000",
- "status": "FINISHED",
- "$$hashKey": "object:47"
- },
- {
- "title": "Get a list of model views",
- "text": "%sql\n\nSELECT VIEW_NAME, VIEW_TYPE FROM USER_MINING_MODEL_VIEWS\nWHERE MODEL_NAME='WIKI_MODEL'\nORDER BY VIEW_NAME;",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:04+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {
- "0": {
- "graph": {
- "mode": "table",
- "height": 300,
- "optionOpen": false,
- "setting": {
- "table": {
- "tableGridState": {},
- "tableColumnTypeState": {
- "names": {
- "VIEW_NAME": "string",
- "VIEW_TYPE": "string"
- },
- "updated": false
- },
- "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]",
- "tableOptionValue": {
- "useFilter": false,
- "showPagination": false,
- "showAggregationFooter": false
- },
- "updated": false,
- "initialized": false
- }
- },
- "commonSetting": {}
- }
- }
- },
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "TABLE",
- "data": "VIEW_NAME\tVIEW_TYPE\nDM$VAWIKI_MODEL\tExplicit Semantic Analysis Matrix\nDM$VFWIKI_MODEL\tExplicit Semantic Analysis Features\nDM$VGWIKI_MODEL\tGlobal Name-Value Pairs\nDM$VNWIKI_MODEL\tNormalization and Missing Value Handling\nDM$VSWIKI_MODEL\tComputed Settings\nDM$VWWIKI_MODEL\tModel Build Alerts\nDM$VXWIKI_MODEL\tText Features\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_-669968573",
- "id": "20220711-195144_1401264074",
- "dateCreated": "2021-07-26T19:03:09+0000",
- "dateStarted": "2022-07-29T19:21:05+0000",
- "dateFinished": "2022-07-29T19:21:05+0000",
- "status": "FINISHED",
- "$$hashKey": "object:48"
- },
- {
- "text": "%md\n\n# Examples using the Wiki ESA model\n---\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:05+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "Examples using the Wiki ESA model
\n
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_-1627377121",
- "id": "20220711-195144_1267578230",
- "dateCreated": "2021-07-26T18:16:38+0000",
- "dateStarted": "2022-07-29T19:21:05+0000",
- "dateFinished": "2022-07-29T19:21:05+0000",
- "status": "FINISHED",
- "$$hashKey": "object:49"
- },
- {
- "title": "Basic example of ESA features for the word 'Bank' using the Wikipedia model",
- "text": "%sql\n\nSELECT S.FEATURE_ID, S.VALUE FROM\n (SELECT FEATURE_SET(WIKI_MODEL, 10 USING *) FSET FROM \n (SELECT 'BANK' AS TEXT FROM DUAL)) T,\n TABLE(T.FSET) S ORDER BY S.VALUE DESC",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:05+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {
- "0": {
- "graph": {
- "mode": "table",
- "height": 300,
- "optionOpen": false,
- "setting": {
- "table": {
- "tableGridState": {},
- "tableColumnTypeState": {
- "names": {
- "FEATURE_ID": "string",
- "VALUE": "string"
- },
- "updated": false
- },
- "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]",
- "tableOptionValue": {
- "useFilter": false,
- "showPagination": false,
- "showAggregationFooter": false
- },
- "updated": false,
- "initialized": false
- }
- },
- "commonSetting": {}
- }
- }
- },
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "TABLE",
- "data": "FEATURE_ID\tVALUE\nBanking in India\t0.12073074740513993\nBanking in Australia\t0.1186153932769802\nBank of America\t0.11307155411695473\nBank\t0.10994163646234326\nCentral bank\t0.10780307790446561\nNational Bank Act\t0.10647042777456947\nStandard Bank\t0.10502497981253221\nBankBoston\t0.10474436983267525\nOnline banking\t0.10250315951850819\nBank of England\t0.09610674490262502\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_1615494002",
- "id": "20220711-195144_1353626563",
- "dateCreated": "2021-07-26T18:17:19+0000",
- "dateStarted": "2022-07-29T19:21:05+0000",
- "dateFinished": "2022-07-29T19:21:05+0000",
- "status": "FINISHED",
- "$$hashKey": "object:50"
- },
- {
- "title": "ESA features for the words 'NFL games' using the Wikipedia model",
- "text": "%sql\n\nSELECT S.FEATURE_ID, S.VALUE FROM\n (SELECT FEATURE_SET(WIKI_MODEL, 10 USING *) FSET FROM \n (SELECT 'NFL Games' AS TEXT FROM DUAL)) T,\n TABLE(T.FSET) S ORDER BY S.VALUE DESC",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:05+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 6,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {
- "0": {
- "graph": {
- "mode": "table",
- "height": 300,
- "optionOpen": false,
- "setting": {
- "table": {
- "tableGridState": {},
- "tableColumnTypeState": {
- "names": {
- "FEATURE_ID": "string",
- "VALUE": "string"
- },
- "updated": false
- },
- "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]",
- "tableOptionValue": {
- "useFilter": false,
- "showPagination": false,
- "showAggregationFooter": false
- },
- "updated": false,
- "initialized": false
- }
- },
- "commonSetting": {}
- }
- }
- },
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "TABLE",
- "data": "FEATURE_ID\tVALUE\nNational Football League\t0.1448362549796241\nNFL International Series\t0.13968414188865144\nThursday Night Football\t0.11436240954509867\nHistory of the National Football League championship\t0.11272129823985683\nChicago College All-Star Game\t0.11121297109987173\nNFL Network\t0.11007694516545648\nNFL Films\t0.10627056953318934\nThe NFL Today\t0.10292445567064071\nNational Football League Christmas games\t0.10104092801135917\nPlayoff Bowl\t0.09258723455526119\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_1707240813",
- "id": "20220711-195144_1436910081",
- "dateCreated": "2021-07-26T18:18:54+0000",
- "dateStarted": "2022-07-29T19:21:06+0000",
- "dateFinished": "2022-07-29T19:21:06+0000",
- "status": "FINISHED",
- "$$hashKey": "object:51"
- },
- {
- "title": "ESA Features for text about Astronomy using the Wikipedia model",
- "text": "%sql\n\nSELECT S.FEATURE_ID, S.VALUE FROM (\n SELECT FEATURE_SET(WIKI_MODEL, 10 USING *) FSET FROM\n (SELECT \n 'A group of European-led astronomers has made a photograph of what appears to be a planet orbiting another star. If so, it would be the first confirmed picture of a world beyond our solar system.' \n AS text FROM dual)) T, TABLE(T.FSET) S ORDER BY S.VALUE DESC",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:06+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 6,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {
- "0": {
- "graph": {
- "mode": "table",
- "height": 300,
- "optionOpen": false,
- "setting": {
- "table": {
- "tableGridState": {},
- "tableColumnTypeState": {
- "names": {
- "FEATURE_ID": "string",
- "VALUE": "string"
- },
- "updated": false
- },
- "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]",
- "tableOptionValue": {
- "useFilter": false,
- "showPagination": false,
- "showAggregationFooter": false
- },
- "updated": false,
- "initialized": false
- }
- },
- "commonSetting": {}
- }
- }
- },
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "TABLE",
- "data": "FEATURE_ID\tVALUE\nSolar System\t0.1783977405440812\nPlanets beyond Neptune\t0.16384415493902063\nPlanet Nine\t0.1556042629299215\nPlanet\t0.14360577141174127\nExoplanet\t0.14146374523098973\nFormation and evolution of the Solar System\t0.1380857932488385\nTerrestrial planet\t0.12349262676588602\nAstronomer\t0.11968229035028131\nSolar analog\t0.11919958268012823\nPlanetary habitability\t0.11168273107745952\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_-759565373",
- "id": "20220711-195144_711025848",
- "dateCreated": "2021-07-26T18:14:47+0000",
- "dateStarted": "2022-07-29T19:21:06+0000",
- "dateFinished": "2022-07-29T19:21:06+0000",
- "status": "FINISHED",
- "$$hashKey": "object:52"
- },
- {
- "title": "ESA Features for a text about diet and health using the Wikipedia model",
- "text": "%sql\n\nSELECT S.FEATURE_ID, S.VALUE FROM\n (SELECT FEATURE_SET(WIKI_MODEL, 10 USING *) FSET FROM\n (SELECT \n 'Nearly 70 percent of Americans say they are careful about what they eat, and even more say diet is essential to good health, according to a new nationwide health poll in which obesity ranked second among the biggest health concerns.' AS TEXT FROM DUAL)) T,\n TABLE(T.FSET) S ORDER BY S.VALUE DESC",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:06+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 6,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {
- "0": {
- "graph": {
- "mode": "table",
- "height": 300,
- "optionOpen": false,
- "setting": {
- "table": {
- "tableGridState": {},
- "tableColumnTypeState": {
- "names": {
- "FEATURE_ID": "string",
- "VALUE": "string"
- },
- "updated": false
- },
- "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]",
- "tableOptionValue": {
- "useFilter": false,
- "showPagination": false,
- "showAggregationFooter": false
- },
- "updated": false,
- "initialized": false
- }
- },
- "commonSetting": {}
- }
- }
- },
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "TABLE",
- "data": "FEATURE_ID\tVALUE\nObesity\t0.2381281204952319\nChildhood obesity\t0.21566128131005566\nRobert Wood Johnson Foundation\t0.1790547081969936\nHealth\t0.1723830168425817\nHealthy diet\t0.16671289147333318\nDieting\t0.142162115212373\nPaleolithic diet\t0.1386597097885653\nHealth education\t0.12498303889516335\nHealth equity\t0.1149008443204024\nPlant-based diet\t0.11425470702731559\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_-373987672",
- "id": "20220711-195144_207700615",
- "dateCreated": "2021-07-26T18:20:16+0000",
- "dateStarted": "2022-07-29T19:21:06+0000",
- "dateFinished": "2022-07-29T19:21:06+0000",
- "status": "FINISHED",
- "$$hashKey": "object:53"
- },
- {
- "title": "ESA Features for a long text on stocks and the Fed using the Wikipedia model",
- "text": "%sql\n\nSELECT S.FEATURE_ID, S.VALUE FROM\n (SELECT FEATURE_SET(WIKI_MODEL, 10 USING *) FSET FROM \n (SELECT \n 'The more things change... Yes, I''m inclined to agree, especially with regards to the historical relationship between stock prices and bond yields. The two have generally traded together, rising during periods of economic growth and falling during periods of contraction. Consider the period from 1998 through 2010, during which the U.S. economy experienced two expansions as well as two recessions: Then central banks came to the rescue. Fed Chairman Ben Bernanke led from Washington with the help of the bank''s current $3.6T balance sheet. He''s accompanied by Mario Draghi at the European Central Bank and an equally forthright Shinzo Abe in Japan. Their coordinated monetary expansion has provided all the sugar needed for an equities moonshot, while they vowed to hold global borrowing costs at record lows' AS TEXT FROM DUAL)) T,\nTABLE(T.FSET) S ORDER BY S.VALUE DESC",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:06+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 6,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {
- "0": {
- "graph": {
- "mode": "table",
- "height": 300,
- "optionOpen": false,
- "setting": {
- "table": {
- "tableGridState": {},
- "tableColumnTypeState": {
- "names": {
- "FEATURE_ID": "string",
- "VALUE": "string"
- },
- "updated": false
- },
- "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]",
- "tableOptionValue": {
- "useFilter": false,
- "showPagination": false,
- "showAggregationFooter": false
- },
- "updated": false,
- "initialized": false
- }
- },
- "commonSetting": {}
- }
- }
- },
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "TABLE",
- "data": "FEATURE_ID\tVALUE\nBen Bernanke\t0.17064524253160657\nRecession\t0.15889239754197812\nMario Draghi\t0.1491065027348536\nCOVID-19 recession\t0.145309094406638\nGreat Recession\t0.1290856902681663\nLong Depression\t0.12204405109050054\nGreat Depression in the United States\t0.11521859419773026\nMonetary policy\t0.1034355579106447\nGreat Recession in the United States\t0.10193175875567674\nGroup of Thirty\t0.09912373068492472\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_438098935",
- "id": "20220711-195144_695523427",
- "dateCreated": "2021-07-26T18:21:28+0000",
- "dateStarted": "2022-07-29T19:21:07+0000",
- "dateFinished": "2022-07-29T19:21:07+0000",
- "status": "FINISHED",
- "$$hashKey": "object:54"
- },
- {
- "text": "%md\n\n# Comparing Strings for Similarity of Text using the Wikipedia Model\n---\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:07+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "Comparing Strings for Similarity of Text using the Wikipedia Model
\n
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_-467793705",
- "id": "20220711-195144_1345905350",
- "dateCreated": "2021-07-26T18:22:12+0000",
- "dateStarted": "2022-07-29T19:21:07+0000",
- "dateFinished": "2022-07-29T19:21:07+0000",
- "status": "FINISHED",
- "$$hashKey": "object:55"
- },
- {
- "title": "Comparison of 'street' vs. 'avenue' using the ESA Wikipedia model",
- "text": "%sql\n\n-- FEATURE_COMPARE scoring examples\nSELECT 1-FEATURE_COMPARE(WIKI_MODEL USING 'street' AS TEXT AND USING 'avenue' AS TEXT) \n SIMILARITY FROM DUAL",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:07+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 6,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {
- "0": {
- "graph": {
- "mode": "table",
- "height": 300,
- "optionOpen": false,
- "setting": {
- "table": {
- "tableGridState": {},
- "tableColumnTypeState": {
- "names": {
- "SIMILARITY": "string"
- },
- "updated": false
- },
- "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]",
- "tableOptionValue": {
- "useFilter": false,
- "showPagination": false,
- "showAggregationFooter": false
- },
- "updated": false,
- "initialized": false
- }
- },
- "commonSetting": {}
- }
- }
- },
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "TABLE",
- "data": "SIMILARITY\n0.1936898590428866\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_983089548",
- "id": "20220711-195144_1901926621",
- "dateCreated": "2021-07-26T18:32:14+0000",
- "dateStarted": "2022-07-29T19:21:07+0000",
- "dateFinished": "2022-07-29T19:21:07+0000",
- "status": "FINISHED",
- "$$hashKey": "object:56"
- },
- {
- "title": "Simple comparison of 'street' vs. 'farm' using the ESA Wikipedia model",
- "text": "%sql\n\n-- FEATURE_COMPARE scoring examples\nSELECT 1-FEATURE_COMPARE(WIKI_MODEL USING 'street' AS TEXT AND USING 'farm' AS TEXT) \n SIMILARITY FROM DUAL\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:07+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 6,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {
- "0": {
- "graph": {
- "mode": "table",
- "height": 300,
- "optionOpen": false,
- "setting": {
- "table": {
- "tableGridState": {},
- "tableColumnTypeState": {
- "names": {
- "SIMILARITY": "string"
- },
- "updated": false
- },
- "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]",
- "tableOptionValue": {
- "useFilter": false,
- "showPagination": false,
- "showAggregationFooter": false
- },
- "updated": false,
- "initialized": false
- }
- },
- "commonSetting": {}
- }
- }
- },
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "TABLE",
- "data": "SIMILARITY\n0.007127425352303707\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_-1322858270",
- "id": "20220711-195144_1999505675",
- "dateCreated": "2021-07-26T18:33:05+0000",
- "dateStarted": "2022-07-29T19:21:08+0000",
- "dateFinished": "2022-07-29T19:21:08+0000",
- "status": "FINISHED",
- "$$hashKey": "object:57"
- },
- {
- "title": "Comparison of two simple texts about Golf using the ESA Wikipedia model",
- "text": "%sql\n\nSELECT 1-FEATURE_COMPARE(WIKI_MODEL USING 'There are several PGA tour golfers from South Africa' \n TEXT AND USING 'Nick Price won the 2002 Mastercard Colonial Open' TEXT) \n SIMILARITY FROM DUAL",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:08+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {
- "0": {
- "graph": {
- "mode": "table",
- "height": 114.167,
- "optionOpen": false,
- "setting": {
- "table": {
- "tableGridState": {},
- "tableColumnTypeState": {
- "names": {
- "SIMILARITY": "string"
- },
- "updated": false
- },
- "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]",
- "tableOptionValue": {
- "useFilter": false,
- "showPagination": false,
- "showAggregationFooter": false
- },
- "updated": false,
- "initialized": false
- }
- },
- "commonSetting": {}
- }
- }
- },
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "TABLE",
- "data": "SIMILARITY\n0.10969292803597186\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_1251509267",
- "id": "20220711-195144_2014732365",
- "dateCreated": "2021-07-26T18:34:00+0000",
- "dateStarted": "2022-07-29T19:21:08+0000",
- "dateFinished": "2022-07-29T19:21:08+0000",
- "status": "FINISHED",
- "$$hashKey": "object:58"
- },
- {
- "title": "Comparison of texts about Golf and Football using the ESA Wikipedia model",
- "text": "%sql\n\nSELECT 1-FEATURE_COMPARE(WIKI_MODEL USING 'There are several PGA tour golfers from South Africa' \n TEXT AND USING 'John Elway played quarterback for the Denver Broncos' TEXT) \n SIMILARITY FROM DUAL",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:08+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 6,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {
- "0": {
- "graph": {
- "mode": "table",
- "height": 300,
- "optionOpen": false,
- "setting": {
- "table": {
- "tableGridState": {},
- "tableColumnTypeState": {
- "names": {
- "SIMILARITY": "string"
- },
- "updated": false
- },
- "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]",
- "tableOptionValue": {
- "useFilter": false,
- "showPagination": false,
- "showAggregationFooter": false
- },
- "updated": false,
- "initialized": false
- }
- },
- "commonSetting": {}
- }
- }
- },
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "TABLE",
- "data": "SIMILARITY\n0.003917419745909201\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_1190220640",
- "id": "20220711-195144_1865388891",
- "dateCreated": "2021-07-26T18:34:46+0000",
- "dateStarted": "2022-07-29T19:21:08+0000",
- "dateFinished": "2022-07-29T19:21:08+0000",
- "status": "FINISHED",
- "$$hashKey": "object:59"
- },
- {
- "title": "News on Nasa Rover and SpaceX Moon Gateway using ESA Wikipedia model",
- "text": "%sql\n\nSELECT 1-FEATURE_COMPARE(WIKI_MODEL USING \n'NASA Perseverance Mars rover closed in on the red planet after a journey of 293 million miles, hurtling toward a nail-biting seven-minute descent to touchdown Thursday. The mission is an unprecedented attempt to find signs of past microbial life at the site of an ancient martian river, delta and lakebed. Mission managers at NASA Jet Propulsion Laboratory in Pasadena, California, said Wednesday that the spacecraft, still attached to its interplanetary cruise stage, is healthy and flawlessly executing its final approach to Jezero Crater.' AS TEXT\nAND USING \n'NASA has selected SpaceX to deliver the first two segments of the moon-orbiting Gateway space station for its upcoming Artemis program, which aims to put astronauts back on the moon. The elements will launch atop a Falcon Heavy rocket, sometime in 2024. The flight, which is the second to be awarded to SpaceX this week will carry the Gateway''s power and habitation modules. Once deposited in lunar orbit, the Gateway will serve as an outpost for astronauts and equipment heading to the moon as part of NASA Artemis program. Roughly one-sixth the size of the International Space Station, the Gateway will support research investigations, crew, and expeditions to the lunar surface.' AS TEXT) SIMILARITY FROM DUAL",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:08+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 6,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {
- "0": {
- "graph": {
- "mode": "table",
- "height": 300,
- "optionOpen": false,
- "setting": {
- "table": {
- "tableGridState": {},
- "tableColumnTypeState": {
- "names": {
- "SIMILARITY": "string"
- },
- "updated": false
- },
- "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]",
- "tableOptionValue": {
- "useFilter": false,
- "showPagination": false,
- "showAggregationFooter": false
- },
- "updated": false,
- "initialized": false
- }
- },
- "commonSetting": {}
- }
- }
- },
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "TABLE",
- "data": "SIMILARITY\n0.48847744577133123\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_-1365775010",
- "id": "20220711-195144_1991112083",
- "dateCreated": "2021-07-26T18:35:33+0000",
- "dateStarted": "2022-07-29T19:21:09+0000",
- "dateFinished": "2022-07-29T19:21:09+0000",
- "status": "FINISHED",
- "$$hashKey": "object:60"
- },
- {
- "title": "News on Nasa Rover and Tennis Naomi Osaka using ESA Wikipedia model",
- "text": "%sql\n\nSELECT 1-FEATURE_COMPARE(WIKI_MODEL USING \n'NASA Perseverance Mars rover closed in on the red planet after a journey of 293 million miles, hurtling toward a nail-biting seven-minute descent to touchdown Thursday. The mission is an unprecedented attempt to find signs of past microbial life at the site of an ancient martian river, delta and lakebed. Mission managers at NASA Jet Propulsion Laboratory in Pasadena, California, said Wednesday that the spacecraft, still attached to its interplanetary cruise stage, is healthy and flawlessly executing its final approach to Jezero Crater.' AS TEXT\nAND USING \n'Naomi Osaka, who hasnt lost an official match since last February, put together a dominating performance in the Australian Open semifinals, beating Williams 6-3, 6-4 and ending hopes that the 39-year old American would tie Margaret Court all-time Slam record at this tournament. Osaka, seeking her fourth major title and second Australian Open championship, will play the winner of the second semifinal between American Jennifer Brady, the No. 22 seed, and No. 25 seed Karolina Muchova.' AS TEXT) SIMILARITY FROM DUAL",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:09+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "sql",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/osql",
- "fontSize": 9,
- "editorHide": true,
- "title": true,
- "results": {
- "0": {
- "graph": {
- "mode": "table",
- "height": 300,
- "optionOpen": false,
- "setting": {
- "table": {
- "tableGridState": {},
- "tableColumnTypeState": {
- "names": {
- "SIMILARITY": "string"
- },
- "updated": false
- },
- "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]",
- "tableOptionValue": {
- "useFilter": false,
- "showPagination": false,
- "showAggregationFooter": false
- },
- "updated": false,
- "initialized": false
- }
- },
- "commonSetting": {}
- }
- }
- },
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "TABLE",
- "data": "SIMILARITY\n0.026660806390262026\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_-880598145",
- "id": "20220711-195144_1900858396",
- "dateCreated": "2021-07-26T18:36:12+0000",
- "dateStarted": "2022-07-29T19:21:09+0000",
- "dateFinished": "2022-07-29T19:21:09+0000",
- "status": "FINISHED",
- "$$hashKey": "object:61"
- },
- {
- "text": "%md\n\n# End of Script\n",
- "user": "OMLUSER",
- "dateUpdated": "2022-07-29T19:21:09+0000",
- "progress": 0,
- "config": {
- "editorSetting": {
- "language": "md",
- "editOnDblClick": false
- },
- "colWidth": 12,
- "editorMode": "ace/mode/markdown",
- "fontSize": 9,
- "editorHide": true,
- "results": {},
- "enabled": true
- },
- "settings": {
- "params": {},
- "forms": {}
- },
- "results": {
- "code": "SUCCESS",
- "msg": [
- {
- "type": "HTML",
- "data": "End of Script
\n"
- }
- ]
- },
- "apps": [],
- "interrupted": false,
- "runtimeInfos": {},
- "progressUpdateIntervalMs": 500,
- "jobName": "paragraph_1657569104669_-700801094",
- "id": "20220711-195144_982765168",
- "dateCreated": "2021-07-26T18:36:48+0000",
- "dateStarted": "2022-07-29T19:21:09+0000",
- "dateFinished": "2022-07-29T19:21:09+0000",
- "status": "FINISHED",
- "$$hashKey": "object:62"
- }
- ],
- "name": "OML4SQL Feature Extraction ESA Wiki Model",
- "id": "19470",
- "defaultInterpreterGroup": "spark",
- "noteParams": {},
- "noteForms": {},
- "angularObjects": {},
- "config": {
- "looknfeel": "default",
- "personalizedMode": "false"
- },
- "info": {
- "isRunning": false
- },
- "path": "/OML4SQL Feature Extraction ESA Wiki Model"
-}
\ No newline at end of file
diff --git a/machine-learning/notebooks/r/OfficeHours_OML_Datastore_for_R_and_Python.json b/machine-learning/notebooks/r/OfficeHours_OML_Datastore_for_R_and_Python.json
new file mode 100644
index 00000000..b52cc28f
--- /dev/null
+++ b/machine-learning/notebooks/r/OfficeHours_OML_Datastore_for_R_and_Python.json
@@ -0,0 +1,2021 @@
+{
+ "paragraphs": [
+ {
+ "text": "%md\n# Oracle Machine Learning Datastore in Autonomous Database\n\nOracle Machine Learning provides datastores to save your native R or Python objects such as ML models and lists, as well as OML4R or OML4Py proxy objects in your Oracle Database or Autonomous Database instance for use in embedded execution and access across database sessions.\n\n---\n\nCopyright (c) 2022 Oracle Corporation \n###### The Universal Permissive License (UPL), Version 1.0\n\n---\n\n## Initialize interpreters for R and Python and create native model objects\n",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:08:35+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "md",
+ "editOnDblClick": false
+ },
+ "colWidth": 12,
+ "editorMode": "ace/mode/markdown",
+ "fontSize": 9,
+ "editorHide": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "Oracle Machine Learning Datastore in Autonomous Database
\nOracle Machine Learning provides datastores to save your native R or Python objects such as ML models and lists, as well as OML4R or OML4Py proxy objects in your Oracle Database or Autonomous Database instance for use in embedded execution and access across database sessions.
\n
\nCopyright (c) 2022 Oracle Corporation
\n\n
\nInitialize interpreters for R and Python and create native model objects
\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-1957419806",
+ "id": "20221011-180410_326909485",
+ "dateCreated": "2022-10-07T19:33:33+0000",
+ "dateStarted": "2022-10-11T18:08:35+0000",
+ "dateFinished": "2022-10-11T18:08:36+0000",
+ "status": "FINISHED",
+ "focus": true,
+ "$$hashKey": "object:41"
+ },
+ {
+ "title": "Import OML4R 'ORE' package and create an in-database machine learning model",
+ "text": "%r\n\nlibrary(ORE) \nore.sync(table = 'IRIS_R') \n\nglm.mod <- ore.odmGLM(Petal.Length~., IRIS_R) \nsummary(glm.mod)\n\n",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:08:36+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "graph": {
+ "mode": "table",
+ "height": 300,
+ "optionOpen": false,
+ "keys": [],
+ "values": [],
+ "groups": [],
+ "scatter": {}
+ },
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "TEXT",
+ "data": "\nCall:\nore.odmGLM(formula = Petal.Length ~ ., data = IRIS_R)\n\nResiduals:\n Min 1Q Median 3Q Max \n-0.78396 -0.15708 0.00193 0.14730 0.65418 \n\nCoefficients:\n Estimate Std. Error t value Pr(>|t|) \n(Intercept) -1.11099 0.26987 -4.117 6.45e-05 ***\nSepal.Length 0.60801 0.05024 12.101 < 2e-16 ***\nSepal.Width -0.18052 0.08036 -2.246 0.0262 * \nPetal.Width 0.60222 0.12144 4.959 1.97e-06 ***\nSpeciesversicolor 1.46337 0.17345 8.437 3.14e-14 ***\nSpeciesvirginica 1.97422 0.24480 8.065 2.60e-13 ***\n---\nSignif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1\n\nResidual standard error: 0.2627 on 144 degrees of freedom\nMultiple R-squared: 0.9786,\tAdjusted R-squared: 0.9778 \nF-statistic: 1317 on 5 and 144 DF, p-value: < 2.2e-16\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_800081049",
+ "id": "20221011-180410_347481396",
+ "dateCreated": "2022-10-03T02:53:48+0000",
+ "dateStarted": "2022-10-11T18:08:37+0000",
+ "dateFinished": "2022-10-11T18:08:55+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:42"
+ },
+ {
+ "title": "Import OML4Py 'oml' package and create an in-database machine learning model",
+ "text": "%python\n\nimport oml\n\nIRIS_PY = oml.sync(table = \"IRIS_PY\")\n\ntrain_x = IRIS_PY.drop('PETAL_LENGTH')\ntrain_y = IRIS_PY['PETAL_LENGTH']\n\nglm_mod = oml.glm(\"regression\")\nglm_mod = glm_mod.fit(train_x, train_y)\nglm_mod",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:08:55+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "TEXT",
+ "data": "\nAlgorithm Name: Generalized Linear Model\n\nMining Function: REGRESSION\n\nTarget: PETAL_LENGTH\n\nSettings: \n setting name setting value\n0 ALGO_NAME ALGO_GENERALIZED_LINEAR_MODEL\n1 GLMS_CONF_LEVEL .95\n2 GLMS_FTR_GENERATION GLMS_FTR_GENERATION_DISABLE\n3 GLMS_FTR_SELECTION GLMS_FTR_SELECTION_DISABLE\n4 ODMS_DETAILS ODMS_ENABLE\n5 ODMS_MISSING_VALUE_TREATMENT ODMS_MISSING_VALUE_AUTO\n6 ODMS_SAMPLING ODMS_SAMPLING_DISABLE\n7 PREP_AUTO ON\n\nComputed Settings: \n setting name setting value\n0 GLMS_CONV_TOLERANCE .0000050000000000000004\n1 GLMS_NUM_ITERATIONS 30\n2 GLMS_RIDGE_REGRESSION GLMS_RIDGE_REG_DISABLE\n3 GLMS_SOLVER GLMS_SOLVER_CHOL\n\nGlobal Statistics: \n attribute name attribute value\n0 ADJUSTED_R_SQUARE 0.97785\n1 AIC -395.115\n2 COEFF_VAR 6.99114\n3 CONVERGED YES\n4 CORRECTED_TOTAL_DF 149\n5 CORRECTED_TOT_SS 464.325\n6 DEPENDENT_MEAN 3.758\n7 ERROR_DF 144\n8 ERROR_MEAN_SQUARE 0.0690256\n9 ERROR_SUM_SQUARES 9.93968\n10 F_VALUE 1316.57\n11 GMSEP 0.0719153\n12 HOCKING_SP 0.000482696\n13 J_P 0.0717866\n14 MODEL_DF 5\n15 MODEL_F_P_VALUE 0\n16 MODEL_MEAN_SQUARE 90.8771\n17 MODEL_SUM_SQUARES 454.386\n18 NUM_PARAMS 6\n19 NUM_ROWS 150\n20 RANK_DEFICIENCY 0\n21 ROOT_MEAN_SQ 0.262727\n22 R_SQ 0.978593\n23 SBIC -377.051\n24 VALID_COVARIANCE_MATRIX YES\n\nAttributes: \nPETAL_WIDTH\nSEPAL_LENGTH\nSEPAL_WIDTH\nSPECIES\n\nPartition: NO\n\nCoefficients: \n\n attribute name attribute value ... p value significance code\n0 (Intercept) None ... 6.445916e-05 ***\n1 PETAL_WIDTH None ... 1.968679e-06 ***\n2 SEPAL_LENGTH None ... 1.073592e-23 ***\n3 SEPAL_WIDTH None ... 2.619373e-02 *\n4 SPECIES versicolor ... 3.142686e-14 ***\n5 SPECIES virginica ... 2.600021e-13 ***\n\n[6 rows x 7 columns]\n\nSignif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 '\n\nFit Details: \n\n name value\n0 ADJUSTED_R_SQUARE 9.778500e-01\n1 AIC -3.951150e+02\n2 COEFF_VAR 6.991144e+00\n3 CORRECTED_TOTAL_DF 1.490000e+02\n4 CORRECTED_TOT_SS 4.643254e+02\n5 DEPENDENT_MEAN 3.758000e+00\n6 ERROR_DF 1.440000e+02\n7 ERROR_MEAN_SQUARE 6.902558e-02\n8 ERROR_SUM_SQUARES 9.939683e+00\n9 F_VALUE 1.316572e+03\n10 GMSEP 7.191532e-02\n11 HOCKING_SP 4.826963e-04\n12 J_P 7.178660e-02\n13 MODEL_CONVERGED 1.000000e+00\n14 MODEL_DF 5.000000e+00\n15 MODEL_F_P_VALUE 2.879219e-118\n16 MODEL_MEAN_SQUARE 9.087714e+01\n17 MODEL_SUM_SQUARES 4.543857e+02\n18 NUM_PARAMS 6.000000e+00\n19 NUM_ROWS 1.500000e+02\n20 RANK_DEFICIENCY 0.000000e+00\n21 ROOT_MEAN_SQ 2.627272e-01\n22 R_SQ 9.785933e-01\n23 SBIC -3.770512e+02\n24 VALID_COVARIANCE_MATRIX 1.000000e+00\n\nRank: \n\n6\n\nDeviance: \n\n9.939683\n\nAIC: \n\n-395\n\nNull Deviance: \n\n464.3254\n\nDF Residual: \n\n144.0\n\nDF Null: \n\n149.0\n\nConverged: \n\nTrue\n\n\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_373381864",
+ "id": "20221011-180410_689531645",
+ "dateCreated": "2022-10-03T02:54:12+0000",
+ "dateStarted": "2022-10-11T18:08:56+0000",
+ "dateFinished": "2022-10-11T18:09:01+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:43"
+ },
+ {
+ "text": "%md\n---",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:01+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "md",
+ "editOnDblClick": false
+ },
+ "colWidth": 12,
+ "editorMode": "ace/mode/markdown",
+ "fontSize": 9,
+ "editorHide": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "
\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-1754821012",
+ "id": "20221011-180410_1365052265",
+ "dateCreated": "2022-10-10T21:15:31+0000",
+ "dateStarted": "2022-10-11T18:09:01+0000",
+ "dateFinished": "2022-10-11T18:09:01+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:44"
+ },
+ {
+ "title": "Create a native R machine learning model",
+ "text": "%r\n\nlm.mod <- lm(Petal.Length~Petal.Width, family='binomial', iris) \nsummary(lm.mod)",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:01+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "TEXT",
+ "data": "Warning message:\n“In lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) :\n extra argument ‘family’ will be disregarded”\n\nCall:\nlm(formula = Petal.Length ~ Petal.Width, data = iris, family = \"binomial\")\n\nResiduals:\n Min 1Q Median 3Q Max \n-1.33542 -0.30347 -0.02955 0.25776 1.39453 \n\nCoefficients:\n Estimate Std. Error t value Pr(>|t|) \n(Intercept) 1.08356 0.07297 14.85 <2e-16 ***\nPetal.Width 2.22994 0.05140 43.39 <2e-16 ***\n---\nSignif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1\n\nResidual standard error: 0.4782 on 148 degrees of freedom\nMultiple R-squared: 0.9271,\tAdjusted R-squared: 0.9266 \nF-statistic: 1882 on 1 and 148 DF, p-value: < 2.2e-16\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_711262739",
+ "id": "20221011-180410_597875257",
+ "dateCreated": "2022-10-10T21:15:13+0000",
+ "dateStarted": "2022-10-11T18:09:01+0000",
+ "dateFinished": "2022-10-11T18:09:01+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:45"
+ },
+ {
+ "title": "Create a native Python machine learning model",
+ "text": "%python\n\nfrom sklearn import linear_model\n\niris = IRIS_PY.pull()\n\nX = iris[['PETAL_WIDTH']]\ny = iris[['PETAL_LENGTH']]\n\nlm = linear_model.LinearRegression()\n\nlm_mod = lm.fit(X, y)\n\nprint(lm_mod.intercept_, lm_mod.coef_, lm_mod.score(X, y))\n",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:01+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "TEXT",
+ "data": "[1.08355803] [[2.2299405]] 0.9271098389904927\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_1236589925",
+ "id": "20221011-180410_110675196",
+ "dateCreated": "2022-10-10T21:20:24+0000",
+ "dateStarted": "2022-10-11T18:09:02+0000",
+ "dateFinished": "2022-10-11T18:09:02+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:46"
+ },
+ {
+ "text": "%md\n\n## Save model objects in a datastore\n",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:02+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "md",
+ "editOnDblClick": false
+ },
+ "colWidth": 12,
+ "editorMode": "ace/mode/markdown",
+ "fontSize": 9,
+ "editorHide": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "Save model objects in a datastore
\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-491186633",
+ "id": "20221011-180410_1681135696",
+ "dateCreated": "2022-10-07T19:33:11+0000",
+ "dateStarted": "2022-10-11T18:09:02+0000",
+ "dateFinished": "2022-10-11T18:09:02+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:47"
+ },
+ {
+ "title": "Save Model and Objects into datastore in R",
+ "text": "%r\n\nore.save(glm.mod, lm.mod, name = \"ds-r-1\", overwrite = TRUE)\n\nlist <- list(a = 1, b = TRUE, c = \"hoopsa\")\n\nore.save(list, name = \"ds-r-1\", append = TRUE)",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:02+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": []
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_1509679628",
+ "id": "20221011-180410_1569411580",
+ "dateCreated": "2022-10-03T02:54:21+0000",
+ "dateStarted": "2022-10-11T18:09:02+0000",
+ "dateFinished": "2022-10-11T18:09:05+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:48"
+ },
+ {
+ "title": "Save Model and Objects into datastore in Python",
+ "text": "%python\n\noml.ds.save(objs={'glm_mod': glm_mod, 'lm_mod': lm_mod}, name=\"ds-py-1\", overwrite=True)\n\ndict ={'a':1, 'b': True, 'c': \"hoopsa\"}\n\noml.ds.save(objs={'list': dict}, name=\"ds-py-1\", append=True)",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:05+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": []
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_1135521586",
+ "id": "20221011-180410_1758276454",
+ "dateCreated": "2022-10-03T02:54:36+0000",
+ "dateStarted": "2022-10-11T18:09:05+0000",
+ "dateFinished": "2022-10-11T18:09:08+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:49"
+ },
+ {
+ "text": "%md\n\n## List and view contents of datastores",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:08+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "md",
+ "editOnDblClick": false
+ },
+ "colWidth": 12,
+ "editorMode": "ace/mode/markdown",
+ "fontSize": 9,
+ "editorHide": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "List and view contents of datastores
\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-2048060312",
+ "id": "20221011-180410_674409895",
+ "dateCreated": "2022-10-07T19:35:27+0000",
+ "dateStarted": "2022-10-11T18:09:08+0000",
+ "dateFinished": "2022-10-11T18:09:08+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:50"
+ },
+ {
+ "title": "List datastore details using R",
+ "text": "%r\n\nore.datastore(\"ds-r-1\")",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:08+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "\nA data.frame: 1 x 5\n\n\t| datastore.name | object.count | size | creation.date | description |
\n\t| <chr> | <dbl> | <dbl> | <dttm> | <chr> |
\n\n\n\t| ds-r-1 | 3 | 29168 | 2022-10-11 18:09:02 | NA |
\n\n
\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_216894037",
+ "id": "20221011-180410_1811994217",
+ "dateCreated": "2022-10-03T02:57:22+0000",
+ "dateStarted": "2022-10-11T18:09:08+0000",
+ "dateFinished": "2022-10-11T18:09:08+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:51"
+ },
+ {
+ "title": "List datastore details using Python",
+ "text": "%python\n\noml.ds.dir(name=\"ds-py-1\")",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:08+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {
+ "0": {
+ "graph": {
+ "mode": "table",
+ "height": 134.534,
+ "optionOpen": false
+ }
+ }
+ },
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "TEXT",
+ "data": " datastore_name object_count size date description\n0 ds-py-1 3 4367 2022-10-11 18:09:05 None\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_1020999520",
+ "id": "20221011-180410_1803775652",
+ "dateCreated": "2022-10-03T02:58:04+0000",
+ "dateStarted": "2022-10-11T18:09:08+0000",
+ "dateFinished": "2022-10-11T18:09:08+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:52"
+ },
+ {
+ "text": "%md\n---\n",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:08+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "md",
+ "editOnDblClick": false
+ },
+ "colWidth": 12,
+ "editorMode": "ace/mode/markdown",
+ "fontSize": 9,
+ "editorHide": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "
\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_874032002",
+ "id": "20221011-180410_1788149417",
+ "dateCreated": "2022-10-07T19:36:28+0000",
+ "dateStarted": "2022-10-11T18:09:09+0000",
+ "dateFinished": "2022-10-11T18:09:09+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:53"
+ },
+ {
+ "title": "View datastore contents using R",
+ "text": "%r\n\nore.datastoreSummary(\"ds-r-1\")",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:09+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "\nA data.frame: 3 x 6\n\n\t| object.name | class | size | length | row.count | col.count |
\n\t| <chr> | <chr> | <dbl> | <dbl> | <dbl> | <dbl> |
\n\n\n\t| glm.mod | ore.odmGLM | 12377 | 26 | NA | NA |
\n\t| list | list | 132 | 3 | NA | NA |
\n\t| lm.mod | lm | 16659 | 12 | NA | NA |
\n\n
\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-494439058",
+ "id": "20221011-180410_1475754441",
+ "dateCreated": "2022-10-03T02:58:17+0000",
+ "dateStarted": "2022-10-11T18:09:09+0000",
+ "dateFinished": "2022-10-11T18:09:10+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:54"
+ },
+ {
+ "title": "View datastore contents using Python",
+ "text": "%python\n\noml.ds.describe(name = \"ds-py-1\")",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:10+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "TEXT",
+ "data": " object_name class size length row_count col_count\n0 glm_mod oml.glm 3723 1 1 1\n1 list dict 40 3 1 3\n2 lm_mod LinearRegression 604 1 1 1\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-420363252",
+ "id": "20221011-180410_1026498240",
+ "dateCreated": "2022-10-03T02:58:29+0000",
+ "dateStarted": "2022-10-11T18:09:10+0000",
+ "dateFinished": "2022-10-11T18:09:10+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:55"
+ },
+ {
+ "text": "%md\n---\n",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:10+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "md",
+ "editOnDblClick": false
+ },
+ "colWidth": 12,
+ "editorMode": "ace/mode/markdown",
+ "fontSize": 9,
+ "editorHide": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "
\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_907849927",
+ "id": "20221011-180410_1294573967",
+ "dateCreated": "2022-10-07T19:36:53+0000",
+ "dateStarted": "2022-10-11T18:09:10+0000",
+ "dateFinished": "2022-10-11T18:09:10+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:56"
+ },
+ {
+ "title": "View R datastore contents using SQL",
+ "text": "%sql\n\nselect OBJNAME, CLASS from ALL_RQ_DATASTORE_CONTENTS where DSNAME = 'ds-r-1';",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:10+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/osql",
+ "fontSize": 9,
+ "title": true,
+ "results": {
+ "0": {
+ "graph": {
+ "mode": "table",
+ "height": 300,
+ "optionOpen": false,
+ "setting": {
+ "table": {
+ "tableGridState": {},
+ "tableColumnTypeState": {
+ "names": {
+ "OBJNAME": "string",
+ "CLASS": "string"
+ },
+ "updated": false
+ },
+ "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]",
+ "tableOptionValue": {
+ "useFilter": false,
+ "showPagination": false,
+ "showAggregationFooter": false
+ },
+ "updated": false,
+ "initialized": false
+ }
+ },
+ "commonSetting": {}
+ }
+ }
+ },
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "TABLE",
+ "data": "OBJNAME\tCLASS\nglm.mod\tore.odmGLM\nlist\tlist\nlm.mod\tlm\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_1256967390",
+ "id": "20221011-180410_8744757",
+ "dateCreated": "2022-10-03T02:58:40+0000",
+ "dateStarted": "2022-10-11T18:09:10+0000",
+ "dateFinished": "2022-10-11T18:09:13+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:57"
+ },
+ {
+ "title": "View Python datastore contents using SQL",
+ "text": "%sql\n\nselect OBJNAME, CLASS from ALL_PYQ_DATASTORE_CONTENTS where DSNAME = 'ds-py-1';",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:14+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/osql",
+ "fontSize": 9,
+ "title": true,
+ "results": {
+ "0": {
+ "graph": {
+ "mode": "table",
+ "height": 300,
+ "optionOpen": false,
+ "setting": {
+ "table": {
+ "tableGridState": {},
+ "tableColumnTypeState": {
+ "names": {
+ "OBJNAME": "string",
+ "CLASS": "string"
+ },
+ "updated": false
+ },
+ "tableOptionSpecHash": "[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]",
+ "tableOptionValue": {
+ "useFilter": false,
+ "showPagination": false,
+ "showAggregationFooter": false
+ },
+ "updated": false,
+ "initialized": false
+ }
+ },
+ "commonSetting": {}
+ }
+ }
+ },
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "TABLE",
+ "data": "OBJNAME\tCLASS\nglm_mod\toml.glm\nlist\tdict\nlm_mod\tLinearRegression\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-2134998665",
+ "id": "20221011-180410_1717249693",
+ "dateCreated": "2022-10-03T02:58:59+0000",
+ "dateStarted": "2022-10-11T18:09:14+0000",
+ "dateFinished": "2022-10-11T18:09:14+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:58"
+ },
+ {
+ "text": "%md\n\n## Load datastore objects into memory",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:14+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "md",
+ "editOnDblClick": false
+ },
+ "colWidth": 12,
+ "editorMode": "ace/mode/markdown",
+ "fontSize": 9,
+ "editorHide": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "Load datastore objects into memory
\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-675123454",
+ "id": "20221011-180410_600309128",
+ "dateCreated": "2022-10-07T19:37:22+0000",
+ "dateStarted": "2022-10-11T18:09:14+0000",
+ "dateFinished": "2022-10-11T18:09:14+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:59"
+ },
+ {
+ "title": "Load datastore objects in R",
+ "text": "%r\n\nore.load('ds-r-1', list=c('glm.mod'))",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:15+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "'glm.mod'"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_1652881011",
+ "id": "20221011-180410_593630630",
+ "dateCreated": "2022-10-03T02:59:15+0000",
+ "dateStarted": "2022-10-11T18:09:15+0000",
+ "dateFinished": "2022-10-11T18:09:17+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:60"
+ },
+ {
+ "title": "Load datastore objects in Python",
+ "text": "%python\n\noml.ds.load(name='ds-py-1', objs=['glm_mod'])",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:17+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "TEXT",
+ "data": "['glm_mod']\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_1308317238",
+ "id": "20221011-180410_146090552",
+ "dateCreated": "2022-10-03T02:59:41+0000",
+ "dateStarted": "2022-10-11T18:09:17+0000",
+ "dateFinished": "2022-10-11T18:09:19+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:61"
+ },
+ {
+ "text": "%md\n---",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:19+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "md",
+ "editOnDblClick": false
+ },
+ "colWidth": 12,
+ "editorMode": "ace/mode/markdown",
+ "fontSize": 9,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "
\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-528683112",
+ "id": "20221011-180410_937790077",
+ "dateCreated": "2022-10-10T21:34:40+0000",
+ "dateStarted": "2022-10-11T18:09:20+0000",
+ "dateFinished": "2022-10-11T18:09:20+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:62"
+ },
+ {
+ "title": "Summarize loaded OML4R model",
+ "text": "%r\n\nsummary(glm.mod)\n",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:20+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "TEXT",
+ "data": "\nCall:\nore.odmGLM(formula = Petal.Length ~ ., data = IRIS_R)\n\nResiduals:\n Min 1Q Median 3Q Max \n-0.78396 -0.15708 0.00193 0.14730 0.65418 \n\nCoefficients:\n Estimate Std. Error t value Pr(>|t|) \n(Intercept) -1.11099 0.26987 -4.117 6.45e-05 ***\nSepal.Length 0.60801 0.05024 12.101 < 2e-16 ***\nSepal.Width -0.18052 0.08036 -2.246 0.0262 * \nPetal.Width 0.60222 0.12144 4.959 1.97e-06 ***\nSpeciesversicolor 1.46337 0.17345 8.437 3.14e-14 ***\nSpeciesvirginica 1.97422 0.24480 8.065 2.60e-13 ***\n---\nSignif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1\n\nResidual standard error: 0.2627 on 144 degrees of freedom\nMultiple R-squared: 0.9786,\tAdjusted R-squared: 0.9778 \nF-statistic: 1317 on 5 and 144 DF, p-value: < 2.2e-16\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-1230574619",
+ "id": "20221011-180410_726801076",
+ "dateCreated": "2022-10-10T21:33:43+0000",
+ "dateStarted": "2022-10-11T18:09:20+0000",
+ "dateFinished": "2022-10-11T18:09:20+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:63"
+ },
+ {
+ "title": "Summarize loaded OML4Py model",
+ "text": "%python\n\nglm_mod",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:20+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "editorHide": false,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "TEXT",
+ "data": "\nAlgorithm Name: Generalized Linear Model\n\nMining Function: REGRESSION\n\nTarget: PETAL_LENGTH\n\nSettings: \n setting name setting value\n0 ALGO_NAME ALGO_GENERALIZED_LINEAR_MODEL\n1 GLMS_CONF_LEVEL .95\n2 GLMS_FTR_GENERATION GLMS_FTR_GENERATION_DISABLE\n3 GLMS_FTR_SELECTION GLMS_FTR_SELECTION_DISABLE\n4 ODMS_DETAILS ODMS_ENABLE\n5 ODMS_MISSING_VALUE_TREATMENT ODMS_MISSING_VALUE_AUTO\n6 ODMS_SAMPLING ODMS_SAMPLING_DISABLE\n7 PREP_AUTO ON\n\nComputed Settings: \n setting name setting value\n0 GLMS_CONV_TOLERANCE .0000050000000000000004\n1 GLMS_NUM_ITERATIONS 30\n2 GLMS_RIDGE_REGRESSION GLMS_RIDGE_REG_DISABLE\n3 GLMS_SOLVER GLMS_SOLVER_CHOL\n\nGlobal Statistics: \n attribute name attribute value\n0 ADJUSTED_R_SQUARE 0.97785\n1 AIC -395.115\n2 COEFF_VAR 6.99114\n3 CONVERGED YES\n4 CORRECTED_TOTAL_DF 149\n5 CORRECTED_TOT_SS 464.325\n6 DEPENDENT_MEAN 3.758\n7 ERROR_DF 144\n8 ERROR_MEAN_SQUARE 0.0690256\n9 ERROR_SUM_SQUARES 9.93968\n10 F_VALUE 1316.57\n11 GMSEP 0.0719153\n12 HOCKING_SP 0.000482696\n13 J_P 0.0717866\n14 MODEL_DF 5\n15 MODEL_F_P_VALUE 0\n16 MODEL_MEAN_SQUARE 90.8771\n17 MODEL_SUM_SQUARES 454.386\n18 NUM_PARAMS 6\n19 NUM_ROWS 150\n20 RANK_DEFICIENCY 0\n21 ROOT_MEAN_SQ 0.262727\n22 R_SQ 0.978593\n23 SBIC -377.051\n24 VALID_COVARIANCE_MATRIX YES\n\nAttributes: \nPETAL_WIDTH\nSEPAL_LENGTH\nSEPAL_WIDTH\nSPECIES\n\nPartition: NO\n\nCoefficients: \n\n attribute name attribute value ... p value significance code\n0 (Intercept) None ... 6.445916e-05 ***\n1 PETAL_WIDTH None ... 1.968679e-06 ***\n2 SEPAL_LENGTH None ... 1.073592e-23 ***\n3 SEPAL_WIDTH None ... 2.619373e-02 *\n4 SPECIES versicolor ... 3.142686e-14 ***\n5 SPECIES virginica ... 2.600021e-13 ***\n\n[6 rows x 7 columns]\n\nSignif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 '\n\nFit Details: \n\n name value\n0 ADJUSTED_R_SQUARE 9.778500e-01\n1 AIC -3.951150e+02\n2 COEFF_VAR 6.991144e+00\n3 CORRECTED_TOTAL_DF 1.490000e+02\n4 CORRECTED_TOT_SS 4.643254e+02\n5 DEPENDENT_MEAN 3.758000e+00\n6 ERROR_DF 1.440000e+02\n7 ERROR_MEAN_SQUARE 6.902558e-02\n8 ERROR_SUM_SQUARES 9.939683e+00\n9 F_VALUE 1.316572e+03\n10 GMSEP 7.191532e-02\n11 HOCKING_SP 4.826963e-04\n12 J_P 7.178660e-02\n13 MODEL_CONVERGED 1.000000e+00\n14 MODEL_DF 5.000000e+00\n15 MODEL_F_P_VALUE 2.879219e-118\n16 MODEL_MEAN_SQUARE 9.087714e+01\n17 MODEL_SUM_SQUARES 4.543857e+02\n18 NUM_PARAMS 6.000000e+00\n19 NUM_ROWS 1.500000e+02\n20 RANK_DEFICIENCY 0.000000e+00\n21 ROOT_MEAN_SQ 2.627272e-01\n22 R_SQ 9.785933e-01\n23 SBIC -3.770512e+02\n24 VALID_COVARIANCE_MATRIX 1.000000e+00\n\nRank: \n\n6\n\nDeviance: \n\n9.939683\n\nAIC: \n\n-395\n\nNull Deviance: \n\n464.3254\n\nDF Residual: \n\n144.0\n\nDF Null: \n\n149.0\n\nConverged: \n\nTrue\n\n\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-1997999501",
+ "id": "20221011-180410_414115165",
+ "dateCreated": "2022-10-10T21:34:38+0000",
+ "dateStarted": "2022-10-11T18:09:21+0000",
+ "dateFinished": "2022-10-11T18:09:21+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:64"
+ },
+ {
+ "text": "%md\n\n## Delete datastores and datastore contents",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:21+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "md",
+ "editOnDblClick": false
+ },
+ "colWidth": 12,
+ "editorMode": "ace/mode/markdown",
+ "fontSize": 9,
+ "editorHide": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "Delete datastores and datastore contents
\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-1989473232",
+ "id": "20221011-180410_971765914",
+ "dateCreated": "2022-10-07T19:38:07+0000",
+ "dateStarted": "2022-10-11T18:09:21+0000",
+ "dateFinished": "2022-10-11T18:09:21+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:65"
+ },
+ {
+ "title": "Delete datastore objects in R",
+ "text": "%r\n\nore.delete('ds-r-1', list = c('glm.mod'))",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:21+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "'glm.mod'"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_1581952632",
+ "id": "20221011-180410_575024056",
+ "dateCreated": "2022-10-03T02:59:53+0000",
+ "dateStarted": "2022-10-11T18:09:21+0000",
+ "dateFinished": "2022-10-11T18:09:23+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:66"
+ },
+ {
+ "title": "Delete datastore objects in Python",
+ "text": "%python\n\noml.ds.delete(name = 'ds-py-1', objs=['glm_mod'])",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:23+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "TEXT",
+ "data": "{'glm_mod'}\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-2124400828",
+ "id": "20221011-180410_435819262",
+ "dateCreated": "2022-10-03T03:00:03+0000",
+ "dateStarted": "2022-10-11T18:09:23+0000",
+ "dateFinished": "2022-10-11T18:09:24+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:67"
+ },
+ {
+ "text": "%md\n---",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:24+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "md",
+ "editOnDblClick": false
+ },
+ "colWidth": 12,
+ "editorMode": "ace/mode/markdown",
+ "fontSize": 9,
+ "editorHide": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "
\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_1277431802",
+ "id": "20221011-180410_1989253265",
+ "dateCreated": "2022-10-07T19:38:49+0000",
+ "dateStarted": "2022-10-11T18:09:24+0000",
+ "dateFinished": "2022-10-11T18:09:24+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:68"
+ },
+ {
+ "title": "View updated datastore contents using R",
+ "text": "%r\n\nore.datastoreSummary(\"ds-r-1\")",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:24+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "\nA data.frame: 2 x 6\n\n\t| object.name | class | size | length | row.count | col.count |
\n\t| <chr> | <chr> | <dbl> | <dbl> | <dbl> | <dbl> |
\n\n\n\t| list | list | 132 | 3 | NA | NA |
\n\t| lm.mod | lm | 16659 | 12 | NA | NA |
\n\n
\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_468840831",
+ "id": "20221011-180410_282624497",
+ "dateCreated": "2022-10-10T21:36:11+0000",
+ "dateStarted": "2022-10-11T18:09:24+0000",
+ "dateFinished": "2022-10-11T18:09:25+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:69"
+ },
+ {
+ "title": "View updated datastore contents using Python",
+ "text": "%python\n\noml.ds.describe(name = \"ds-py-1\")",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:25+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "text",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "editorHide": false,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "TEXT",
+ "data": " object_name class size length row_count col_count\n0 list dict 40 3 1 3\n1 lm_mod LinearRegression 604 1 1 1\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_771763831",
+ "id": "20221011-180410_63988665",
+ "dateCreated": "2022-10-10T21:36:54+0000",
+ "dateStarted": "2022-10-11T18:09:25+0000",
+ "dateFinished": "2022-10-11T18:09:25+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:70"
+ },
+ {
+ "text": "%md\n---",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:25+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "md",
+ "editOnDblClick": false
+ },
+ "colWidth": 12,
+ "editorMode": "ace/mode/markdown",
+ "fontSize": 9,
+ "editorHide": false,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "
\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-630137495",
+ "id": "20221011-180410_1249180895",
+ "dateCreated": "2022-10-10T21:36:08+0000",
+ "dateStarted": "2022-10-11T18:09:26+0000",
+ "dateFinished": "2022-10-11T18:09:26+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:71"
+ },
+ {
+ "title": "Delete datastore in R",
+ "text": "%r\n\nore.delete('ds-r-1')",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:26+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "'ds-r-1'"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-566581153",
+ "id": "20221011-180410_811315216",
+ "dateCreated": "2022-10-03T03:00:31+0000",
+ "dateStarted": "2022-10-11T18:09:26+0000",
+ "dateFinished": "2022-10-11T18:09:26+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:72"
+ },
+ {
+ "title": "Delete datastore in Python",
+ "text": "%python\n\noml.ds.delete(name='ds-py-1')",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:26+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "TEXT",
+ "data": "'ds-py-1'\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-1759378045",
+ "id": "20221011-180410_1691904227",
+ "dateCreated": "2022-10-03T03:01:02+0000",
+ "dateStarted": "2022-10-11T18:09:26+0000",
+ "dateFinished": "2022-10-11T18:09:26+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:73"
+ },
+ {
+ "text": "%md\n---",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:26+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "md",
+ "editOnDblClick": false
+ },
+ "colWidth": 12,
+ "editorMode": "ace/mode/markdown",
+ "fontSize": 9,
+ "editorHide": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "
\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_45582957",
+ "id": "20221011-180410_1679098474",
+ "dateCreated": "2022-10-07T19:51:29+0000",
+ "dateStarted": "2022-10-11T18:09:27+0000",
+ "dateFinished": "2022-10-11T18:09:27+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:74"
+ },
+ {
+ "title": "Create new datastore for next example",
+ "text": "%r\n\nore.save(glm.mod, \n name = \"ds-r-2\", \n overwrite = TRUE)\n",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:27+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": []
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_1371390703",
+ "id": "20221011-180410_157980723",
+ "dateCreated": "2022-10-07T19:51:45+0000",
+ "dateStarted": "2022-10-11T18:09:27+0000",
+ "dateFinished": "2022-10-11T18:09:27+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:75"
+ },
+ {
+ "title": "Create new datastore for next example",
+ "text": "%python\n\noml.ds.save(objs={'glm_mod': glm_mod}, \n name=\"ds-py-2\", \n grantable = True, \n overwrite=True)\n\n",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:27+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "md",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "editorHide": false,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": []
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_2112018123",
+ "id": "20221011-180410_1683776062",
+ "dateCreated": "2022-10-07T19:51:59+0000",
+ "dateStarted": "2022-10-11T18:09:27+0000",
+ "dateFinished": "2022-10-11T18:09:27+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:76"
+ },
+ {
+ "text": "%md\n---",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:27+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 12,
+ "editorMode": "ace/mode/osql",
+ "fontSize": 9,
+ "editorHide": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "
\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_1961328874",
+ "id": "20221011-180410_1130660134",
+ "dateCreated": "2022-10-07T19:52:02+0000",
+ "dateStarted": "2022-10-11T18:09:28+0000",
+ "dateFinished": "2022-10-11T18:09:28+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:77"
+ },
+ {
+ "title": "Delete datastore in R using SQL",
+ "text": "%script\n\nBEGIN \n rqDropDataStore('ds-r-2'); \nEND; \n/",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:28+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "plsql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/plsql",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "TEXT",
+ "data": "\nPL/SQL procedure successfully completed.\n\n\n---------------------------\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-1502377923",
+ "id": "20221011-180410_263114098",
+ "dateCreated": "2022-10-03T03:01:18+0000",
+ "dateStarted": "2022-10-11T18:09:28+0000",
+ "dateFinished": "2022-10-11T18:09:28+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:78"
+ },
+ {
+ "title": "Delete datastore in Python using SQL",
+ "text": "%script\n\nBEGIN \n pyqDropDataStore('ds-py-2');\nEND;\n/",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:28+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "plsql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/plsql",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "TEXT",
+ "data": "\nPL/SQL procedure successfully completed.\n\n\n---------------------------\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-992545126",
+ "id": "20221011-180410_1389914036",
+ "dateCreated": "2022-10-03T03:01:50+0000",
+ "dateStarted": "2022-10-11T18:09:29+0000",
+ "dateFinished": "2022-10-11T18:09:29+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:79"
+ },
+ {
+ "text": "%md\n\n## Grant and revoke access privileges on datastores",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:29+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "md",
+ "editOnDblClick": false
+ },
+ "colWidth": 12,
+ "editorMode": "ace/mode/markdown",
+ "fontSize": 9,
+ "editorHide": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "Grant and revoke access privileges on datastores
\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_379100453",
+ "id": "20221011-180410_1427284547",
+ "dateCreated": "2022-10-07T19:39:23+0000",
+ "dateStarted": "2022-10-11T18:09:29+0000",
+ "dateFinished": "2022-10-11T18:09:29+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:80"
+ },
+ {
+ "title": "Grant datastore access to a user in R",
+ "text": "%r\n\nore.save(glm.mod, \n name = 'ds-r-glm-mod', \n grantable = TRUE, \n overwrite = TRUE)\n\nore.grant('ds-r-glm-mod', type = 'datastore', user = 'OMLUSER2')",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:29+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": []
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-317606835",
+ "id": "20221011-180410_848852086",
+ "dateCreated": "2022-10-03T03:02:03+0000",
+ "dateStarted": "2022-10-11T18:09:29+0000",
+ "dateFinished": "2022-10-11T18:09:29+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:81"
+ },
+ {
+ "title": "Grant datastore access to a user in Python",
+ "text": "%python\n\noml.ds.save(objs={'glm_mod': glm_mod}, \n name= 'ds-py-glm-mod', \n grantable = True, \n overwrite = True)\n\noml.grant(name='ds-py-glm-mod', typ='datastore', user='OMLUSER2')",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:30+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": []
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_1713023437",
+ "id": "20221011-180410_1260714506",
+ "dateCreated": "2022-10-03T03:02:14+0000",
+ "dateStarted": "2022-10-11T18:09:30+0000",
+ "dateFinished": "2022-10-11T18:09:31+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:82"
+ },
+ {
+ "text": "%md\n---",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:31+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "md",
+ "editOnDblClick": false
+ },
+ "colWidth": 12,
+ "editorMode": "ace/mode/markdown",
+ "fontSize": 9,
+ "editorHide": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "
\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_1302635853",
+ "id": "20221011-180410_1523630365",
+ "dateCreated": "2022-10-07T19:40:38+0000",
+ "dateStarted": "2022-10-11T18:09:31+0000",
+ "dateFinished": "2022-10-11T18:09:31+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:83"
+ },
+ {
+ "title": "Revoke datastore access to a user in R",
+ "text": "%r\n\nore.revoke('ds-r-glm-mod', type = 'datastore', user = 'OMLUSER2')",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:31+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": []
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_195848255",
+ "id": "20221011-180410_437280958",
+ "dateCreated": "2022-10-03T03:02:24+0000",
+ "dateStarted": "2022-10-11T18:09:31+0000",
+ "dateFinished": "2022-10-11T18:09:31+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:84"
+ },
+ {
+ "title": "Revoke datastore access to a user in Python",
+ "text": "%python\n\noml.revoke(name = 'ds-py-glm-mod', typ='datastore', user='OMLUSER2')",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:31+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "sql",
+ "editOnDblClick": false
+ },
+ "colWidth": 6,
+ "editorMode": "ace/mode/undefined",
+ "fontSize": 9,
+ "title": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": []
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_1916066867",
+ "id": "20221011-180410_1801100366",
+ "dateCreated": "2022-10-03T03:02:33+0000",
+ "dateStarted": "2022-10-11T18:09:32+0000",
+ "dateFinished": "2022-10-11T18:09:32+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:85"
+ },
+ {
+ "text": "%md\n\n# End of script\n",
+ "user": "OMLUSER",
+ "dateUpdated": "2022-10-11T18:09:32+0000",
+ "progress": 0,
+ "config": {
+ "editorSetting": {
+ "language": "md",
+ "editOnDblClick": false
+ },
+ "colWidth": 12,
+ "editorMode": "ace/mode/markdown",
+ "fontSize": 9,
+ "editorHide": true,
+ "results": {},
+ "enabled": true
+ },
+ "settings": {
+ "params": {},
+ "forms": {}
+ },
+ "results": {
+ "code": "SUCCESS",
+ "msg": [
+ {
+ "type": "HTML",
+ "data": "End of script
\n"
+ }
+ ]
+ },
+ "apps": [],
+ "interrupted": false,
+ "runtimeInfos": {},
+ "progressUpdateIntervalMs": 500,
+ "jobName": "paragraph_1665511450265_-203265381",
+ "id": "20221011-180410_121819013",
+ "dateCreated": "2022-10-07T19:41:04+0000",
+ "dateStarted": "2022-10-11T18:09:32+0000",
+ "dateFinished": "2022-10-11T18:09:32+0000",
+ "status": "FINISHED",
+ "$$hashKey": "object:86"
+ }
+ ],
+ "name": "OML Datastore for R and Python",
+ "id": "124372",
+ "defaultInterpreterGroup": "spark",
+ "noteParams": {},
+ "noteForms": {},
+ "angularObjects": {
+ "ORA7A60DC9B32:OMLUSER-124372": [],
+ "MDW381939C745:shared_process": []
+ },
+ "config": {
+ "looknfeel": "default",
+ "personalizedMode": "false"
+ },
+ "info": {
+ "isRunning": false
+ },
+ "path": "/OML Datastore Notebook"
+}
\ No newline at end of file