Learn R Programming

PatientLevelPrediction (version 4.3.10)

setNaiveBayes: Create setting for naive bayes model with python

Description

Create setting for naive bayes model with python

Usage

setNaiveBayes(variableNumber = 2000)

Arguments

variableNumber

The number of variables selected by feature selection prior to training the model (this is required due to Naive Bayes requring a non sparse matrix)

Examples

Run this code
# NOT RUN {
model.nb <- setNaiveBayes()
# }

Run the code above in your browser using DataLab