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

Pipelines and algorithms #39

Open
cbonesana opened this issue Nov 13, 2020 · 0 comments
Open

Pipelines and algorithms #39

cbonesana opened this issue Nov 13, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@cbonesana
Copy link
Member

cbonesana commented Nov 13, 2020

Long time ago, for the Belief Propagation we added the Algorithm Interface.
With my last commit of today, with the help of @davidhuber , I also added a pipeline class called Pipe. The idea is to use the Pipe to build the Belief Propagation algorithm as a Pipeline that can produce a self-updatable JunctionTree.

Doing so I thought that we need some kind of interfaces as in sklearn or Spark:

  • a Transformer interface that act like the current Algorithm interface and transform one input to an output;
  • an Estimator interface that take some inputs but does not produce any kind of output.

(Names are from Spark)

Will this be somewhat helpful?

@cbonesana cbonesana added the enhancement New feature or request label Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant