Skip to content
ml-project-lifecycle logo

ML Project Lifecycle Planning

ml-project-lifecycle

Plan ML projects using CRISP-DM, TDSP, and MLOps methodologies with proper phase gates and deliverables.

SKILL.md

Full skill instructions

ML Project Lifecycle Planning

When to Use This Skill

Use this skill when:

  • Ml Project Lifecycle tasks - Working on plan ml projects using crisp-dm, tdsp, and mlops methodologies with proper phase gates and deliverables
  • Planning or design - Need guidance on Ml Project Lifecycle approaches
  • Best practices - Want to follow established patterns and standards

Overview

ML project lifecycle methodologies provide structured approaches for planning, executing, and deploying machine learning systems with appropriate governance and quality gates.

CRISP-DM Methodology

Six Phases

┌─────────────────────────────────────────────────────────────────┐
│                        CRISP-DM Cycle                           │
├─────────────────────────────────────────────────────────────────┤
│                                                                  │
│         ┌─────────────────────┐                                 │
│         │   1. Business       │                                 │
│         │   Understanding     │                                 │
│         └────────┬────────────┘                                 │
│                  │                                               │
│    ┌─────────────┼─────────────┐                                │
│    │             ▼             │                                │
│    │  ┌─────────────────────┐  │                                │
│    │  │  2. Data            │  │                                │
│    │  │  Understanding      │  │                                │
│    │  └────────┬────────────┘  │                                │
│    │           │               │                                │
│    │           ▼               │                                │
│    │  ┌─────────────────────┐  │                                │
│    │  │  3. Data            │  │                                │
│    │  │  Preparation        │  │                                │
│    │  └────────┬────────────┘  │                                │
│    │           │               │                                │
│    │           ▼               │                                │
│    │  ┌─────────────────────┐  │                                │
│    │  │  4. Modeling        │  │                                │
│    │  └────────┬────────────┘  │                                │
│    │           │               │                                │
│    │           ▼               │                                │
│    │  ┌─────────────────────┐  │                                │
│    │  │  5. Evaluation      │  │◄──── Go/​No-Go Decision        │
│    │  └────────┬────────────┘  │                                │
│    │           │               │                                │
│    └───────────┼───────────────┘                                │
│                ▼                                                 │
│         ┌─────────────────────┐                                 │
│         │  6. Deployment      │                                 │
│         └─────────────────────┘                                 │
│                                                                  │
└─────────────────────────────────────────────────────────────────┘

Phase Details

PhaseKey ActivitiesDeliverables
Business UnderstandingDefine objectives, success criteriaBusiness requirements doc
Data UnderstandingExplore, describe, verify dataData quality report
Data PreparationClean, transform, feature engineerTraining datasets
ModelingSelect algorithms, train, tuneModel artifacts, metrics
EvaluationAssess model, review processEvaluation report
DeploymentDeploy, monitor, maintainProduction system

MLOps Maturity Levels

Level Assessment

LevelDescriptionCharacteristics
0ManualNo automation, ad-hoc experiments
1ML PipelineAutomated training, manual deployment
2CI/​CD PipelineAutomated training and deployment
3Full MLOpsAutomated monitoring, retraining

MLOps Components

┌─────────────────────────────────────────────────────────────────┐
│                      MLOps Architecture                          │
├─────────────────────────────────────────────────────────────────┤
│                                                                  │
│  ┌────────────┐   ┌────────────┐   ┌────────────┐              │
│  │ Data       │   │ Feature    │   │ Model      │              │
│  │ Pipeline   │──►│ Store      │──►│ Training   │              │
│  └────────────┘   └────────────┘   └─────┬──────┘              │
│                                          │                      │
│  ┌────────────┐   ┌────────────┐   ┌─────▼──────┐              │
│  │ Monitoring │◄──│ Model      │◄──│ Model      │              │
│  │ & Alerts   │   │ Serving    │   │ Registry   │              │
│  └────────────┘   └────────────┘   └────────────┘              │
│                                                                  │
│  ┌─────────────────────────────────────────────────────────┐    │
│  │              Experiment Tracking & Versioning            │    │
│  └─────────────────────────────────────────────────────────┘    │
│                                                                  │
└─────────────────────────────────────────────────────────────────┘

Project Planning Template

# ML Project Plan: [Project Name]

## 1. Business Understanding

### Objectives
- Primary goal: [What business problem are we solving?]
- Success metrics: [How will we measure success?]
- Stakeholders: [Who will use/​be affected by this?]

### Constraints
- Timeline: [Project duration]
- Resources: [Team, compute, budget]
- Data availability: [What data do we have access to?]

## 2. Data Understanding

### Data Sources
| Source | Type | Volume | Refresh |
|--------|------|--------|---------|
| [Source 1] | [Type] | [Size] | [Frequency] |

