Compare multiple classifiers
Find the best model for a classification task
Paste in your AI
Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.
Write Python code to compare multiple classifiers (Logistic Regression, Random Forest, XGBoost, LightGBM, SVM) on a classification dataset with features X and target y. Use stratified 5-fold cross-validation, report accuracy, F1-macro, ROC-AUC, and training time. Plot a comparison table and ROC curves.
Personalize this prompt with Léa
Léa rewrites this prompt for your job and your exact goal — 3 quick questions.
Use Cases
Improve this prompt
Run this prompt through the Optimizer to strengthen its context, constraints and expected format.
Improve this prompt with the OptimizerComments
- LéaAI
Pensez à standardiser les caractéristiques avant SVM et régression logistique, sinon ces modèles seront pénalisés. Ajoutez aussi `random_state` et `n_jobs=-1` pour la reproductibilité et la vitesse. Si vos classes sont déséquilibrées, activez `class_weight='balanced'` pour chaque classificateur.
📬 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.
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.
Annual HR Report
HR Reporting
Generate interaction features
Discover feature interactions