Uploaded image for project: 'Apache MADlib'
  1. Apache MADlib
  2. MADLIB-1316

Simplify madlib_keras_predict interface

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v1.16
    • Deep Learning
    • None

    Description

      The interface for `madlib_keras_predict()` is currently more complex than necessary. The following params that are currently needed can be inferred from model/model_summary table:
      1. `model_arch_table`
      2. `model_arch_id`
      3. `compile_params`

      These params are passed to `madlib_keras_fit()`, and we should just store them in the model output summary table. Any model we learn in fit is very specific to these params and they should not be changed while calling predict anyway.

      The following proposed predict interface is simpler and sufficient:

      madlib_keras_predict(
          model_table            VARCHAR,
          test_table                 VARCHAR,
          id_col                        VARCHAR,
          independent_varname     VARCHAR,
          output_table            VARCHAR
          pred_type                 VARCHAR
      )
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            njayaram Nandish Jayaram
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: