liveBook · Manning

Kernel density estimate

A kernel density estimate is a nonparametric probability-density estimate formed by combining localized kernel functions centered on observed data points.

How 2 Manning books explain it

Outlier Detection in Python

A kernel density estimate is a nonparametric probability-density estimate formed by smoothing contributions from sample observations.

How it is used
Uses estimated density to flag sparse numeric values, including internal outliers between groups.
How deep it goes
Explains kernels and bandwidth visually, then works through fitting, scoring, and thresholding; does not derive the estimator mathematically.
Examples
Uses segment-data hue-mean scores, bandwidth illustrations, and repeated k-means clusterings.
What you can do after
Apply it via scikit-learn’s KernelDensity to score one column, or via PyOD’s KDE detector to obtain training scores.

Read how Outlier Detection in Python explains kernel density estimate →

Machine Learning Algorithms in Depth

A nonparametric technique that estimates a probability density by combining localized kernel functions centered on observations.

How it is used
Uses localized kernels to estimate probability densities for accurate analysis of relatively small datasets.
How deep it goes
Explains Gaussian and general kernels, bandwidth smoothing, trade-offs, and implementation, but defers efficient tree-based evaluation.
Examples
Applies Gaussian KDE to RNA-seq data for estimating T7 promoter flux and compares it with a histogram.
What you can do after
Apply KDE to estimate and compare data densities, tune bandwidth smoothing, and recognize memory and evaluation costs.

Read how Machine Learning Algorithms in Depth explains kernel density estimate →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.