Add InteractiveUtils standard library as dependency, and add the tags
trait.
#219
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In this PR we:
Add InteractiveUtils standard library as dependency
This allows the
implemented_methods
trait fallback to be immediately defined in this package (like all the other trait fallbacks) rather than relying on the light/full interface mechanism. The previous exceptional behaviour has been causing me issues in a revamp of the MLJ Model Registry management tools.(in the light/full switch, some methods do not get sensible overloadings until MLJBase is loaded.)
Of course for users there is no change in behaviour, for MLJBase is always loaded, in which case my changes here have no detectable impact. (In my use case for registry management, I want to inspect trait values without having to load all of MLJBase.)
Add a new
tags
traitThe name is owned by StatisticalTraits, to which this was recently added. The StatisticalTraits fallback of "", suffices. This trait is intended to have values like
["regression", "gradient descent"]
and to be overloaded by model interfaces, to remove the burden of maintaining this database at MLJ docs.