Support reading an attribute from a class instead of calling a method?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 124
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
This is a discussion issue as a followup #71
Should we natively support returning a class attribute value (or multiple) instead of calling a method of the class during the produce phase?
This could be simple achieved at the JSON level by simply not specifying the method key.
Then, we would have:
"produce": {
"output": [
{
"name": "feature_weights",
"attribute": "feature_importances_" # This would be optional, to be used only if the used name does not match the attribute name.
"type": "list"
}
]
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading follow-up issue #71 and tracing the produce-phase configuration described here. Determine how method-based outputs are currently represented and whether omitting method can identify a class attribute. Done means the proposed attribute form and its optional name mapping have a clear, agreed implementation path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100