The NaiveBayesPredict function outputs a table of predictions for the observations in the test table. Each row represents one observation.
Column Name | Data Type | Description |
---|---|---|
id | INTEGER | Row identifier. |
prediction | VARCHAR | Prediction for this observation. |
loglik_response_i | DOUBLE PRECISION | Loglikelihood (natural logarithm of the probability) that this observation has response_i. The table has one column for each possible response. For example, if the possible responses are 'Yes' and 'No', then the table has columns loglik_Yes and loglik_No. |