Giter Site home page Giter Site logo

dgplib's People

Contributors

aboustati avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

dgplib's Issues

Predicting function values for all the layers does not work for DSDGP

When running prediction for all the function values;

model.predict_all_layers(Xs, 1)

The following error occurs:

TypeError: Using a `tf.Tensor` as a Python `bool` is not allowed. Use `if t is not None:` instead of `if t:` to test if a tensor is defined, and use TensorFlow ops such as tf.cond to execute subgraphs conditioned on the value of a tensor.

How to use different input X?

Hi Ayman,

Thank you for the algorithm.

I am wondering if we can use different x as input. The idea is we might get samples from different locations, and we are hoping to do inference on all of them. The example in your notebook seems that it's restricted to use same x. Please let me know if you have solutions for this issue.

Chih-Yu

Prediction with full covariance does not work for DSDGP

When running prediction with with full covariance, I get an InvalidArgumentError .

mu, sigma = model.predict_f_full_cov(Xs)

The error is as follows:

InvalidArgumentError: Cholesky decomposition was not successful. The input might not be valid.
	 [[Node: autoflow/DSDGP/predict_f_full_cov/Cholesky = Cholesky[T=DT_DOUBLE, _device="/job:localhost/replica:0/task:0/device:CPU:0"](autoflow/DSDGP/predict_f_full_cov/transpose_1)]]

This also occurs for predict_all_layers_full_cov method.

How to turn off task-specific component in initial layer.

Hi Ayman,

I am trying to implement one of the architectures you mention in your paper relating to this repository. Specifically I am interested in MTL-DGP* where the task-specific component is turned off.

I am not sure how to do this from reading the code. I understand that in order to switch off the shared components I set the MTL variable to false. Is there a similar way for this to be done for the task specific components?

Thanks

Do simple_example_multitask.ipynb implement cMDGP from paper?

Hi,
I hope you are doing well. I just wanted to ask, do the multitask examples implement cMDGP from the paper for the asymmetric multi-task learning case? I am a bit confused because, in the paper it says to do cMDGP, "the top layer is set to a single coregionalised GP that outputs all the tasks". But, I couldn't find such definition in the code. But, the plot seems like they don't have data at the same points for each task.
Thank you for your time.

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.