calcMCRDS: Calculate missing classification rate (MCR)

calcMCRDSR Documentation

Calculate missing classification rate (MCR)

Description

Calculate missing classification rate (MCR)

Usage

calcMCRDS(ws, x, y, average)

Arguments

ws

The list of coefficient vectors for all servers

x

The design matrix on a target server

y

The response vector on a target server

average

The indicator to average or not the prediction probability over all coefficient vectors

Details

For MTL methods, ws contained the coefficient vectors of all servers. x, y referred to the data pairs on the target server. The function calculated the MCR of x, y of the target server using the model ws. If average==TRUE, the averaged predicted probability was returned.

Value

The MCR of each coefficient vectors (or averaged MCR)

Author(s)

Han Cao


transbioZI/dsMTLBase documentation built on Jan. 20, 2025, 8:18 p.m.