m3dev / gokart

Gokart solves reproducibility, task dependencies, constraints of good code, and ease of use for Machine Learning Pipeline.
https://gokart.readthedocs.io/en/latest/
MIT License
318 stars 57 forks source link

Add parameter alias to inherits_config_params #193

Closed mski-iksm closed 3 years ago

mski-iksm commented 3 years ago

This update allows to replace parameter name of inherited config Task, when using @inherits_config_params decorator.

Currently, when using @inherits_config_params, parameter name of inheriting config Task and decorated Task must be same. After this PR, parameter name can be replaced by passing parameter names dictionary param_config2task to @inherits_config_params decorator.

Please review! @hirosassa @vaaaaanquish @e-mon @Hi-king