Gives the highest value so far. Returns: The location of the currently best value and the value itself.
(self)
| 396 | self.X_max = retrieve_rows(X, max_idx) |
| 397 | |
| 398 | def get_max(self) -> Tuple: |
| 399 | """ |
| 400 | Gives the highest value so far. |
| 401 | |
| 402 | Returns: |
| 403 | The location of the currently best value and the value itself. |
| 404 | """ |
| 405 | return self.X_max, self.y_max |
| 406 | |
| 407 | def teach(self, X: modALinput, y: modALinput, bootstrap: bool = False, only_new: bool = False, **fit_kwargs) -> None: |
| 408 | """ |