protected double decisionFunctionR ( int v ) { double sum = 0 ; for ( int i = 0 ; i < vecs . size ( ) ; i ++ ) if ( alphas [ i ] != alpha_s [ i ] ) //multipler would be zero sum += ( alphas [ i ] - alpha_s [ i ] ) * kEval ( v , i ) ; return sum ; }
Returns the local decision function for regression training purposes without the bias term