liveBook · Manning

Spark

As explained in Outlier Detection in Python

Apache Spark is an open-source distributed computing engine for processing and analyzing large datasets.

Spark is an open-source distributed computing engine for processing and analyzing large datasets. PySpark brings Spark workflows to Python, using dataframes similar to pandas. section 10.2.5

Use Spark in outlier-detection workflows to:

  • Run univariate tests based on z-scores, interquartile ranges, or median absolute deviation directly on Spark dataframes. section 10.2.5
  • Filter strong outliers before exporting data to NumPy for other detection algorithms. section 10.2.5
  • Scale parallel model execution with projects such as spark-iforest, which provides Isolation Forest for large datasets. section 10.2.5

Large-volume outlier preprocessing

Load data into Spark dataframes, apply a simple univariate outlier test, remove strong outliers, and export the filtered data to NumPy for additional detectors. section 10.2.5

How Outlier Detection in Python covers it

How deep it goes
Explains dataframe-based univariate testing and preprocessing, but does not detail Spark internals or distributed execution mechanics.
Examples
Uses z-score, interquartile-range, median-absolute-deviation, and Isolation Forest workflows on large datasets.
What you can do after
Operate/configure PySpark dataframes to test, filter, and prepare large datasets for further outlier analysis.
How it connects
Connects Spark with PySpark, pandas, NumPy, Hadoop, and outlier detection.

Also explained in

Compare how 5 books explain Spark →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Outlier Detection in Python. The section links point to the parts of the book it draws on.