semvec/pypi-packages huggingface dataset:
python-Samridhi-101916086 2.1
Problem solving MCDM, Topsis Score and Rank generator
License: MIT
Keywords: topsis,topsis score,rank,MCDM

# TOPSIS
Technique for Order Preference by Similarity to Ideal Solution is a multi-criteria decision making method. The method is based on finding an ideal and an anti-ideal solution and comparing the distance of each one of the alternatives to those. TOPSIS chooses the alternative of shortest Euclidean distance from the ideal solution, and greatest distance from the negative-ideal solution.
## Package Usage
To install the package:
pip install Topsis_Samridhi_101916086
This is a package focusing on finding the topsis score and rank of a dataframe (csv file) with only numerical values except for the first column.
## OUTPUT
The python file consists of the logic which excepts 4 parameter:
1. Input csv file
2. Weights given by user comma separted
3. Impact given by user comma separated
4. Result csv file, just to restore the naming convention.. result file will contain 2 additional columns contianing topsis_score and rank
## LICENSE
2022 Samridhi Garg
primepackage 2.0
A package for the calculation, querying and lsiting of primes. prime products and non trivial zeros
License: MIT
Requires Python: >=3.9,<4.0

#PrimePackage v1.1.4

#to install pip install primepackage 

#import primepackage

#This package defines primes as solutions to the riemann hypothesis. therefore all prime products are also treated as primes i.e 3*5 = 15 15v is a prime product and therefore treated as prime

#FUNCTIONS
randomprime()
primelist()
riemannlist()
isprime()
isriemann()

#to calculate a random prime = primepackage.randomprime(seed) seed can be left empty but will return a value less than 589.  
#if a seed is passed into randomprime() it is possible to calculate larger prime values. 

#primelist() returns a list of prime numbers package.primelist(start, end) returns a list of primes from the start and up to the end 

#riemannlist() works as primelist does

#isprime() and isriemann() return a boolean value for if the number is a prime/prime product or Riemann non trivial zero (rounded to the nearest integer)

#NEW FUNCTIONS


firstquadprime(start,end, n)

returns a list of first quadrant primes between the start and end values that are on the plane n

fourthquadprime(start, end, n)

returns a list of fourth quadrant primes between the start and end values that are on the plane n

superprime(start, end, n)

returns a list of super primes between the start and end values that are on the plane n

subprime(start, end, n)

returns a list of sub primes between the start and end values that are on the plane n

superfirstprime(start, end, n)

returns a list of super first quadrant primes between the start and end values that are on the plane n

superfourthprime(start, end, n)

returns a list of super fourth quadrant primes between the start and end values that are on the plane n

subfirstprime(start, end, n)

returns a list of sub first quadrant primes between the start and end values that are on the plane n

subfourthprime(start, end, n)

returns a list of sub fourth primes between the start and end values that are on the plane n

aprime(index, quadrant, position,plane)

returns a single prime of a specified index, on a specfied quadrant 1 or 4, in a given position super, or sub on plane from 2 onwards.