Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load pipelines by name and register them as entry_points #88

Closed
csala opened this issue May 17, 2019 · 0 comments · Fixed by #89
Closed

Load pipelines by name and register them as entry_points #88

csala opened this issue May 17, 2019 · 0 comments · Fixed by #89
Assignees
Milestone

Comments

@csala
Copy link
Contributor

csala commented May 17, 2019

Implement pipeline loading by name and use entry points for pipeline discovery.

The API will work as follows:

  • The primitives argument will be made a keyword argument instead of a positional argument.
  • A new keyword argument pipeline will be added to the MLPipeline class in the first place.
  • The pipeline argument will accept four different types:
    • It it is an str it will be considered to be the pipeline name and it will be searched.
    • If it is a list it will be considered to be the primitives list.
    • If it is a dict it will be considered to be a complete pipeline specification
    • If it is an MLPipeline instance it will be converted to a dict using its to_dict method.

For pipeline discovery, the mlpipelines entry_point name will be used like the mlprimitives one is currently being used.
For this, the module primitives will be renamed to discovery and the methods will be remade to work for both pipelines and primitives.

@csala csala added this to the 0.3.1 milestone May 17, 2019
@csala csala self-assigned this May 17, 2019
@csala csala closed this as completed in #89 May 22, 2019
gsheni pushed a commit that referenced this issue Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant