2.1.3 Edit Your Notebook Classic
Upon creating an OML Notebook Classic, it opens automatically, presenting
you with a single paragraph using the default %sql
interpreter. You can
change the interpreter by explicitly specifying one of %script, %python,
%sql
, %r
, %md
or
%conda
.
- On Oracle Machine Learning UI home page, select the project in which your notebook is available.
- Go to the Oracle Machine Learning UI navigator, and select Notebooks Classic. All notebooks that are available in the project are listed.
- Click the notebook that you want to open and edit.The selected notebook opens in edit mode.
- In the edit mode, you can use the Oracle
Machine Learning Notebooks Classic toolbar options
to run code in paragraphs, for configuration
settings, and display options.
Figure 2-1 Notebook toolbar
You can perform the following tasks:- Write code to fetch data
- Click
to run one or all paragraphs in the notebook.
- Click
to hide all codes from all the paragraphs in the notebook. Click it again to display the codes.
- Click
to hide all outputs from all the paragraphs in the notebook. Click it again to view the outputs.
- Click
to remove all outputs from all the paragraphs in the notebook. To view the output, click the run icon again.
- Click
to delete all the paragraphs in the notebook.
- Click
to export the notebook.
- Click
to search any information in the codes present in the notebook.
- Click
to view the list of keyboard shortcuts.
- Click
to set the order for interpreter bindings for the notebook.
- Click
to select one of the three notebook display options.
- Click default to view the codes, output, and metadata in all paragraphs in the notebook.
- Click Simple to view only the code and output in all paragraphs in the notebook. In this view, the notebook toolbar and all edit options are hidden. You must hover your mouse to view the edit options.
- Click Report to view only the output in all paragraphs in the notebook.
- Click
to access paragraph specific edit options such as clear output, remove paragraph, adjust width, font size, run all paragraphs above or below the selected paragraph and so on.
- Add dynamic forms such as the
Text Input form, Select form, Check box form for
easy selection of inputs and easy filtering of
data in your notebook. Oracle Machine Learning supports the following Apache Zeppelin dynamic
forms:
-
Text Input form — Allows you to create a simple form for text input.
-
Select form — Allows you to create a form containing a range of values that the user can select.
-
Check Box form — Allows you to insert check boxes for multiple selection of inputs.
-
Note:
The Apache Zeppelin dynamic forms are supported only on SQL interpreter notebooks. - Once you have finished editing the notebook, click Back.This takes you back to the Notebooks Classic page.
Parent topic: Access OML Notebooks