setOptimalWeights: Set the optimal weights.
Description
Set the optimal weights.
Usage
setOptimalWeights(object, optimalWeights)# S4 method for MultiplicativeAlgorithm
setOptimalWeights(object, optimalWeights)
Value
The object with the updated optimal weights.
Arguments
- object
An object from the class MultiplicativeAlgorithm.
- optimalWeights
A vector giving the optimal weights.