P
📊Analyse de donnéesIntermediateAll AIs

Select features using multiple methods

Select the most predictive features

Paste in your AI

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

Write Python code to perform feature selection on DataFrame df for predicting [target] using: filter methods (mutual information, chi-squared), wrapper method (recursive feature elimination with cross-validation), and embedded method (Lasso regularization). Compare the selected feature sets and recommend a final set.

Personalize this prompt with Léa

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

Use Cases

Select the most predictive features

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

    Pensez à standardiser les variables avant le chi² et le Lasso, et adaptez la mesure d’information mutuelle au type de cible (classification vs régression). Croisez les résultats sur plusieurs splits pour vérifier la stabilité des sous-ensembles retenus, et privilégiez l’intersection des méthodes si la performance est équivalente.

📬 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éesIntermediateClaude

Prompt Claude for Analyzing Customer Reviews

Customer review analysis has become an essential strategic lever for any company looking to improve its products, services, and customer experience. Yet manually processing hundreds or thousands of comments remains a time-consuming task prone to interpretation bias. Claude, Anthropic's AI assistant, excels at qualitative analysis of natural language text. With its ability to understand nuances, sarcasm, implicit emotions, and cultural contexts, Claude transforms a corpus of raw reviews into actionable insights. Whether you manage an e-commerce site, a SaaS, or a network of stores, a well-structured prompt allows you to automatically extract dominant sentiments, identify recurring themes, spot weak signals, and prioritize improvement areas. This page offers an optimized main prompt as well as variants tailored to your level of expertise, to fully leverage Claude's potential in analyzing your customer feedback.

0234
📊Analyse de donnéesIntermediateAll AIs

Annual HR Report

HR Reporting

0225

Generate interaction features

Discover feature interactions

0215