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

Data cleaning and preparation

Step-by-step guide to clean and standardize raw data before analysis in Excel or Google Sheets.

0499
📊Analyse de donnéesIntermediateAll AIs

Annual HR Report

HR Reporting

0226

Generate interaction features

Discover feature interactions

0217
📊Analyse de donnéesIntermediateAll AIs

Extract and structure HTML content

Extract structured data from HTML pages

0207