/localdata-mcp:dimensionality-reduction <database-name>from localdata-mcp
Reduces high-dimensional data to 2-3 components using PCA, t-SNE, or UMAP for visualization, pattern discovery, or feature engineering. Guides interpretation of component loadings and comparison of methods.
Ships in localdata-mcp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Reduce data to fewer dimensions for visualization, pattern discovery, or feature engineering.
Explore features. Call describe_database with the database name from $ARGUMENTS. Identify all numeric columns. Call get_data_quality_report to check for nulls and assess feature distributions.
Extract data. Call execute_query to select the numeric feature columns. Note the number of rows and features. High-dimensional data (10+ features) benefits most from reduction.
Run PCA first. Call reduce_dimensions with algorithm "pca" and 2-3 components. Review:
Interpret PCA components. Describe each component by its top-loading features. Name the components in domain terms when possible (e.g., "size factor" if height, weight, and volume all load heavily on PC1).
Try t-SNE or UMAP for visualization. If PCA explains less than 50% of variance in 2D (data has complex nonlinear structure), call reduce_dimensions with "tsne" or "umap". These methods preserve local structure better but:
Compare methods. Assess which reduction best reveals structure: clusters, gradients, or outliers in the 2D view. PCA is interpretable; t-SNE/UMAP reveal groupings.
Present results. Provide:
/localdata-mcp:regression, or use groupings visible in t-SNE as input to /localdata-mcp:cluster-analysisWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
dimensionality-reduction, pca, tsne, umap, feature-engineering, data-visualization
Generated from the plugin's indexed repository (chrisgve/localdata-mcp) — no native marketplace selected
npx claudepluginhub p/chrisgve-localdata-mcp18 skills in this plugin
/ab-testAnalyze an A/B test experiment and provide a clear ship/iterate/no-ship recommendation. Use when evaluating experiment results./analyze-correlationsRun correlation analysis on connected data, identify strong relationships, and suggest regression models. Use when exploring relationships between variables./anomaly-detectionDetect outliers and anomalies in data using isolation forest or local outlier factor. Use when identifying unusual observations or suspicious patterns./cluster-analysisDiscover natural groupings in data using clustering algorithms with evaluation and visualization. Use when segmenting data or finding patterns./data-pipelineRun an end-to-end data analysis pipeline — connect, profile, analyze, and report. Use when performing a complete analysis workflow./data-qualityRun a thorough data quality assessment — completeness, consistency, validity, and uniqueness. Use when you need to understand data fitness before analysis.Other plugins' skills for the same job