Nikhil created MADLIB-1358:
------------------------------
Summary: DL: make types consistent
Key: MADLIB-1358
URL: https://issues.apache.org/jira/browse/MADLIB-1358
Project: Apache MADlib
Issue Type: Improvement
Reporter: Nikhil
Fix For: v1.16
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)