You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@madlib.apache.org by "Himanshu Pandey (JIRA)" <ji...@apache.org> on 2019/05/24 18:13:00 UTC

[jira] [Commented] (MADLIB-1325) MLP does not stop even after tolerance reached

    [ https://issues.apache.org/jira/browse/MADLIB-1325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16847793#comment-16847793 ] 

Himanshu Pandey commented on MADLIB-1325:
-----------------------------------------

[https://github.com/apache/madlib/pull/398]

> 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
>            Priority: Major
>             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)