spark-instrumented-optimizer/examples/src/main
Maria Rydzy bcbe44440e
[MINOR] Use <= for clarity in Pi examples' Monte Carlo process
## What changes were proposed in this pull request?

If my understanding is correct we should be rather looking at closed disk than the opened one.
## How was this patch tested?

Run simple comparison, of the mean squared error of approaches with closed and opened disk.
https://gist.github.com/mrydzy/1cf0e5c316ef9d6fbd91426b91f1969f
The closed one performed slightly better, but the tested sample wasn't too big, so I rely mostly on the algorithm  understanding.

Author: Maria Rydzy <majrydzy+gh@gmail.com>

Closes #15687 from mrydzy/master.
2016-11-02 09:09:16 +00:00
..
java/org/apache/spark/examples [MINOR] Use <= for clarity in Pi examples' Monte Carlo process 2016-11-02 09:09:16 +00:00
python [MINOR] Use <= for clarity in Pi examples' Monte Carlo process 2016-11-02 09:09:16 +00:00
r [SPARK-14525][SQL] Make DataFrameWrite.save work for jdbc 2016-09-26 09:54:22 +01:00
resources [SPARK-3389] Add Converter for ease of Parquet reading in PySpark 2014-09-27 21:48:05 -07:00
scala/org/apache/spark/examples [MINOR] Use <= for clarity in Pi examples' Monte Carlo process 2016-11-02 09:09:16 +00:00