This function returns a numeric vector containing the probability of each observation of being of class 1 given a vector of logistic regression parameters (usually estimated through RCpp::fast_LR).

predictlogisticRegression(test, parameters)

Arguments

test

A matrix containing test data

parameters

A vector containing the logistic regression parameters