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

MLP does not stop even after tolerance reached

    XMLWordPrintableJSON

Details

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

    Description

      madlib=# select madlib.mlp_classification(
      madlib(# 'madlib_test_jl_train_dataset_for_pivotal', -- input table
      madlib(# 'madlib_test_jl_mlp_training_model_20190312', -- output table
      madlib(# 'ARRAY[g,h,i]',  -- independent var
      madlib(# 'response',  -- dependent var
      madlib(# ARRAY[10, 10, 10, 10], -- Number of neurons per layer, and specify number of hidden layers
      madlib(# 'learning_rate_init = 0.01, lambda = 0, n_iterations = 10, tolerance = 0.0001', -- optimizer 
      madlib(# 'relu', -- Activation function ('sigmoid' as default, 'tanh' and 'relu' available)
      madlib(# NULL,  -- default weight (1)
      madlib(# FALSE,  -- no warm start
      madlib(# TRUE   -- not verbose
      madlib(# );
      
      INFO:  Iteration: 1, Loss: <1.42993215991>
      INFO:  Iteration: 2, Loss: <1.21119290067>
      INFO:  Iteration: 3, Loss: <1.21119290067>
      INFO:  Iteration: 4, Loss: <1.21119290067>
      INFO:  Iteration: 5, Loss: <1.21119290067>
      INFO:  Iteration: 6, Loss: <1.21119290067>
      INFO:  Iteration: 7, Loss: <1.21119290067>
      INFO:  Iteration: 8, Loss: <1.21119290067>
      INFO:  Iteration: 9, Loss: <1.21119290067>
       mlp_classification 
      --------------------
       
      (1 row)
      
      Time: 26113.558 ms
      

      This should have stopped after the tolerance was reached.

      Attachments

        Activity

          People

            Unassigned Unassigned
            fmcquillan Frank McQuillan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: