Before You Begin
This tutorial shows you how to collaborate and share notebooks with other users in Oracle Machine Learning. This is the third tutorial in the series Working with Oracle Machine Learning. Read the tutorials in sequence.
- Creating Projects and Workspaces in Oracle Machine Learning
- Creating and Running Notebooks in Oracle Machine Learning
- Collaborating in Oracle Machine Learning
- Creating SQL Scripts in Oracle Machine Learning
- Running SQL Statements in Oracle Machine Learning
This tutorial takes approximately 5 minutes to complete.
Background
A notebook is a web-based interface for data analysis, data discovery, data visualization and collaboration.
What Do You Need?
- Access to your Oracle Machine Learning account
- Provide workspace permission to users with whom you want to collaborate
- A notebook created in your OML account
Assign Workspace Permissions
You can collaborate with other users in Oracle Machine Learning by granting permissions to access your workspace. Your workspace contains your projects and notebooks. Oracle Machine Learning allows three types of permissions. By granting different types of permissions such as Manager, Developer, and Viewer, you can allow another user to view your workspace and perform different tasks in your projects and notebooks such as edit, create, update, delete, run, view notebooks and so on.
Caution: If you grant the permission type Manager or Developer, then the user can also drop tables, create tables, and run any scripts at any time on your account. The user with Viewer permission type can only view your notebooks, and is not authorized to run or make any changes to your notebooks.
To grant permission to a user:
- On the top right corner of Oracle Machine Learning home page, click the project and workspace drop-down list, and select Workspace Permissions.
- In the Permissions dialog box, select a user from the Username drop-down list.
- In the Permission Type drop-down list, select the
permission type to grant to the selected user.
These types of permissions are available:
- Manager: A user with the permission type Manager may perform the following tasks:
- Project - Create, update, delete your projects
- Workspace - View only
- Notebooks - Create, update, run, delete, and schedule jobs to run your notebooks
- Developer: A user with the permission type Developer may perform the following tasks:
- Project: View only
- Workspace: View only
- Notebooks: Create, update, run, and delete jobs to run your notebooks
- Viewer: A user with the permission type Viewer can only view your workspace, projects, and notebooks.
- Click Add. Once the user is granted the selected permission type, the username is displayed along with the permission type.
- Click OK. This completes the task of granting permission to the user. To delete a user along with the associated permission, select the user and click Delete.
Collaborate Using the Export Option
You can export a notebook as a .json
(JavaScript
Object Notation) file, and later import it in to the same or a
different environment.
- In the Notebook page, click the notebook that you want to export. The notebook opens in the Notebook editor.
- In the top panel of the notebook editor, click the export icon.
- The Save as Dialog box opens. Navigate to the location in
your system where you want to save the notebook. The notebook
is saved in your local folder as a
.json
file.
Share a Notebook by Using Oracle Machine Learning Library
You can share a notebook by saving an existing notebook as a template in My Library or in Shared location in Oracle Machine Learning. To save a notebook as a template:
- In the Notebooks page, select the notebook that you want to save as template and click Save as Template. The Save as Template dialog box opens.
- In the Name field, enter a name for the notebook template.
- In the Comments field, enter comments if any.
- In the Tags field, enter tags for the template.
- In Save To field, select Personal if you
want to save this notebook under Personal templates.
Notebooks under Personal are visible only to the owner
of the notebook. Select Shared if you want to save and
share this notebook. The Shared template is visible to
all users of the system within the scope of the tenant.
Note: Notebook templates under Examples are provided by Oracle and are visible to all tenants. Users cannot add notebooks to the Examples template.