MTComputeMeanCorrelation: Compute (mean) correlation for linear multi-task model.

Description Usage Arguments Value

Description

Compute (mean) correlation for linear multi-task model.

Usage

1
2
MTComputeMeanCorrelation(LMTL.model, Y, X = NULL,
  task.specific.features = list(), pred = NULL, method = "spearman")

Arguments

LMTL.model

Linear multi-task learning model (list containing B and intercept).

Y

N by K output matrix for every task.

X

N by J1 matrix of features common to all tasks.

task.specific.features

Named list of features which are specific to each task. Each entry contains an N by J2 matrix for one particular task (where columns are features). List has to be ordered according to the columns of Y.

pred

Predicted output matrix. If NULL, compute predictions using input features.

method

Correlation method to use.

Value

The mean correlation between predictions for each task and Y.


tohein/linearMTL documentation built on May 17, 2019, 8:22 a.m.