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

univariate-analysis

Skill by aliyun

Analyzes a few features of a dataset at a time. It shows binned distributions and cross-distribution tables, and computes IV values when a 0/1 target is given. It is aimed at quick feature checks before modeling.

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

Install univariate-analysis

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/univariate-analysis ~/.claude/skills/univariate-analysis

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

Step-by-step: install univariate-analysis in Claude Code

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

About

univariate-analysis is an agent skill that runs a Python script, scripts/analyzer.py, to analyze a small set of named features in a parquet or csv file. Without a target variable it works in data exploration mode. It produces binned distribution tables using equal-frequency or equal-distance binning, basic statistics, data quality flags, and cross-distribution tables for two features. With a target variable it works in feature screening mode and reports IV values, binning detail tables, and keep or drop suggestions.

The skill is meant for quick analysis of a few features, such as when a user asks to look at a feature's distribution or to bin a feature. The source says it does not include full correlation analysis or plan recommendations. For full-dataset analysis, the source points to the separate feature-analysis skill.

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

What it can do

  • Distribution analysisBuilds binned distribution tables with sample counts, shares and cumulative shares for each feature.
  • Cross-distribution tablesShows the joint distribution of two features in a cross table.
  • IV and binning detailWhen a target variable is given, reports IV values and a per-bin table with WoE and IV.
  • Binning methodsSupports equal-frequency (quantile) and equal-distance (distance) binning with a set bin count.
  • Special value handlingPlaces missing values in their own bin and separates zeros and negative values under stated conditions.
  • Data quality flagsFlags issues such as high missing rates and low cardinality in the report.
  • Feature screening suggestionsIn target mode, lists features suggested to keep or drop.

What you need

  • Python
  • A parquet or csv data file

Try asking

  • Show the distribution of the age and income features
  • Bin the score feature into 5 equal-distance bins
  • Cross the age and income features and show the joint distribution

Good to know

  • Recommended maximum of 50 features per analysis; split larger sets into batches.
  • Cross distribution supports only two features at a time.
  • IV calculation requires a 0/1 binary target variable.
  • Intended for a few features; the source points to feature-analysis for full analysis.

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/univariate-analysis/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to univariate-analysis

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

univariate-analysis: common questions

When should I use univariate-analysis instead of feature-analysis?

The source says univariate-analysis is for quick analysis of a small number of features. feature-analysis covers full feature analysis, including correlation, PSI stability and plan recommendations.

What binning methods does it support?

It supports quantile (equal-frequency) binning, which is the default, and distance (equal-distance) binning. The bin count defaults to 10.

Does it need a target variable?

No. Without a target it runs data exploration mode for distributions and cross tables. With a target variable it runs feature screening mode and calculates IV values.

How do I install univariate-analysis?

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

Is univariate-analysis free?

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

Is univariate-analysis 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 univariate-analysis?

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

univariate-analysis Install

Add to stack

Loading.