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"
}
]
}