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

Modify warm start logic for DL to handle case of missing weight

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • v1.17
    • Deep Learning
    • None

    Description

      I was trying to implement an autoML algorithm on top of the new multi-model fit and ran into an issue with warm start. I would suggest a slight change in logic:

      Currently if there are not existing models+weights in the model table for every single MST key in the MST table, we error out when warm start = TRUE.

      I suggest if there is not an entry in the model table+weights for an MST key in the MST table, then randomly initialize the weights (or whatever the default is in Keras) and do not error out. Of course, if there are existing models+weights in the model table for an MST key in the MST table, then use them (which is currently what we do).

      Again this all applies to warm start = TRUE only.

      Oh, if warm start = TRUE but the model table does not exist at all, we should error out like we do today.

      Logic for warm start = FALSE as implemented seems OK to me.

      Attachments

        1. 20191219_163748.jpg
          3.26 MB
          Frank McQuillan

        Activity

          People

            okislal Orhan Kislal
            fmcquillan Frank McQuillan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: