predict.EMlnet: Predict New Observations by a Trained Logistic Mixture of...

Description Usage Arguments Value

Description

Predict new observations by a trained logistic mixture of experts model.

Usage

1
2
## S3 method for class 'EMlnet'
predict(object, newdata, ...)

Arguments

object

An object of class EMlnet.

newdata

A data.frame or matrix with data for which to make predictions.

...

Further arguments. Currently unused.

Value

A list with components:

class

A factor with predicted class levels.

posterior

A matrix with predicted posterior probabilities.

gating

The probabilities predicted by the fating model.

experts

The class posterior probabilities predicted by individual experts.


schiffner/EMnet documentation built on May 29, 2019, 3:38 p.m.