P
📊Analyse de donnéesBeginnerAll AIs

Normalization and standardization

Data scaling

Paste in your AI

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

My dataset contains features with very different scales: [FEATURE_EXAMPLES_AND_RANGES]. I am going to train a [MODEL_TYPE] model. Explain which normalization/standardization technique to apply to each feature and why, along with the corresponding Python code.

Personalize this prompt with Léa

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

Use Cases

Data scaling

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

    Précisez le modèle : pour les algorithmes à base de distances ou linéaires (kNN, SVM, régression logistique), utilisez `StandardScaler`. Pour les réseaux de neurones, préférez `MinMaxScaler` (valeurs 0-1). Avec des outliers, `RobustScaler` est plus sûr. Appliquez toujours `fit_transform` sur le train puis `transform` sur le test.

📬 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

0225

Generate interaction features

Discover feature interactions

0216
📊Analyse de donnéesIntermediateAll AIs

Extract and structure HTML content

Extract structured data from HTML pages

0207