MTPredict: Compute predictions for linear multi-task model.

Description Usage Arguments Value

View source: R/multi_task_utilities.R

Description

Compute linear predictions from predictor variables and regression coefficients.

Usage

1
MTPredict(LMTL.model, X = NULL, task.specific.features = list())

Arguments

LMTL.model

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

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.

Value

N by J predictions matrix.


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