AgentStack
SKILL verified MIT Self-run

Regression Ml

skill-ericwang915-data-scientist-skills-regression-ml · by ericwang915

Build ML regression models: gradient boosting, random forest, elastic net, SVR, and KNN regression. Includes model comparison, residual analysis, and prediction intervals. Use when predicting continuous outcomes with complex non-linear relationships.

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

Install

$ agentstack add skill-ericwang915-data-scientist-skills-regression-ml

✓ 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.

Are you the author of Regression Ml? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

ML Regression

Purpose

Build regression models using machine learning algorithms for problems where linear regression is insufficient.

How It Works

Step 1: Baseline

  • Simple linear regression as baseline metric
  • Evaluate: RMSE, MAE, R², MAPE

Step 2: Train ML Models

  • Elastic Net: Regularized linear (handles multicollinearity)
  • Random Forest: Non-linear, robust, feature importance
  • XGBoost/LightGBM: Best accuracy on tabular data
  • SVR: Kernel-based, good for small datasets
  • Cross-validation with shuffled or time-based splits

Step 3: Evaluate

  • Metrics: RMSE, MAE, MAPE, R² on holdout set
  • Residual analysis: patterns, heteroscedasticity
  • Prediction intervals (quantile regression or conformal prediction)
  • Learning curves for bias-variance diagnosis

Step 4: Interpret

  • Feature importance (SHAP, permutation, gain)
  • Partial dependence plots
  • Residual vs. predicted plots

Usage Examples

"Predict monthly revenue using marketing spend, seasonality, and market data"
"Build a house price estimator with prediction intervals"

Output Format

  • Model Comparison: Metrics table across models
  • Best Model: Hyperparameters and performance metrics
  • Feature Importance: SHAP summary plot
  • Predictions: With confidence/prediction intervals
  • Python Code: sklearn / XGBoost pipeline

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.