Skip to content

Conversation

@ramosv
Copy link
Member

@ramosv ramosv commented Dec 19, 2024

Many of our components were dependent on the output_dir parameter, which was not necessary. This commit removes the dependency on output_dir from many of our components.

  • Components now return a datastructure, either a pandas dataframe or a numpy array.

  • This gives the user more flexibility in how they want to save the output of the component.

  • User can easy save the output to a csv file or pass the output to another component.

  • This follows common practices in popular machine learning frameworks such as scikit-learn, PyTorch, and TensorFlow.

  • By increasing flexibility and separation of concerns, we make our codebase more modular and easier to maintain.

  • Therefore adhering to the single-responsibility principle.

Many of our components were dependent on the output_dir parameter, which was not necessary. This commit removes the dependency on output_dir from many of our components.
- Components now return a datastructure, either a pandas dataframe or a numpy array.
- This gives the user more flexibility in how they want to save the output of the component.

- User can easy save the output to a csv file or pass the output to another component.
- This follows common practices in popular machine learning frameworks such as scikit-learn, PyTorch, and TensorFlow.
- By increasing flexibility and separation of concerns, we make our codebase more modular and easier to maintain.
- Therefore adhering to the single-responsibility principle.
@ramosv ramosv merged commit 571e05c into main Dec 20, 2024
2 checks passed
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.

2 participants