Skip to content

Kernel Mixture Network implementation with some minor tweaks

Notifications You must be signed in to change notification settings

janvdvegt/KernelMixtureNetwork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KMN

A Kernel Mixture Network implementation based on Ambrogioni et al. 2017 with some minor tweaks (kernel center clustering and trainable scales). We provide notebooks with both a low-level implementation in TensorFlow, as well as a plug-and-play estimator class with Keras and Edward. For more technical details, see Jan van der Vegt's blog post on Kernel Mixture Networks or "How to obtain advanced probabilistic predictions for your data science use case" for a high-level summary.

KernelMixtureNetwork Class

This class API allows you to plug in your own network together with the placeholder for the input, and uses kernels based on your training data to condition probability densities based on your input. What this class also does what is not discussed in the paper is allow you to train the bandwidth of your kernels. Currently only Gaussian kernels are supported but the class is easily extended. It is not meant as a package but just a reference on how to use this technique using TensorFlow, Edward and Keras.

About

Kernel Mixture Network implementation with some minor tweaks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published