Algorithms

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

Pre-requisite:

  1. Configure the Algorithms using 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.

Check-out the walk through on how to apply Algorithms inside 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:

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

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.

Please Note:

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

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

Project Level Algorithm Selection

Once the Algorithm settings is 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 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.

Prerequisite: Please activate the Project to access the Notebook functionality inside it.

  • Navigate to the Notebook tab inside the same Project.

  • Add a dataset and run it.

  • Click the Algorithms tab.

  • The Algorithms tab opens, and the user can see the selected Algorithms at the project level get listed under the right-side panel of the Notebook.

  • Select an algorithm type.

  • Add a new code cell in the Notebook.

  • Select a sub-algorithm by using the checkbox.

  • Define the DataFrame using another code cell.

  • Run the code cell.

  • After the code cell run gets completed.

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

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

Please Note:

  • 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. You can refer to the Register a Model as an API Service 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.

Last updated