Description Usage Arguments Value Author(s) Examples
View source: R/adaptive_refinement_help.R
Predict the target variable from a group Bayesian network
1 2 3 |
object |
An object of class groupbn generated by the functions groupbn or groupbn_refinement |
X.quanti |
quantitative variables |
X.quali |
qualitative variables |
rename.level |
a boolean; if TRUE, all levels of categorical variables are renamed by integers. Default is FALSE. |
return.data |
a boolean; if TRUE, a list with predictions and group.data is returned instead of only predicitions. Default is FALSE. |
new.fit |
a boolean; if TRUE, the parameters are newly fit using the test data. |
debug |
a boolean, if TRUE, debugging messages are printed |
... |
further arguments |
Returns a dataframe with a column of predictions and a column of the target data. If the target is discrete, class probabilities are returned. Otherwise continuous scores are returned. If return.data is TRUE, additionally the transformed group data are returned.
Ann-Kristin Becker
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.