### Data Quality Assessment
- Completeness: [% complete]
- Accuracy: [Validation approach]
- Timeliness: [Data freshness]

## 3. Data Preparation

### Feature Engineering Plan
| Feature | Source | Transformation | Rationale |
|---------|--------|----------------|-----------|
| [Feature 1] | [Column] | [Transform] | [Why] |

### Data Pipeline
- Extraction: [Method]
- Transformation: [Tools/​approach]
- Loading: [Destination]

## 4. Modeling Approach

### Algorithm Selection
| Algorithm | Pros | Cons | Priority |
|-----------|------|------|----------|
| [Algorithm 1] | [Pros] | [Cons] | [1-3] |

### Experimentation Plan
- Baseline: [Simple model for comparison]
- Iterations: [Planned experiments]
- Hyperparameter strategy: [Grid/​random/​bayesian]

## 5. Evaluation Criteria

### Metrics
| Metric | Target | Baseline | Importance |
|--------|--------|----------|------------|
| [Metric 1] | [Target] | [Current] | [High/​Med/​Low] |

### Go/​No-Go Criteria
- Minimum performance: [Threshold]
- Business validation: [Process]

## 6. Deployment Plan

### Serving Architecture
- Inference type: [Real-time/​Batch]
- Infrastructure: [Cloud/​Edge]
- Scaling: [Strategy]

### Monitoring
- Metrics: [What to track]
- Alerts: [Thresholds]
- Retraining: [Trigger conditions]

Experiment Tracking

Tracking Requirements

CategoryItems to Track
ParametersHyperparameters, configs
MetricsLoss, accuracy, custom
ArtifactsModels, plots, data
EnvironmentDependencies, hardware
CodeGit commit, branch

MLflow Integration

// Semantic Kernel with experiment tracking
public class ExperimentTracker
{
    public async Task TrackExperiment(
        string experimentName,
        Func<Task<ExperimentResult>> experiment)
    {
        var runId = Guid.NewGuid().ToString();
        var startTime = DateTime.UtcNow;

        try
        {
            // Log parameters
            await LogParameters(runId, new Dictionary<string, object>
            {
                ["model"] = "gpt-4o",
                ["temperature"] = 0.7,
                ["max_tokens"] = 1000
            });

            // Run experiment
            var result = await experiment();

            // Log metrics
            await LogMetrics(runId, new Dictionary<string, double>
            {
                ["accuracy"] = result.Accuracy,
                ["latency_ms"] = result.LatencyMs,
                ["token_cost"] = result.TokenCost
            });

            // Log artifacts
            await LogArtifact(runId, "prompt.txt", result.Prompt);
            await LogArtifact(runId, "response.json", result.Response);
        }
        finally
        {
            var duration = DateTime.UtcNow - startTime;
            await LogMetric(runId, "duration_seconds", duration.TotalSeconds);
        }
    }
}

Model Registry

Registry Structure

# Model Registry Entry

## Model: customer-churn-predictor

### Versions
| Version | Stage | Created | Metrics | Notes |
|---------|-------|---------|---------|-------|
| v1.0.0 | Production | 2024-01-15 | AUC: 0.85 | Baseline |
| v1.1.0 | Staging | 2024-02-01 | AUC: 0.88 | New features |
| v1.2.0 | Development | 2024-02-15 | AUC: 0.89 | Tuned |

### Promotion Criteria
- [ ] Performance >= baseline + 2%
- [ ] No regression on fairness metrics
- [ ] A/​B test shows positive lift
- [ ] Stakeholder approval

Validation Checklist

  • Business objectives clearly defined
  • Success metrics identified and measurable
  • Data sources identified and accessible
  • Data quality assessed
  • Feature engineering strategy defined
  • Modeling approach selected
  • Evaluation criteria established
  • Deployment architecture planned
  • Monitoring strategy defined
  • MLOps maturity level targeted

Integration Points

Inputs from:

  • Business requirements → Success criteria
  • Data architecture → Data sources
  • Compliance planning → Regulatory requirements

Outputs to:

  • model-selection skill → Algorithm choices
  • ai-safety-planning skill → Safety requirements
  • token-budgeting skill → Cost estimation

More DevOps & CI/CD skills

Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.

6K 472.6K
View

Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.

6K 472.6K
View

Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.

1.5K 454.3K
View
azure-kubernetes logo
DevOps & CI/CD

azure-kubernetes

Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.

1.5K 447.1K
View

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

92.7K 354.9K
View
just-scrape logo
DevOps & CI/CD

just-scrape

Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.

69 245K
View

Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.

462 159.7K
View

Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.

462 159.1K
View
deploy-to-vercel logo
DevOps & CI/CD

deploy-to-vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

31.9K 146.6K
View
programmatic-seo logo
DevOps & CI/CD

programmatic-seo

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.

63 123.5K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
I
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View