started intro for multitask
{
"cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "This notebook demonstrates how to perform multitask regression with kernels.IndexKernel. Multitask regression, first introduced in [this paper](https://papers.nips.cc/paper/3189-multi-task-gaussian-process-prediction.pdf) learns similarities in the outputs simultaneously. It's useful when you are performing regression on multiple functions that share similarities (such as being sinusoidial). "
+ ]
+ },
{
"cell_type": "code",
"execution_count": 1,
" self.task_covar_module = IndexKernel(n_tasks=2, rank=1)\n",
"\n",
" def forward(self,x,i):\n",
- " # Get predictive man\n",
+ " # Get predictive mean\n",
" mean_x = self.mean_module(x)\n",
" ## Get base covariance (?)\n",
" covar_x = self.covar_module(x)\n",
