Description Usage Arguments Value
Get the posterior probabilites from a row of a test dataset using the NBAYES object created while fit proba_1_obs gives the probabilities of the observation (row) to belong to the different modalities of the variable to predict Y.
1 | proba_1_obs(ligne_df, nbayes)
|
ligne_df |
row of the test dataframe to discretize |
nbayes |
the nbayes object return by fit() function |
a vector containing the conditionnal probability for each modality to predict
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.