Giter Site home page Giter Site logo

axelbrando / mixture-density-networks-for-distribution-and-uncertainty-estimation Goto Github PK

View Code? Open in Web Editor NEW
329.0 23.0 90.0 14.36 MB

A generic Mixture Density Networks (MDN) implementation for distribution and uncertainty estimation by using Keras (TensorFlow)

License: Apache License 2.0

Jupyter Notebook 100.00%
mixture-density-networks uncertainty-estimation mixture-density-model neural-network mixture mdn deep-learning deep-neural-networks master-thesis keras

mixture-density-networks-for-distribution-and-uncertainty-estimation's People

Contributors

axelbrando avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mixture-density-networks-for-distribution-and-uncertainty-estimation's Issues

Error in link

Hi.
In readme you have error in link on 'Introduction to MDN models and generic implementation of MDN'

#### [Introduction to MDN models and generic implementation of MDN](https://github.com/axelbrando/Mixture-Density-Networks-for-distribution-and-uncertainty-estimation/blob/master/MDN-Introduction.ipynb.ipynb)

-->

#### [Introduction to MDN models and generic implementation of MDN](https://github.com/axelbrando/Mixture-Density-Networks-for-distribution-and-uncertainty-estimation/blob/master/MDN-Introduction.ipynb)

Thesis

Hi Axel,

Is the thesis available yet ?

Regards,

Christopher

problems of implementing the cost function with covariance diagonal matrix

It's really an excellent work which helps me a lot. Recently, i'd like to implement a cost function with covariance diagonal matrix, which has been told not necessary in the original paper. However, i just want to try that. During the process, i've met a problem that the |โˆ‘| always leads to inf when the dimension of output features increase, which leads the model can't converge. Any ideas about that? @axelbrando

AttributeError: 'module' object has no attribute 'python'

when i try MDN-Introduction.ipynb
import tensorflow as tf
tf.python.control_flow_ops = tf

an error:
AttributeError Traceback (most recent call last)
in ()
1 #Import of the TensorFlow and definition of the control_flow_ops variable
2 import tensorflow as tf
----> 3 tf.python.control_flow_ops = tf
4
5 #GPU Memory allocation on demand (Remove comments if necessary)

AttributeError: 'module' object has no attribute 'python'

the tensorflow version: 1.1.0-rc1;
keras version: 2.3.0

How to sample for both Normal distribution and Laplace distribition

Hi, in your validation code, you just use the network output mu to draw the graph, I'm not quite understand this part. I think the "mu" & "sigma" is used to show the range(mu and deviation) of the distribution, is that right?

And, as we need to do sampling from the network output parameters, how could I do sampling both for Normal distribution and Laplace distribution?

Thanks very much.

Error in exponent ?

"- .5 * float(c) * K.log(sigma)" instead of "- float(c) * K.log(sigma)" ?

What is the role of Log-sum-exp?

In your code for defining Loss function, you firstly take the log of distributions then add them up, whereas the loss mentioned in Bishop is log of sum of distribution.I am confused, Maybe there is something in trick you used for log-sum-exp.
Can you please formulate this?

LSTM MDN data

Hi Axel, really nice work!

I am wondering if the data for the LSTM MDN and also the weight.h5 could be provided? Thanks a lot!

Best,
Danqing

Feature request related to canceling effects of uneven x distribution

Hi there I have read your work, very good stuff.

I am wondering if you could give a hint on how to adjust he MDN layer to avoid weiging along the x-axis. Basically my dataset has many points on some regions for x-axis and I am only interested in fitting the data with weights along the y-axis.

Nealry all only examples show an "evenly" generated dataset for x and y, here the model will perform well.

Would you have any idea on how to skip weighing distribution along the x-axis and match the shape of distrubution for y? I was thinking of binning the data in zones of x and running sperate models only to combine them later.

Thanks !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.