topsis-scorer

Compute TOPSIS scores and rank alternatives from a decision matrix.

Updated Jan 26, 2026
One-click install
npx skills add https://github.com/SPIRAL-EDWIN/MCM-ICM-2601000 --skill topsis-scorer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: topsis-scorer
Source: https://github.com/SPIRAL-EDWIN/MCM-ICM-2601000/tree/main/.github/skills/topsis-scorer
Command: npx skills add https://github.com/SPIRAL-EDWIN/MCM-ICM-2601000 --skill topsis-scorer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TOPSIS scores provide a principled way to rank alternatives by measuring their distance from the Positive and Negative Ideal Solutions, enabling objective decision making across multiple criteria.

Core Features & Use Cases

  • Score computation for a given decision matrix with both benefit and cost criteria.
  • Ranking and sorting of alternatives by TOPSIS_Score with optional handling of negative indicators.
  • Use Case: Compare multiple vendor proposals by price, quality, and delivery time to select the best overall option.

Quick Start

Run the topsis-scorer on your dataset by supplying a DataFrame, a weights vector, and an optional list of negative_indicators to obtain ranked results.

Frequently Asked Questions about topsis-scorer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I rank alternatives in a decision matrix using TOPSIS?

To rank alternatives with TOPSIS, supply a pandas DataFrame decision matrix, a weights vector, and an optional negative_indicators list. The scorer computes distances from ideal solutions to produce ranked results.

How does TOPSIS handle benefit and cost criteria in multi-criteria decision making?

TOPSIS handles benefit and cost criteria by measuring each alternative's distance from the Positive and Negative Ideal Solutions. You define cost criteria using the negative_indicators list to reverse their impact.

Can I use TOPSIS to compare vendor proposals by price and quality in Python?

Yes, you can compare vendor proposals by price, quality, and delivery time in Python. The scorer uses numpy and pandas to process the decision matrix and output a ranked list of options.

Do I need numpy and pandas to calculate TOPSIS scores?

Yes, you need numpy and pandas installed in your Python environment to calculate TOPSIS scores. These dependencies handle the underlying matrix operations and data manipulation required by the scorer.

What is the best way to apply weights to criteria for ranking options?

The best way to apply weights for ranking options is passing a weights vector alongside your decision matrix to the TOPSIS scorer. This normalizes the criteria and calculates the relative closeness for sorting.

When should I use TOPSIS instead of other multi-criteria decision making methods?

Use TOPSIS when you need objective decision making across multiple criteria with mixed benefits and costs. It provides a principled ranking by evaluating the geometric distance of alternatives from ideal solutions.