You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@madlib.apache.org by GitBox <gi...@apache.org> on 2019/09/03 16:28:53 UTC

[GitHub] [madlib] fmcquillan99 commented on issue #430: Add generate mst table utility.

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:
users@infra.apache.org


With regards,
Apache Git Services