5 min readUpdated Mar 2, 2026

DataClassifyNodeEditor

Overview

The DataClassifyNodeEditor is a custom editor component within the Vantage analytics & data platform. It allows users to define classification rules that assign category labels to data rows based on specified conditions. The rules are evaluated in a top-to-bottom order, meaning that the first rule that matches a row will determine the label assigned to that row. This functionality is integral to data categorization, enabling users to refine data insights and reporting based on specific criteria.

Purpose

The purpose of the DataClassifyNodeEditor is to facilitate user-defined categorization of data based on specific logic and conditions. Users can configure rules using various comparison operators and can specify default labels to apply when no rules match.

Settings

1. Output Column Name

2. Default Label

3. Classification Rules

Operators

Users can select from the following operators, each of which has its own functionality:

Example Settings Configuration:

json
{
  "outputColumn": "category",
  "defaultLabel": "Other",
  "rules": [
    {
      "column": "age",
      "operator": "greaterThan",
      "value": "18",
      "label": "Adult"
    },
    {
      "column": "age",
      "operator": "lessThan",
      "value": "18",
      "label": "Minor"
    },
    {
      "column": "status",
      "operator": "contains",
      "value": "active",
      "label": "Active User"
    }
  ]
}

How It Works

The DataClassifyNodeEditor component utilizes hooks for managing state and dependencies, specifically:

The rules can be dynamically added, updated, and removed, and the component provides user interactivity for moving rules, making it intuitive to manage complex classification scenarios.

AI Integrations

While the direct code does not reference any AI integration, the DataClassifyNodeEditor can be combined with AI-powered features in Vantage, like machine learning models that might recommend rules based on existing data patterns or analyze data to create default labels intelligently.

Billing Impacts

The use of DataClassifyNodeEditor does not imply direct billing impacts. However, extensive data processing involving multiple classification rules may have associated costs if using cloud-based processing resources. Customers should be aware of potential charges for data handling when deploying complex classification workflows.

Use Cases & Examples

Use Case 1: Customer Segmentation

Businesses can use the DataClassifyNodeEditor to segment their customer base into categories such as "Active", "Inactive", "Potential", and "High Value". This helps tailor marketing efforts and increase conversion rates.

Use Case 2: Product Categorization

E-commerce platforms can apply classification rules to categorize products based on their attributes, such as "Electronics", "Clothing", or "Home Goods". This enhances user navigation and improves search effectiveness.

Use Case 3: Compliance Monitoring

Organizations can implement the DataClassifyNodeEditor to monitor compliance-related data elements, tagging records that meet specific regulatory conditions, which can help in risk assessment and reporting.

Detailed Example

For the customer segmentation use case, the DataClassifyNodeEditor might be configured as follows to classify customers:

json
{
  "outputColumn": "customer_segment",
  "defaultLabel": "Unspecified",
  "rules": [
    {
      "column": "last_purchase_date",
      "operator": "greaterThan",
      "value": "2022-01-01",
      "label": "Active"
    },
    {
      "column": "last_purchase_date",
      "operator": "lessThan",
      "value": "2022-01-01",
      "label": "Inactive"
    },
    {
      "column": "purchase_amount",
      "operator": "greaterThan",
      "value": "1000",
      "label": "High Value"
    }
  ]
}

This configuration will classify customers based on their last purchase date and total purchase amount, enabling effective marketing strategies for each segment defined.