Spark function for normal distrbution (norm.dist)

Viewed 1010

I am looking for spark scala function to find normal distribution value like norm.dist in Excel. Cannot find in spark library.

Could you please help me with the function or alternate approach to achieve the same in spark? Please advise. Thank you very much.

1 Answers

After searching and compare calculation in excel. We can use NormalDistribution function to in commons.math3.distribution as followed. Thanks for the comment.

enter image description here

Related