def LCM(input_dim, num_outputs, kernels_list, W_rank=<NUM_LIT:1>,name='<STR_LIT>'):
Nk = len(kernels_list)<EOL>K = ICM(input_dim,num_outputs,kernels_list[<NUM_LIT:0>],W_rank,name='<STR_LIT>' %(name,<NUM_LIT:0>))<EOL>j = <NUM_LIT:1><EOL>for kernel in kernels_list[<NUM_LIT:1>:]:<EOL><INDENT>K += ICM(input_dim,num_outputs,kernel,W_rank,name='<STR_LIT>' %(name,j))<EOL>j += <NUM_LIT:1><EOL><DEDENT>return K<EOL>
Builds a kernel for an Linear Coregionalization Model

:input_dim: Input dimensionality (does not include dimension of indices)
:num_outputs: Number of outputs
:param kernel: kernel that will be multiplied by the coregionalize kernel (matrix B).
:type kernel: a GPy kernel
:param W_rank: number tuples of the corregionalization parameters 'W'
:type W_rank: integer