Harsh Kumar Singh
Harsh Kumar Singh
> [!WARNING] > This issue is not yet ready for a PR. If you are interested in contributing to scikit-learn, please have a look at our [contributing guidelines](https://scikit-learn.org/dev/developers/contributing.html), and in...
#### Reference Issues/PRs Fixes #34315 #### What does this implement/fix? Explain your changes. This PR fixes an off-by-one indexing error in the docstring for `paired_manhattan_distances` within `sklearn/metrics/pairwise.py`. The previous docstring...
Resolves #8190. When cov_type='fixed scale' (or the 'fixed_scale' alias) is used, the scale attribute of the results object was not being updated, leading to incorrect calculations for resid_pearson and potentially...
### Describe the issue: In _function_base_impl.py, piecewise checks whether each item in funclist is callable like this: `if not isinstance(func, collections.abc.Callable):` mypy has a known issue with this exact pattern...
Found this while digging through nan* functions. nanvar has a workaround for np.matrix, since it rejects keepdims=True explicitly even though it always keeps 2D shape anyway on its own: ```python...
#### Describe the bug `anova_lm` compares two nested models and expects them passed with the smaller (restricted) model first and the larger (full) model second. If the models are passed...
### PR Summary `discrete_space`: Synchronize Cell-Agent References in `Cell.add_agent` and `Cell.remove_agent` ## Problem Statement In Mesa 3.0's `discrete_space` module, spatial occupation is represented by a bidirectional relationship between `Cell` and...
Hi @EdgeofChaos @falloficaruss @quaquel, Following up on the recent Meta-Agents rewrite (#3811), I looked into the open `TODO(perf)` in `mesa/meta_agents/meta_agents_api.py:93`: > `# TODO(perf): This rebuilds an O(N) mapping over every...
### What this bug is about If you create a meta-agent group, dissolve it, and then create another group with the same name, Mesa raises `StopIteration`. I ran into this...