Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

model-comparison

Skill by aliyun

Compares XGBoost, logistic regression and DNN models on the same data split and reports objective metrics. It produces a Pareto front of candidate models, DeLong significance tests and overlaid ROC, KS and Lift curves. Intended for users who need a fair algorithm comparison on an existing dataset.

  • Score 71
  • 645 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install model-comparison

Built from the published package, never by AI.

git clone --depth 1 https://github.com/aliyun/qwen-dianjin /tmp/qwen-dianjin && mkdir -p ~/.claude/skills && cp -r /tmp/qwen-dianjin/DianJin-SKILLS/financial-engineering-expert/model-comparison ~/.claude/skills/model-comparison

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install model-comparison in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Model Comparison is a skill that runs several algorithms on the same data split and reports the results as objective facts. By default it runs XGBoost, LR scorecard and DNN. It reports OOT AUC, KS, BCR at 10%, Brier, LogLoss, KS Gap and real PSI, along with DeLong significance tests, sample-level consistency and feature overlap analysis.

The skill identifies a Pareto front of candidate models without weighted scoring or gating rules. It outputs a Markdown report with multi-model ROC, KS and Lift curves, plus a fact list and open questions for the AI assistant to weigh against business context. The source recommends tuning XGBoost, LR and DNN first for a fair comparison. It is aimed at users who already have a dataset and want to compare modeling algorithms.

Written from the project's SKILL.md and checked against it.

What it can do

  • Algorithm comparisonRuns XGBoost, LR scorecard and DNN on one shared data split.
  • Pareto frontLists candidate models that no other algorithm strictly beats on the key metrics.
  • DeLong testChecks whether AUC gaps between algorithms are statistically significant.
  • Stability checkReports PSI and monthly KS volatility for out-of-time data.
  • Sample consistencyCompares top-K Jaccard overlap, Spearman correlation and disagreement counts.
  • Feature overlapShows Jaccard overlap and consensus features across algorithms.
  • Overlaid curvesProduces ROC, KS and Lift curves that combine all compared algorithms.
  • Tuned parametersLoads the best parameters from tuning runs when --use_tuned is set.
  • Fact list for LLMProvides objective facts and open questions for the assistant to reason about.

What you need

  • Python
  • An existing dataset in parquet or csv format
  • A target column with 0/1 values
  • Outputs from xgb-tuning, lr-tuning and dnn-tuning if using --use_tuned

Try asking

  • Compare XGB and LR on my dataset and show the Pareto front
  • Run a fair comparison of all three algorithms after tuning
  • Show ROC, KS and Lift curves for the compared models

Good to know

  • Default hyperparameter runs are only an initial screen. A fair comparison needs tuning first.
  • The skill does not compute weighted scores or apply gating rules.
  • The target column must be a 0/1 binary variable.
  • The scenario option is a text label only and does not change calculations.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: DianJin-SKILLS/financial-engineering-expert/model-comparison/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to model-comparison

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

model-comparison: common questions

Is the algorithm comparison fair without tuning?

The source says a fair answer to which algorithm is better needs all three tuned first. Default hyperparameters are only suitable as an initial screen.

Does the skill pick a winner?

No. It lists objective facts and a Pareto front. The final recommendation is left to the AI assistant, which reasons from the facts and business context.

What data does it need?

A parquet or csv file with a 0/1 target column. The source names busi_dt as the default time column, used for out-of-time splitting.

How do I install model-comparison?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is model-comparison free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is model-comparison safe to use?

It scores 71 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to model-comparison?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

model-comparison Install

Add to stack

Loading.