Description Usage Arguments Value
View source: R/predictmixture.R
Performs sequential predictions and updates of a mixture object based on new observations and expert advice.
1 2 3 4 
object 
Object of class inheriting from 'mixture' 
newexperts 
An optional matrix in which to look for expert advice with which predict. If omitted, the past predictions of the object are returned and the object is not updated. 
newY 
An optional matrix with d columns (or vector if d=1) of observations to be predicted. If provided, it
should have the same number of rows as the number of rows of 
awake 
An optional array specifying the
activation coefficients of the experts. It must have the same dimension as experts. Its entries lie in 
online 
A boolean determining if the observations in newY are predicted sequentially (by updating the object step by step) or not. If FALSE, the observations are predicting using the object (without using any past information in newY). If TRUE, newY and newexperts should not be null. 
type 
Type of prediction. It can be

... 
further arguments are ignored 
predict.mixture
produces a matrix of predictions
(type = 'response'), an updated object (type = 'model'), or a matrix of
weights (type = 'weights').
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.