Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

And we want to compose an Estimator (e.g. Graph) from the following DAG of Transformer/Estimator.

Image Modified


The resulting Graph::fit is expected to have the following behavior:

  • The method takes 2 input tables. Both tables are given to EstimatorA::fit.
  • EstimatorA fits the input tables and generates a TransformerA instance. The TransformerA instance takes 1 table input, which is different from the 2 tables given to the EstimatorA.
  • Returns a GraphModel instance which contains a TransformerA instance and a TransformerB instance, which are connected as a chain.

The fitted GraphModel is represented by the following DAG:

Image Added

Notes:

  • The fitted GraphModel takes only 1 table as input whereas the Graph takes 2 tables as inputs.
  • The proposed APIs also support composing an Estimator from a DAG of Estimator/Transformer whose input schemas are different from its fitted Transformer. 

...