You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@madlib.apache.org by "Frank McQuillan (JIRA)" <ji...@apache.org> on 2019/04/12 21:44:00 UTC
[jira] [Created] (MADLIB-1325) MLP does not stop even after
tolerance reached
Frank McQuillan created MADLIB-1325:
---------------------------------------
Summary: MLP does not stop even after tolerance reached
Key: MADLIB-1325
URL: https://issues.apache.org/jira/browse/MADLIB-1325
Project: Apache MADlib
Issue Type: Bug
Components: Module: Neural Networks
Reporter: Frank McQuillan
Fix For: v1.16
{code}
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(# );
{code}
{code}
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
{code}
This should have stopped after the tolerance was reached.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)