Apply dimensionality reduction
Reduce high-dimensional data
Paste in your AI
Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.
Write Python code to reduce the dimensionality of a feature matrix X with [number] features using PCA, t-SNE, and UMAP. Determine the optimal number of PCA components using explained variance (95% threshold), visualize t-SNE and UMAP embeddings colored by [label column], and compare clustering quality.
Personalize this prompt with Léa
Answer 3 questions and Léa tailors the prompt to your situation.
Use Cases
Learn more
Check the full skill on Prompt Guide to master this technique from A to Z.
View on Prompt Guide📬 Get new prompts every week
Join our newsletter and never miss a prompt.
Similar Prompts
Multichannel marketing data analysis
Complete multichannel marketing performance analysis with ROI calculation, attribution models, and budget optimization.
Choose the right visualization for your data
Guide the choice of optimal chart type based on data, audience, and message to communicate.
Web analytics metrics analysis
Comprehensive web analytics metrics analysis to understand visitor behavior and identify optimization areas.
Create your first dashboard in Excel
Step-by-step guide to create your first professional Excel dashboard with no advanced knowledge required.