Code Monkey home page Code Monkey logo

topsis-jay-101803206's Introduction

TOPSIS - JAY - 101803206

Simple Python module for Multiple Criteria Decision Making System using TOPSIS.

Input/Output Files:

  • Input File o Input file contain three or more columns o First column is the object/variable name (e.g. M1, M2, M3, M4…...) o From 2nd to last columns contain numeric values only
  • Output Files o Result file contains all the columns of input file and two additional columns having TOPSIS SCORE and RANK

There is also Check For :

  • Check for: • Correct number of parameters (inputFileName, Weights, Impacts, resultFileName). • Show the appropriate message for wrong inputs. • Handling of “File not Found” exception*]!vmN;Gv97GR8b • Input file must contain three or more columns. • From 2nd to last columns must contain numeric values only (Handling of non-numeric values) • Number of weights, number of impacts and number of columns (from 2nd to last columns) must be same. • Impacts must be either +ve or -ve. • Impacts and weights must be separated by ‘,’ (comma).

Installation

TOPSIS requires python v3+ to run.

 $ pip install TOPSIS-JAY-101803206

Usage Example

 import Topsis_Jay as Tj
 
 # DEFINE FEW ATTRIBUTES
 Fn = "inputfile.csv" # PROVIDE THE INPUT FILE NAME 
 W = "1,1,1,2" # PROVIDE WEIGHTS 
 I = "+,+,-,+" # PROVIDE IMPACT VALUES
 Yu = "Result.csv" # PROVIDE OUTPUT FILE NAME

 Tj.TOPSIS(Fn,W,I,Yu) # Function Call

Result

# Result File Saved as : Result.csv

PYPI LINKDIN

topsis-jay-101803206's People

Contributors

jaisood08 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.