(Vec x, List<Double> qi)
| 353 | }; |
| 354 | |
| 355 | private double score(Vec x, List<Double> qi) |
| 356 | { |
| 357 | DoubleList alphToUse; |
| 358 | if(useAverageModel && t > burnIn) |
| 359 | { |
| 360 | updateAverage(); |
| 361 | alphToUse = alphaAveraged; |
| 362 | } |
| 363 | else |
| 364 | alphToUse = alphas; |
| 365 | return k.evalSum(vecs, accelCache, alphToUse.getBackingArray(), x, qi, 0, alphToUse.size()); |
| 366 | } |
| 367 | |
| 368 | /** |
| 369 | * Computes the score and saves the results of the kernel computations in |
no test coverage detected