Skip to content

Bonus Chapter B06: Outlier Detection

Chapter notes: chapB06/outlierdetection/spark

Sample input: src/main/java/org/dataalgorithms/chapB06/outlierdetection/spark/sample-input-breast-cancer-wisconsin.data.txt

Run the commands from the repository folder after building the jar (Running the programs).

Spark (Java)

chapB06.outlierdetection.spark.OutlierDetection

Source: OutlierDetection.java

scripts/run_spark.sh org.dataalgorithms.chapB06.outlierdetection.spark.OutlierDetection 10 src/main/java/org/dataalgorithms/chapB06/outlierdetection/spark/sample-input-breast-cancer-wisconsin.data.txt

chapB06.outlierdetection.spark.OutlierDetectionWithLambda

Source: OutlierDetectionWithLambda.java

scripts/run_spark.sh org.dataalgorithms.chapB06.outlierdetection.spark.OutlierDetectionWithLambda 10 src/main/java/org/dataalgorithms/chapB06/outlierdetection/spark/sample-input-breast-cancer-wisconsin.data.txt