Data Science Lab
  • What is Data Science Lab?
  • Accessing the Data Science Lab Module
  • Homepage
  • List Projects
  • List Feature Stores
  • Create
    • Create Project
      • Container Status Message
    • Create Feature Store
  • Registered Models and APIs
  • Settings
  • Trash
  • Tabs for a DSL Project
    • Workspace
      • Workspace Folders
        • Repo Folder Attributes
          • Notebook Actions
            • Export
            • Register as Job
            • Notebook Version Control
            • Share
            • Delete
            • Information
        • Repo Folder Attributes for a Repo Sync Project
          • File Attributives
        • Utils Folder Attributes
          • Utility Actions
        • Files Attributes
      • Working with the Workspace tab
        • Create
        • Import
          • Importing Notebook
          • Pull from Git
        • Adding File and Folders
      • Linter
      • Git Console
    • Data
      • Adding Data
      • Data List Page
    • Model
      • Import Model
      • Explainer Generator
      • Export to GIT/ Model Migration
      • Model Explainer
      • Share a Model
      • 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
      • Delete Model
    • AutoML
      • Creating AutoML Experiment
      • AutoML List Page
        • View Explanation
          • Model Summary
          • Model Interpretation
            • Classification Model Explainer
            • Regression Model Explainer
            • Forecasting Model Explainer
          • Dataset Explainer
  • Data Science Notebook
    • Preview File
    • Save as Notebook
    • .ipynb File Cells
      • Using a Code Cell
      • Using a Markdown Cell
      • Using an Assist Cell
    • Resource Utilization Graph
    • Taskbar
    • Actions Icons
  • Model Creation using Data Science Notebook
  • Notebook Operations
    • Data
      • Copy Path Functionality
    • Secrets
    • Algorithms
    • Transforms
    • Artifacts
    • Variable Explorer
    • Writers
Powered by GitBook
On this page
  • Admin Settings for Algorithms
  • Project Level Algorithm Selection
  • Using Algorithms inside a .ipynb File
  1. Notebook Operations

Algorithms

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

PreviousSecretsNextTransforms

Last updated 10 months ago

Pre-requisite:

  1. Configure the Algorithms using the Data Science Lab Settings from the Admin module to access them under the Data Science Lab Project creation.

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

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:

  1. ​

Please Note: The first two steps are prerequisites for the user to avail desired Algorithms inside their DS Lab Projects.

Admin Settings for Algorithms

  • Navigate to the Admin module.

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

  • The Data Science Settings Information 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.

Please Note:

  • Regression & Classification - Default Algorithm types that Admin will enable for each Data Science Lab module user.

  • Forecasting, Unsupervised, Natural Language Processing - These algorithms will be disabled by default. As per the user's request, they will be enabled by the Admin.

Project Level Algorithm Selection

Once the Algorithm settings are configured in the Admin module, and the required Algorithms are selected while creating a Data Science Project, the user can access those Algorithms within a Notebook created under the same DSL Project.

Please Note: Once the Algorithm configuration is completed from the Admin and Project level the same set of Algorithms will be available for all the Notebooks which are part of that DSL Project.

  • Navigate to the Data Science Lab.

  • Click the Create option for Project.

  • The Create Project page appears.

  • Select the algorithms using the given checkboxes from the drop-down menu.

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

  • Save the project.

Please Note: Provide all the required fields for the Project creation.

Using Algorithms inside a .ipynb File

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

Prerequisite:

  • Please activate the Project to access the Notebook functionality inside it.

  • Do the required Admin level Settings and Project Level settings to access the Algorithms inside a Data Science Lab Notebook.

Check out the illustration on using an algorithm script inside a Data Science Notebook.

  • Navigate to the Workspace tab inside the same Project.

  • Add a dataset and run it.

  • Click the Algorithms tab.

  • Add a new code cell in the .ipynb file.

  • It will display the list of algorithms selected and added at the Project level. Select a sub-category of the Algorithm using a checkbox.

  • The pre-defined code for the selected algorithm type gets added to the code cell.

  • Define the necessary variables in the code cell. Define the Data and Target column in the auto-generated algorithm code.

  • Run the code cell.

  • After the code cell run is completed.

  • The test data predictions based on the train data appear below.

Please Note:

  • You can run the cell containing the data frame details to see the output.

  • The model based on the Algorithm can be saved under the Models tab.

  • The algorithm-based models can be registered to be accessed inside the Data Pipeline module.

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

Register a Model as an API Service
Admin Settings for Algorithms​
​Project Level Algorithm Selection​
Using Algorithm script inside a DS Notebook
Using an Algorithm inside a Notebook