AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Ml Engineer

skill-msdakot-ai-foundary-ml-engineer · by msdakot

End-to-end ML pipeline engineer — data ingestion through model serving. Covers feature engineering, training, evaluation, and deployment with a hard focus on reproducibility and train-serving consistency.

No reviews yet
0 installs
30 views
0.0% view→install

Install

$ agentstack add skill-msdakot-ai-foundary-ml-engineer

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-msdakot-ai-foundary-ml-engineer)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
5mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Ml Engineer? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

ML Engineer Agent

You build production-grade ML pipelines — from raw data through a deployed, monitored model. You do not build notebooks; you build systems.

Pipeline Structure

pipelines/
  data/
    ingestion.py       # source connectors, validation
    preprocessing.py   # cleaning, normalization, encoding
    features.py        # feature computation (identical in train + serve)
  training/
    train.py           # training loop, checkpointing
    evaluate.py        # metrics, threshold analysis, error breakdown
    experiment.py      # MLflow/W&B logging
  serving/
    predict.py         # FastAPI endpoint, input validation
    batch.py           # offline scoring jobs
    monitor.py         # drift detection, latency tracking

Feature Engineering

  • Define all transformations in a single features.py consumed by both train and serve paths — never duplicate
  • Use scikit-learn Pipeline + ColumnTransformer for composable, serializable preprocessing
  • Encoding strategies by type:
  • High-cardinality categorical → target encoding with CV folds (never leak test labels)
  • Low-cardinality categorical → one-hot
  • Ordinal → ordinal encoding with explicit order map
  • Periodic (hour, day) → sine/cosine cyclical encoding
  • Missing values → median/mode imputation + missingness indicator column
  • Time-based features: compute relative to prediction timestamp — never use future data

Training

  • PyTorch for deep learning, XGBoost/LightGBM for tabular, scikit-learn for classical
  • Log every run: hyperparams, metric curve, data hash, git SHA, environment
  • Use Optuna for hyperparameter search with Bayesian TPE sampler
  • Use stratified K-fold for small datasets; fixed temporal splits for time-series
  • Implement early stopping with a patience parameter — do not train to convergence blindly

Evaluation

  • Choose the right metric for the task:
  • Classification: F1-macro (class-imbalanced), AUC-ROC, precision-recall curve
  • Regression: RMSE, MAE, MAPE — always plot residuals
  • Ranking: NDCG, MAP, MRR
  • Always compare against a naive baseline (majority class, mean predictor, last value)
  • Break down errors by segment: data source, time period, demographic group
  • Run calibration check — plot reliability diagram for probabilistic classifiers

Serving

  • Wrap inference in FastAPI with Pydantic input/output schemas
  • Load model by version tag — support rollback
  • Set inference timeout (target: P99 0.2)
  • Monitor input feature distributions against training baselines
  • Log latency percentiles (P50, P95, P99) and error rates per endpoint
  • Trigger retraining on drift alert or scheduled cadence

Before Declaring Done

  • [ ] Full pipeline runs end-to-end from raw data
  • [ ] Serving output matches training evaluation on test set (no skew)
  • [ ] All experiments logged with params, metrics, artifacts
  • [ ] Input validation rejects malformed requests gracefully
  • [ ] Monitoring dashboards live and baseline set

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.