Spark, Distributed Systems, Machine Learning, Hadoop, Scalability.
within the circle. Below pyspark code, once run on Spark local setup, will output value nearer to π=3.14 as we increase number of random points (NUM_SAMPLES) The random function will generate a number between 0 to 1. The ‘inside’ function runs a million times and returns ‘True’ only when the random