X-Git-Url: https://git.auder.net/?p=aggexp.git;a=blobdiff_plain;f=pkg%2FR%2Fm_ExponentialWeights.R;fp=pkg%2FR%2Fm_ExponentialWeights.R;h=091628721aa0395e45107cf500f0caaed0d30dde;hp=e59e28f524d016837e8f0747bb64977a83e58963;hb=d1ae093753e81f18ffeaced56ea74446c5922bd6;hpb=ac475607b3776ed6fdbdc1a26a86f6c0d8498011 diff --git a/pkg/R/m_ExponentialWeights.R b/pkg/R/m_ExponentialWeights.R index e59e28f..0916287 100644 --- a/pkg/R/m_ExponentialWeights.R +++ b/pkg/R/m_ExponentialWeights.R @@ -46,10 +46,6 @@ ExponentialWeights = setRefClass( appendWeight(finalWeight) return (matricize(x) %*% finalWeight) -# M = matricize(x) -# M[M<=30] = -1 -# M[M>30] = 1 -# return (30 + M%*%finalWeight) } ) )