fmcquillan99 commented on issue #430: Add generate mst table utility.
URL: https://github.com/apache/madlib/pull/430#issuecomment-527535568
 
 
   (2) looks better now:
   ```
   madlib=# SELECT madlib.load_model_selection_table('model_arch_library', -- 
model architecture table
   madlib(#                                          'mst_table',          -- 
model selection table output
   madlib(#                                           ARRAY[1,2],              
-- model ids from model architecture table
   madlib(#                                           ARRAY[                   
-- compile params
   madlib(#                                               
$$loss='categorical_crossentropy',optimizer='Adam(lr=0.1)',metrics=['accuracy']$$,
   madlib(#                                               
$$loss='categorical_crossentropy', 
optimizer='Adam(lr=0.01)',metrics=['accuracy']$$,
   madlib(#                                               
$$loss='categorical_crossentropy',optimizer='Adam(lr=0.001)',metrics=['accuracy']$$
   madlib(#                                           ],
   madlib(#                                           ARRAY[                    
-- fit params
   madlib(#                                               
$$batch_size=5,epochs=1$$,
   madlib(#                                               
$$batch_size=10,epochs=1$$
   madlib(#                                           ]
   madlib(#                                          );
    load_model_selection_table 
   ----------------------------
    
   (1 row)
   
   Time: 256.820 ms
   
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to