predict.brnn_ordinal | R Documentation |

The function produces the predictions for a two-layer feed-forward neural network for ordinal data.

```
## S3 method for class 'brnn_ordinal'
predict(object,newdata,...)
```

`object` |
an object of the class |

`newdata` |
matrix or data frame of test examples. A vector is considered to be a row vector comprising a single case. |

`...` |
arguments passed to or from other methods. |

This function is a method for the generic function
`predict()`

for class `"brnn_ordinal"`

.
It can be invoked by calling `predict(x)`

for an
object `x`

of the appropriate class, or directly by
calling `predict.brnn_ordinal(x)`

regardless of the class of the object.

A list with components:

`class` |
Predicted class (an integer). |

`probability` |
Posterior probability of belonging to a class given the covariates. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.