Calculate the probability with pyspark

30 Views Asked by At

I want to add an extra feature to my spark DataFrame, and this feature is a probability that represents (number of fails / total), this feature will give me an idea about how many fails there are. I want to know if there are other assumptions that I can use like using a statistic test or something like that to have more accurate calculations (scientifically correct)

0

There are 0 best solutions below