(Vec input_i, Vec scratch, Vec weightVec, double scale)
| 306 | } |
| 307 | |
| 308 | private void updateWeight(Vec input_i, Vec scratch, Vec weightVec, double scale) |
| 309 | { |
| 310 | input_i.copyTo(scratch); |
| 311 | scratch.mutableSubtract(weightVec); |
| 312 | weightVec.mutableAdd(scale, scratch); |
| 313 | } |
| 314 | |
| 315 | /** |
| 316 | * Finds the Best Matching Unit |
no test coverage detected