Here's my small collection of models from computational statistics.
Link to code. Includes kernel density estimation with cross validation and box kernel (histogram) density estimation.
Link to code. Includes kernel smoothing for one- and two-dimensions, additive modeling with backfitting algorithm, and cross validation.
[Link to code.] Includes ridge regression.