developPredictionModels: Develop prediction model to predict cluster probabilities

Description Usage Arguments Details Value

Description

This function creates a binary logistic regression model for each cluster

Usage

1
developPredictionModels(covariates, cluster)

Arguments

covariates

An ffdf containing the covariates and values

cluster

A dataframe containing row_ids and cluster columns

Details

This function trains a predictive model using the input covariates to predict cluster membership

Value

A list containing:

predictionModels

A named list containing the trained models for each cluster (the names are the clusters predicted by the models)


jreps/patientCluster documentation built on May 20, 2019, 10:46 a.m.