regression
Skill4 starsChanged 15 months agoApache-2.0View on GitHub
Build and evaluate regression models to predict a target variable. Use when modeling relationships between features and an outcome.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- DrunkenDealer/claude-code-qa-cycletheir own version, first seen Oct 4, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- DrunkenDealer/claude-code-qa-cycle★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- data-qualitySkill
- explore-dataSkill
- find-reference-dataSkill
- graph-data-exploreSkill
- anomaly-detectionSkill
- cluster-analysisSkill
- dimensionality-reductionSkill
- forecastSkill
- geospatialSkill
- optimizationSkill
- ab-testSkill
- analyze-correlationsSkill
- hypothesis-testSkill
- sampling-estimationSkill
- data-pipelineSkill
- process-controlSkill
- research-pipelineSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Explore available features: Call describe_database with the database name.
- Very specific: line 18
Extract and inspect data: Call execute_query to select the target column and candidate feature columns.
- Very specific: line 20
Build a linear baseline: Call analyze_regression with the database name, target column, feature columns, and model type "linear".
- Very specific: line 22
Evaluate baseline performance: Call evaluate_model_performance to get detailed metrics: RMSE, MAE, R-squared, and residual analysis.
- Distinctive: line 24
Interpret baseline results: Check for:
- Very specific: line 30
Try alternative models if needed: If the linear baseline performs poorly (R-squared below 0.5 or patterned residuals), call …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Regression
Build, evaluate, and compare regression models to predict a target variable from features.
Steps
- Parse arguments. Extract the database name and target column from
$ARGUMENTS. The first argument is the database name, the second is the target variable to predict. - Explore available features. Call
describe_databasewith the database name. Identify numeric columns as potential predictors. Note the target column's distribution (continuous vs discrete) to confirm regression is appropriate. - Extract and inspect data. Call
execute_queryto select the target column and candidate feature columns. Check for nulls, outliers, and sufficient row count (at least 30 observations per feature as a rule of thumb). - Build a linear baseline. Call
analyze_regressionwith the database name, target column, feature columns, and model type "linear". Review the results: R-squared, adjusted R-squared, coefficients, p-values, and residual diagnostics. - Evaluate baseline performance. Call
evaluate_model_performanceto get detailed metrics: RMSE, MAE, R-squared, and residual analysis. Assess whether the linear model captures the relationship adequately. - Interpret baseline results. Check for:
- R-squared below 0.3: poor fit, consider non-linear models
- Features with p-values above 0.05: candidates for removal
- Multicollinearity: correlated predictors inflating variance
- Residual patterns: non-random residuals suggest model misspecification
- Try alternative models if needed. If the linear baseline performs poorly (R-squared below 0.5 or patterned residuals), call
analyze_regressionwith alternative model types:- "ridge" for multicollinearity issues
- "lasso" for feature selection (many predictors)
- "polynomial" for curved relationships
- Compare models. For each model fitted, compare R-squared, RMSE, and MAE. Select the model with the best balance of performance and interpretability. Simpler models are preferred when performance is comparable.
- Present the final model. Report:
- Selected model type and rationale
- Key performance metrics (R-squared, RMSE, MAE)
- Most important features and their coefficients
- Practical interpretation of the model equation
- Limitations and assumptions
- Recommend next steps. Suggest validating on held-out data, running
/localdata-mcp:analyze-correlationsto find additional predictors, or using/localdata-mcp:cluster-analysisto identify subgroups where the model performs differently.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

