P
📊Analyse de donnéesBeginnerAll AIs

Evaluate a regression model

Evaluate regression model performance

Paste in your AI

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

Write Python code to fully evaluate a regression model on test set y_test vs y_pred. Report: MAE, RMSE, MAPE, R², adjusted R², and maximum error. Plot: actual vs predicted scatter, residual plot, residual distribution, and Q-Q plot. Identify systematic bias and heteroscedasticity patterns.

Personalize this prompt with Léa

Answer 3 questions and Léa tailors the prompt to your situation.

Use Cases

Evaluate regression model performance

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 un test de Breusch-Pagan (statsmodels.stats.diagnostic.het_breuschpagan) pour quantifier l'hétéroscédasticité et un test de Shapiro-Wilk (scipy.stats.shapiro) sur les résidus pour vérifier leur normalité au-delà du Q-Q plot. Cela transforme l'analyse visuelle en diagnostic statistique robuste.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

Build a recommendation system

Build recommendation systems

0106

Create an automated EDA report

Generate EDA reports automatically

0101
📊Analyse de donnéesIntermediateAll AIs

Build a feature engineering pipeline

Create reproducible preprocessing pipelines

0104
📊Analyse de donnéesIntermediateAll AIs

Statistical Power Analysis

Planning a statistical experiment

0122