You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@madlib.apache.org by ok...@apache.org on 2017/08/11 18:37:03 UTC
incubator-madlib git commit: MADLIB-1118. Change tolerance to 1e-2
(from 1e-6)
Repository: incubator-madlib
Updated Branches:
refs/heads/master ceefae4f4 -> 6f6f804b2
MADLIB-1118. Change tolerance to 1e-2 (from 1e-6)
This changes the execution elapsed time to 2252 milliseconds from
10171 milliseconds on mac with Postgre 9.6
Closes #163
Project: http://git-wip-us.apache.org/repos/asf/incubator-madlib/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-madlib/commit/6f6f804b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-madlib/tree/6f6f804b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-madlib/diff/6f6f804b
Branch: refs/heads/master
Commit: 6f6f804b22b273d1541ae918b3581c7f0e3fc757
Parents: ceefae4
Author: Ed Espino <ee...@pivotal.io>
Authored: Tue Aug 8 23:40:13 2017 -0700
Committer: Orhan Kislal <ok...@pivotal.io>
Committed: Fri Aug 11 11:33:25 2017 -0700
----------------------------------------------------------------------
.../test/elastic_net_install_check.sql_in | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-madlib/blob/6f6f804b/src/ports/postgres/modules/elastic_net/test/elastic_net_install_check.sql_in
----------------------------------------------------------------------
diff --git a/src/ports/postgres/modules/elastic_net/test/elastic_net_install_check.sql_in b/src/ports/postgres/modules/elastic_net/test/elastic_net_install_check.sql_in
index 077afbb..d2be8a8 100644
--- a/src/ports/postgres/modules/elastic_net/test/elastic_net_install_check.sql_in
+++ b/src/ports/postgres/modules/elastic_net/test/elastic_net_install_check.sql_in
@@ -562,7 +562,7 @@ begin
} 1',
NULL,
2000,
- 1e-6
+ 1e-2
);
-- PERFORM assert(relative_error(log_likelihood, -14.41122) < 1e-3,
@@ -598,7 +598,7 @@ begin
} 1',
NULL,
2000,
- 1e-6
+ 1e-2
);
-- PERFORM assert(((relative_error(log_likelihood, -16.43510) < 1e-3 or
@@ -635,7 +635,7 @@ begin
} 1',
NULL,
2000,
- 1e-6
+ 1e-2
);
EXECUTE 'DROP TABLE IF EXISTS house_en_pred';
@@ -667,7 +667,7 @@ begin
} 1',
NULL,
2000,
- 1e-6
+ 1e-2
);
-- PERFORM assert(((relative_error(log_likelihood, -17.42548) < 1e-3 or
@@ -702,7 +702,7 @@ begin
'eta = 2, max_stepsize = 0.5, use_active_set = f, random_stepsize = t',
NULL,
20000,
- 1e-6
+ 1e-2
);
-- PERFORM assert(relative_error(log_likelihood, -0.542468) < 1e-3,
@@ -737,7 +737,7 @@ begin
'eta = 2, max_stepsize = 0.5, use_active_set = t, activeset_tolerance = 1e-6, random_stepsize = t',
NULL,
20000,
- 1e-6
+ 1e-2
);
-- PERFORM assert(((relative_error(log_likelihood, -0.61782) < 1e-3 or
@@ -773,7 +773,7 @@ begin
'stepsize = 1',
NULL,
20000,
- 1e-6
+ 1e-2
);
-- PERFORM assert(((relative_error(log_likelihood, -0.84930) < 1e-3 or
@@ -807,7 +807,7 @@ begin
'',
'',
10000,
- 1e-6
+ 1e-2
);
end;
@@ -835,7 +835,7 @@ SELECT elastic_net_train(
$$,
NULL,
100,
- 1e-6
+ 1e-2
);
SELECT * FROM house_en;
SELECT * FROM house_en_summary;
@@ -861,7 +861,7 @@ SELECT * FROM house_en_summary;
-- $$,
-- NULL,
-- 100,
--- 1e-6
+-- 1e-2
-- );
-- SELECT * FROM house_en;
-- SELECT * FROM house_en_summary;