P
đź’ĽBusinessAdvancedAll AIs

Sampling Strategy

Imbalanced Class Management

Paste in your AI

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

My dataset of [SIZE] observations shows a class imbalance: [MAJORITY_CLASS] represents [%] and [MINORITY_CLASS] represents [%]. My goal is [BUSINESS_OBJECTIVE]. Compare resampling strategies (oversampling, undersampling, SMOTE) and recommend the best approach with its parameters.

Personalize this prompt with Léa

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

Use Cases

Imbalanced Class Management

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

    Ajoutez des métriques spécifiques (F1, rappel, précision) pour évaluer le compromis entre réduction du biais et variance. Si la classe minoritaire est très petite (<10 %), SMOTE peut générer du bruit ; testez d'abord un suréchantillonnage simple avec class_weight='balanced' dans votre modèle.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

đź’ĽBusinessBeginnerAll AIs

Geographic Area Prospecting Email

Generating valuation requests in a targeted area

386
đź’ĽBusinessIntermediateAll AIs

Define edge cases for a feature

Find edge cases before engineering

487
đź’ĽBusinessAdvancedAll AIs

IP Packaging

Creating defensible intellectual property

371
đź’ĽBusinessAdvancedAll AIs

Prepare a Fundraising Package and Strategy

Prepares a complete fundraising strategy with valuation, narrative, investor list, and closing process.

783