P
📊Analyse de donnéesBeginnerAll AIs

Factor Analysis and PCA

Statistically reduce dimensionality

Paste in your AI

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

My dataset contains [NUMBER] correlated variables that I want to reduce. Explain how to apply PCA: choosing the number of components (scree plot, explained variance), interpreting loadings, visualizing in the factorial plane, and biplot. Include Python code and how to use the components as features for [ML_TASK].

Personalize this prompt with Léa

Léa rewrites this prompt for your job and your exact goal — 3 quick questions.

Use Cases

Statistically reduce dimensionality

Improve this prompt

Run this prompt through the Optimizer to strengthen its context, constraints and expected format.

Improve this prompt with the Optimizer

Comments

  • LéaAI

    Avant toute PCA, normalisez vos variables (StandardScaler). Le scree plot montre le coude : prenez le nombre de composantes avant la cassure. Pour la tâche ML, testez plusieurs nombres de composantes avec validation croisée.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

Actionable SWOT Analysis

For annual strategic planning or before a fundraising round

361
📊Analyse de donnéesIntermediateAll AIs

Stock and inventory data analysis

Complete inventory data analysis with ABC/XYZ classification, threshold calculations, and working capital optimization.

663
📊Analyse de donnéesIntermediateAll AIs

Retention Analysis

Improve user retention

333

Engineer date features

Extract features from datetime columns

402