makl_test: Function for Binary Classification using a Multiple...

View source: R/makl_test.R

makl_testR Documentation

Function for Binary Classification using a Multiple Approximate Kernel Learning (MAKL) Model

Description

Function for Binary Classification using a Multiple Approximate Kernel Learning (MAKL) Model

Usage

makl_test(X, y, makl_model)

Arguments

X

data matrix of size T x d, containing the test instances.

y

response vector of length T, containing only -1 and 1.

makl_model

a list containing the MAKL model returning from makl_train() function.

Details

Classifies the test data, using the MAKL model resulted from makl_train().

Value

a list containing the predictions for test instances and the area under the ROC curve (auroc) values with corresponding number of used kernels for prediction.


begumbektas/makl documentation built on April 14, 2022, 6:12 a.m.