A Python package for topsis.
by Ramneet Singh
Python package to calculate performance score of different models and their ranks.
from topsis34.topsis import topsis obj = topsis.Topsis("data.csv","2.5,3,5,3.5","+,-,+,+") # (filename,weights,impacts) obj.calculate_print_rank() # calculate and prints rank
Type in your terminal
$ topsis34 <file_name> <weights> <impacts>
$ topsis34 data.csv "2.5,3,5,3.5" "+,-,+,+"
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.