Categorical Semantic Embeddings

0•

Transforms categorical dataset attributes into interpretable feature vectors and multidimensional visual embeddings using external world knowledge.

Categorical Semantic Embeddings executes an automated six-stage agent pipeline that transforms categorical columns into interpretable, N-dimensional feature vectors derived from world knowledge rather than internal dataset values. By generating domain-specific heuristics, scoring options across orthogonal axes, applying spectral seriation, and generating 2D and 3D multidimensional scaling (MDS) plots with CIE-Lab color mapping, it reveals the semantic structure of nominal variables. It is particularly valuable for data scientists and analysts who need meaningful categorical encodings, exploratory visualizations, and rigorous validation against held-out numerical attributes without risking target leakage.

Key Features

01Generates 2D and 3D MDS visualizations with perceptually uniform CIE-Lab color alignment
02Performs spectral seriation using the Fiedler vector on full N-dimensional distance matrices with stability metrics
03Six-stage automated pipeline covering data reading, feature discovery, heuristic scoring, seriation, and dimensionality reduction
04Generates interpretable semantic dimensions from world knowledge to preserve independent numeric columns for validation
05Includes automated post-pipeline validation against ground-truth numeric columns and classification labels
060 GitHub stars

Use Cases

01Encoding nominal categorical variables into meaningful, continuous feature vectors for machine learning pipelines
02Extracting interpretable semantic orderings and rankings for survey responses, product catalogs, or biological taxonomies
03Exploring and visualizing complex categorical attributes in tabular datasets using 2D/3D MDS maps