Skip to content
aj-geddes avatar

Regression Modeling

Regression modeling toolkit that fits linear, polynomial, and regularized models with a shared evaluation workflow.

CCM score
40 of 100
skills.sh installs
479
GitHub stars
396
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers continuous prediction, trend forecasting, and quantifying how each feature moves the target value
  • Includes linear, polynomial, Ridge, Lasso, ElasticNet, and Huber regressors, each scored with R², RMSE, and MAE
  • Adds cross-validation, alpha tuning for Ridge, residual plots, 95% prediction intervals, and VIF checks for multicollinearity
  • Designed for analysts who need a strong baseline before trying more complex algorithms, using Python with scikit-learn

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill 'Regression Modeling' -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Regression Modeling

Overview

Regression modeling predicts continuous target values based on input features, establishing quantitative relationships between variables for forecasting and analysis.

When to Use

  • Predicting sales, prices, or other continuous numerical outcomes
  • Understanding relationships between independent and dependent variables
  • Forecasting trends based on historical data
  • Quantifying the impact of features on a target variable
  • Building baseline models for comparison with more complex algorithms
  • Identifying which variables most influence predictions

Regression Types

  • Linear Regression: Straight-line fit to data
  • Polynomial Regression: Non-linear relationships
  • Ridge (L2): Regularization to prevent overfitting
  • Lasso (L1): Feature selection through regularization
  • ElasticNet: Combines Ridge and Lasso
  • Robust Regression: Resistant to outliers

Key Metrics

  • R² Score: Proportion of variance explained
  • RMSE: Root Mean Squared Error
  • MAE: Mean Absolute Error
  • AIC/BIC: Model comparison criteria

Implementation with Python

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Data Science & Analytics, Python
First seen
Jun 3, 2026

Questions

What does the Regression Modeling skill do?

The Regression Modeling skill builds predictive models for continuous outcomes such as sales or prices. It covers linear, polynomial, Ridge, Lasso, ElasticNet and Huber robust regression, and reports R², RMSE and MAE. It also covers residual analysis and cross-validation for choosing regularization strength.

When should I use the Regression Modeling skill?

Use it for predicting numerical outcomes, forecasting trends from historical data and measuring how features affect a target variable. It also suits building a baseline model before trying more complex algorithms. The skill helps identify which variables most influence the predictions.

How do I install the Regression Modeling skill?

Run npx -y skills add aj-geddes/useful-ai-prompts --skill 'Regression Modeling' -y inside your project. After that, the agent can write Python code that fits regression models with scikit-learn and produces evaluation plots. The skill is listed in Data Science & Analytics on Claude Marketplaces.

Which Python libraries does the Regression Modeling skill need?

The example code uses pandas, numpy, matplotlib, seaborn, scikit-learn, scipy and statsmodels. The skill is written for Python, so those packages must be installed in your environment before the examples run.

More from aj-geddes/useful-ai-prompts

All 258

Similar to Regression Modeling

More Data Science & Analytics