Skip to content

Conversation

ablaom
Copy link
Member

@ablaom ablaom commented Jul 18, 2025

At present source() == source(), which means sources unbound to data in learning networks cannot be distinguished using ==, which we view as a bug. This PR fixes this.

We also move the definition of the private method MLJBase.children out to tests, since it is not used for any other purpose. Moreover, we tweak its definition so that it does not depend on the overloading of Base.in currently in MLJModelInterface, which we would ultimately like to remove. See this discussion.

The following local tests of downstream packages (with the overloading in MLJModelInterface removed) pass:

  • MLJTuning
  • MLJEnsembles
  • MLJIteration
  • FeatureSelection
  • MLJ (including integration tests)

@ablaom ablaom marked this pull request as draft July 18, 2025 10:53
@ablaom ablaom marked this pull request as ready for review July 19, 2025 07:03
@ablaom ablaom merged commit 5c03421 into dev Jul 19, 2025
3 checks passed
@ablaom ablaom deleted the children branch July 19, 2025 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant