predict.neuralnet.prmdt: predict.neuralnet.prmdt

View source: R/predict.R

predict.neuralnet.prmdtR Documentation

predict.neuralnet.prmdt

Description

Return prediction for a neuralnet model.

Usage

## S3 method for class 'neuralnet.prmdt'
predict(object, newdata, type = "class", ...)

Arguments

object

a neuralnet model object for which prediction is desired.

newdata

an optional data frame in which to look for variables with which to predict.

type

type of prediction 'prob' or 'class' (default).

...

additional arguments affecting the predictions produced.

Value

a vector or matrix of predictions for neuralnet.


PROMiDAT/traineR documentation built on Nov. 13, 2023, 3:21 a.m.