Top "Kernel-density" questions

kernel density estimation is a non-parametric way to estimate the probability density function of a random variable.

How to plot a 3D density map in python with matplotlib

I have a large dataset of (x,y,z) protein positions and would like to plot areas of high occupancy …

python matplotlib scipy mayavi kernel-density
Add density lines to histogram and cumulative histogram

I want to add density curve to histogram and cumulative histogram, like this: Here is as far I can go: …

r graph plot base kernel-density
seaborn: Selected KDE bandwidth is 0. Cannot estimate density

import pandas as pd import seaborn as sns ser_test = pd.Series([1,0,1,4,6,0,6,5,1,3,2,5,1]) sns.kdeplot(ser_test, cumulative=True) The above …

python pandas data-visualization seaborn kernel-density
Multivariate kernel density estimation in Python

I am trying to use SciPy's gaussian_kde function to estimate the density of multivariate data. In my code below …

python numpy scipy gaussian kernel-density
How would one use Kernel Density Estimation as a 1D clustering method in scikit learn?

I need to cluster a simple univariate data set into a preset number of clusters. Technically it would be closer …

machine-learning scikit-learn cluster-analysis data-mining kernel-density
Limit the range of x in seaborn distplot KDE estimation

Suppose we have an array with numbers between 0 and 1: arr=np.array([ 0. , 0. , 0. , 0. , 0.6934264 , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0.6934264 , 0. , 0.6934264 , 0. , 0. , 0. , 0. , 0.251463 , 0. , 0. , 0. , 0.87104906, 0.251463 , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0.48419626, 0. , 0. , 0. , 0. , 0. , 0.87104906, 0. , 0. , 0.251463 , 0.48419626, 0. , 0.251463 , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0.251463 , 0. , 0.35524532, 0. , 0. , 0. , 0. , 0. , 0.251463 , 0.251463 , 0. , 0.74209813, 0. , 0. ]) Using seaborn, I want to plot a distribution …

python seaborn kernel-density
How to plot a density estimate on top of the histogram?

Possible Duplicate: Fitting a density curve to a histogram in R x is a NAs free numeric vector. I run: &…

r histogram kernel-density
Fill density curves with transparent color

I have a data frame and want to do a overlay density plot based on the two columns. I want …

r ggplot2 kernel-density density-plot
how does 2d kernel density estimation in python (sklearn) work?

I am sorry for the probably stupid question but I am trying now for hours to estimate a density from …

python scikit-learn kernel-density
Getting values from kernel density estimation in R

I am trying to get density estimates for the log of stock prices in R. I know I can plot …

r statistics kernel-density