Versions Compared

Key

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

...

1) What is the motivation of defining the Estimator /and the Transformer interfaces? How are these interfaces related to machine learning?

...

The training logic of this algorithm could be represented as a subclass of Estimator (say EstimatorA). The Estimator subclass has a fit() method, which reads data (as Table) and outputs an instance of the Transformer Transformer (e.g. TransformerA in this case). The TransformerA instance could be constructed using variables from the EstimatorA instance.

Then, in order to do training and prediction using this algorithm, a user could write the following code:

...