Data Science Lab
  • What is Data Science Lab?
  • Accessing the Data Science Lab Module
  • Data Science Lab Quick Start Flow
  • Project
    • Environments
    • Creating a Project
    • Project List
      • Keep Multiple Versions of a Project
      • Sharing a Project
      • Editing a Project
      • Activating a Project
      • Deactivating a Project
      • Deleting a Project
    • Tabs for a Data Science Lab Project
      • Tabs for TensorFlow and PyTorch Environment
        • Notebook
          • Ways to Access Notebook
            • Creating a Notebook
            • Uploading a Notebook
          • Notebook Page
            • Preview Notebook
            • Notebook Cells
              • Using a Code Cell
              • Using a Markdown Cell
            • Modifying a Notebook
            • Resource Utilization Graph
            • Notebook Taskbar
            • Notebook Operations
              • Datasets
                • Copy Path (for Sandbox files)
              • Secrets
              • Algorithms
              • Transforms
              • Models
                • Model Explainer
                • Registering & Unregistering a Model
                • Applying Filter
              • Predict
              • Artifacts
              • Variable Explorer
              • Find and Replace
          • Notebook List Page
            • Export
              • Export to Pipeline
              • Export to GIT
            • Notebook Version Control
            • Sharing a Notebook
            • Editing a Notebook
            • Deleting a Notebook
        • Dataset
          • Adding Data Sets
            • Data Sets
            • Data Sandbox
          • Dataset List Page
            • Preview
            • Data Profile
            • Create Experiment
            • Data Preparation
            • Delete
        • Utility
        • Model
          • Model Explainer
          • Import Model
          • Export to GIT
          • Register a Model
          • Unregister A Model
          • Register a Model as an API Service
            • Register a Model as an API
            • Register an API Client
            • Pass Model Values in Postman
          • AutoML Models
        • Auto ML
          • Creating Experiments
            • Accessing the Create Experiment Option
              • Configure
              • Select Experiment Type
          • AutoML List Page
            • View Report
              • Details
              • Models
                • View Explanation
                  • Model Summary
                  • Model Interpretation
                    • Classification Model Explainer
                    • Regression Model Explainer
                  • Dataset Explainer
            • Delete
      • Tabs for PySpark Environment
        • Notebook
          • Ways to Access Notebook
            • Creating a Notebook
            • Uploading a Notebook
          • Notebook Page
            • Preview Notebook
            • Notebook Cells
              • Using a Code Cell
              • Using a Markdown Cell
            • Modifying a Notebook
            • Resource Utilization Graph
            • Notebook Taskbar
            • Notebook Operations
              • Datasets
                • Copy Path (for Sandbox files)
              • Secrets
              • Variable Explorer
              • Find and Replace
          • Notebook List Page
            • Export
              • Export to Pipeline
              • Export to GIT
            • Notebook Version Control
            • Sharing a Notebook
            • Editing a Notebook
            • Deleting a Notebook
        • Dataset
          • Adding Data Sets
          • Dataset List Page
            • Preview
            • Data Profile
            • Data Preparation
            • Delete
        • Utility
Powered by GitBook
On this page
  • Admin Settings for Algorithms
  • Project Level Algorithm Selection
  • Using Algorithms inside a Notebook
  • Registering an Algorithm based Model
  1. Project
  2. Tabs for a Data Science Lab Project
  3. Tabs for TensorFlow and PyTorch Environment
  4. Notebook
  5. Notebook Page
  6. Notebook Operations

Algorithms

Get steps on how to do Algorithm Settings and Project level access to use Algorithms inside Notebook.​

PreviousSecretsNextTransforms

Last updated 2 years ago

Pre-requisite:

  1. Configure the Algorithms using the to access them under the creation.

  2. The user must select Algorithms while creating a Project to make them accessible for a Notebook within the Project.

Check-out the walk through on how to apply Algorithms inside Notebook.

Algorithm tab in the Notebook

The entire process to access the Algorithms option inside the DS Lab and actually create a model based on the Algorithm is a three-step process:

Admin Settings for Algorithms

  • Navigate to the Admin module.

  • Open the Notebook Settings option from the Configuration section of the Admin panel.

  • The Notebook Settings page opens.

  • Select the Algorithms using the drop-down option.

  • Click the Save option.

  • A confirmation message appears to inform about the Notebook details updates.

Project Level Algorithm Selection

Once the Algorithm settings is configured in the Admin module, the user can access the Algorithm within the Data Science Lab.

  • Navigate to the Data Science Lab.

  • Click the Create Project option.

  • Together with the other required fields select the algorithms using the given checkboxes from the drop-down menu.

  • The selected Algorithms appear on the field separated by comma.

  • Save the project.

Using Algorithms inside a Notebook

Once the Algorithms are selected while creating a Project, those algorithms will be available for all the Notebooks created inside that project.

  • Open the Notebook tab inside the same Project.

  • Create a new Notebook or Navigate to an existing Notebook under the same Project.

  • You can see the selected Algorithms at the project level get listed under the right-side panel of the Notebook.

  • Add a code cell with the dataset information.

  • Define the DataFrame using another code cell.

Please Note: You can run the cell containing the data frame details to see the data output below:​​​

  • Add another code cell below.

  • Select an algorithm type by using the checkbox.

  • You will get the algorithm script pasted in the intended code cell.

  • Specify train and test data.

  • Run the cell.

  • You can see the data output below.

  • Add a new code cell below.

  • Click the Save Model option.

  • Specify the model name and model type in the auto generated code.

  • Run the cell.

  • The model gets saved and lists under the Models tab (The model will list under the Unregistered models as it is not registered yet).

  • Add new code cell.

  • Load the model in the cell by clicking the checkbox given next to the model.

  • Specify the model as the loaded model and model type for the loaded model.

  • Run the cell.

  • The data output gets displayed below.

Registering an Algorithm based Model

The user can further register a saved model with Algorithm from a Notebook. The steps are given below to Register an Algorithm based Model:

  • Click the Register option for the saved model.

  • The Register Model dialog box appears to confirm the action.

  • Click the Yes option.

  • A confirmation message appears to inform about the completion of the model registration action.

  • The concerned model appears under the Registered model list.

​

  • Open a Pipeline using the Data Pipeline module that contains the DS Lab Model Runner component.

  • You can see the same model (which was registered from the DS Lab module) listing under the Meta Information tab of the DS Lab Model Runner component.

Please Note:

​​

​​

​​

Specifying the train and test data
Saving the Algorithm based model
The saved model
The saved model gets loaded in the new cell
Specifying the model and model type for a loaded model
Output data after running the loaded model

​

​

Accessing the same registered model under the Data Pipeline module

The model based on an Algorithm script can be registered as an API service. You can refer to the section for more details.

Refer the Data Science Lab Quick Start Flow page to get an overview of the Data Science Lab module in nutshell. to get redirected to the quick start flow page.

Admin Settings for Algorithms
Project Level Algorithm Selection
Using Algorithm inside a Notebook
Publish a Model as an API Service
Click here
Admin module
Data Science Lab Project
Accessing the selected Algorithms inside a Notebook
Code cells with Dataset and Data frames
Default script gets added to the Code cell based on the selected Algorithm type