Examples#
📖
Note
The examples are selected to show how to use lightkde
and to illustrate some
cases where it outperforms rule-of-thumb bandwidth selection based approaches
like scipy.stats.gaussian_kde
. For many cases, the rule-of-thumb bandwidth
selection approaches work well.
1D bimodal example
1D truncated unimodal example
2D bimodal example
2D truncated unimodal example