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

DL: make types consistent

    XMLWordPrintableJSON

Details

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

    Description

      Under deep_learning module (this includes preprocessor, keras model arch table, fit, evaluate and predict):

      1. We would like for independent_var to be float32 (REAL[]) everywhere.
      2. We would like for dependent_var to be a 16-bit integer (SMALLINT) everywhere.

      This will require changing schemas in CREATE TABLES, and argument types to UDA functions. We should also create a function to wrap `np.array()` that automatically uses `dtype=np.float32`

      • Add dev-check assert for types of class_values, dependent_var, independent_var, and model_weights.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nikhilkak Nikhil
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: