Spinner logo OtasAI


Did You Know?

Categorical data - Label Encoding


Label encoding is a crucial preprocessing step in machine learning, especially for algorithms that can work with categorical data in numerical form. OtasML, a visual machine learning tool, offers a Label Encoding feature within its data preparation model. This tool converts categorical data into numerical labels, ensuring compatibility with various machine learning algorithms. This article explores how to configure the Label Encoding feature to optimize your data preprocessing workflow.


The Label Encoding tool in OtasML provides a straightforward method for converting categorical data into numerical labels. Below are the key configurations and options available:


  • Default Value: None
  • Description: This option allows users to select specific columns for label encoding. By specifying the subset of columns, users can ensure that only the desired categorical columns are transformed, providing more control over the preprocessing step.

Interactive Buttons: Preview and Save

To enhance user experience and provide greater control over the label encoding process, the tool includes two essential buttons:

  • Preview: This button allows users to see the effects of the label encoding configuration in real-time without permanently applying the changes. By clicking Preview, users can visually assess how the dataset will be transformed based on the current configurations, ensuring that the encoding method is appropriate before committing to any changes.
  • Save: Once users are satisfied with their configurations and the preview results, they can click the Save button to permanently apply their chosen settings. This action saves the configuration, which will then be applied to the data during the training process, ensuring that the label encoding aligns with the user's expectations and requirements.


The Label Encoding tool in OtasML provides a simple yet powerful solution for converting categorical data into numerical labels, making it suitable for machine learning algorithms that require numerical input. By allowing users to selectively apply label encoding to specific columns, the tool offers greater flexibility and control over the data preprocessing step. The inclusion of interactive Preview and Save buttons further enhances the user experience, ensuring confidence in the label encoding process. OtasML continues to empower users with intuitive and effective tools, making data preparation a seamless and integral part of the machine learning workflow.


A+ A-