duration-prediction
Predict project duration using k-NN and regression. Estimate timeline based on similar historical projects.
npx skills add majiayu000/claude-skill-registry --skill duration-prediction --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Duration Prediction ## Business Case ### Problem Statement Project duration estimation challenges: - Subjective expert estimates - Lack of historical benchmarking - Inaccurate early-stage predictions - Difficulty comparing similar projects ### Solution Machine learning-based duration prediction using k-Nearest Neighbors and regression models trained on historical project data. ## Technical Implementation ```python import pandas as pd import numpy as np from typing import Dict, Any, List, Optional, Tuple from dataclasses import dataclass, field from datetime import date from enum import Enum import math class ModelType(Enum): KNN = "knn" LINEAR_REGRESSION = "linear_regression" WEIGHTED_KNN = "weighted_knn" class ProjectType(Enum): OFFICE = "office" RESIDENTIAL = "residential" INDUSTRIAL = "industrial" RETAIL = "retail" HEALTHCARE = "healthcare" EDUCATION = "education" @dataclass class ProjectFeatures: project_id: str project_type: ProjectType size_sf: float floors: int complexity: int # 1-5 location_factor: float # Cost adjustment factor has_basement: bool = False is_renovation: bool = False actual_duration: Optional[int] = None # Days @dataclass class PredictionResult: predicted_
- Business Case
- Problem Statement
- Solution
- Technical Implementation
- Quick Start
- Common Use Cases
- 1. Compare Models
- 2. Model Evaluation
- 3. Find Similar Projects
- Resources
What does the duration-prediction skill do?
Predict project duration using k-NN and regression. Estimate timeline based on similar historical projects.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill duration-prediction --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
