P
⚡ProductiviteIntermediateAll AIs

Feature selection

Dimensionality reduction

Paste in your AI

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

My dataset has [NUMBER] features to predict [TARGET_VARIABLE]. I want to select the most relevant [TARGET_NUMBER] features. Compare filter methods (correlation, chi2), wrapper methods (RFE), and embedded methods (Lasso, feature_importances). Implement the 3 approaches in Python and propose a consensus strategy.

Personalize this prompt with Léa

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

Use Cases

Dimensionality reduction

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

    Attention : normalise tes features avant Lasso et RFE, et encode correctement les catégorielles pour chi2. Attention aussi au surapprentissage du RFE sur petit dataset : croise toujours la sélection en validation. Si les trois méthodes divergent, garde l’intersection des top-k plutôt que la moyenne des rangs.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

⚡ProductiviteIntermediateAll AIs

Punchy Introduction

Introduction Writing

341
⚡ProductiviteBeginnerAll AIs

Prompt to Write a Professional Quote Request Email

A complete prompt to generate a structured, professional and customizable quote request email adapted to your industry and recipient.

334
⚡ProductiviteBeginnerAll AIs

Convert CSS to Tailwind

Migrate from standard CSS to Tailwind CSS

343
⚡ProductiviteAdvancedAll AIs

Probability Calibration

Improve the reliability of predicted probabilities

369