question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Docs] Multitask GP & classification with missing values

See original GitHub issue

Hi, I am new to this framework & GP in general - I am not sure if this is the right place to ask this kind of question.

I am trying to perform online classification on a variable-length multivariate timeseries dataset with missing values. I am following the method of this paper: https://arxiv.org/abs/1706.04152 - i.e. my framework is a multitask gp -> pytorch model

I have followed the documentation closely & defined my interpolation model this way:

class MTGPInterpolationModel(gpytorch.models.ExactGP):
    def __init__(self, input_dim, train_x, train_y, likelihood):
        super(MTGPInterpolationModel, self).__init__(train_x, train_y, likelihood)
...

Then, in a parent model, I want to do inference with something like

output = self.predictor_model(self.interpolation_model(vital_features))

for a single multivariate sequence described by vital_features and backprop a classification loss through the entire framework. My questions are:

  1. Is something like this possible? I want to backprop through the interpolation module, but still need to define a likelihood loss?
  2. Do I have to instantiate a new interpolation model/add to the existing model’s data for each iteration/observation of my training procedure (I guess this might be the purpose of get_fantasy_model, but it seem to have issues with the multitask gp [/issues/800])?
  3. I could not find any documentation on dealing with irregularly sampled observations for multitask GP. What is the recommended approach? what should the representation be for train_x (right now a multivariate temporal sequence with missing values)

Sorry for the basic questions. I really appreciate your help!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

0reactions
choltz95commented, Aug 25, 2019

Thanks a lot!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hadamard Multitask GP Regression
This notebook demonstrates how to perform “Hadamard” multitask regression. This differs from the multitask gp regression example notebook in one key way:.
Read more >
Classifying patterns with missing values using Multi-Task ...
The missing values are randomly introduced in the feature of interest, x miss , and the missing rate is specified for that feature...
Read more >
A simple demonstration of coregionalization — GPflow 2.4.0 ...
This notebook shows how to construct a multi-output GP model using GPflow. We will consider a regression problem for functions f : R...
Read more >
Aligned Multi-Task Gaussian Process
tion of the GP-LVA model with a rigorous probabilistic formulation. ... Figure 1: Multi-task model for 10 time-series with missing data (shown in...
Read more >
A Multitask Genetic Programming Approach to Image Feature ...
No multitask GP method has been developed for image feature learning. ... feature learning for classification with limited training data.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found