Return the mean of all targets.
(self, neighbors_targets)
| 69 | """Nearest neighbors regressor.""" |
| 70 | |
| 71 | def aggregate(self, neighbors_targets): |
| 72 | """Return the mean of all targets.""" |
| 73 | |
| 74 | return np.mean(neighbors_targets) |
nothing calls this directly
no outgoing calls
no test coverage detected