P
⚡ProductiviteAdvancedAll AIs

Preprocessing Pipeline

Automate preprocessing

Paste in your AI

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

Design a complete scikit-learn preprocessing pipeline for a dataset with: [FEATURE_TYPES] features, [MISSING_PERCENT] missing values, and intended for a [MODEL_TYPE] model. Include Python code with ColumnTransformer, transformations for each feature type, and train/test split handling.

Personalize this prompt with Léa

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

Use Cases

Automate preprocessing

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

    Pour un modèle linéaire, standardisez les numériques et OneHot les catégorielles. Utilisez `SimpleImputer(strategy='median')` sur les numériques si présence d'outliers. Pensez à `remainder='drop'` dans `ColumnTransformer` et à `random_state` dans le train/test split.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

⚡ProductiviteIntermediateAll AIs

Punchy Introduction

Introduction Writing

344
⚡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

344
⚡ProductiviteAdvancedAll AIs

Existing Content Audit

Content asset cleanup and optimization

334