Skip to content

Commit

Permalink
modify nb test cases and update baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
yaojl committed Nov 2, 2012
1 parent dd338d5 commit 82a7573
Show file tree
Hide file tree
Showing 6 changed files with 436 additions and 542 deletions.
799 changes: 402 additions & 397 deletions bootstrap/resultbaseline.sql

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions schedule/case_multinomial_logistic_regression_gp_basic
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@ multinomial_logistic_regression_convergence_threshold_0_3
multinomial_logistic_regression_convergence_threshold_0_4
multinomial_logistic_regression_convergence_threshold_0_5


multinomial_logistic_regression_negative_categories_number_0_0
multinomial_logistic_regression_negative_categories_number_0_2

14 changes: 0 additions & 14 deletions schedule/skip_knownissues
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,6 @@ plda_label_negative_eta_0_0


###### Naive Bayes Classification ###
### HEAD ###
### JiraId: MADLIB-679 ###
### Type: 1 ###
### Des: NB result is different between GP and PG ###
nb_precompute_views_0_12
nb_adhoc_views_12_0_0
### END ###

### HEAD ###
### JiraId: MADLIB-650 ###
Expand Down Expand Up @@ -433,13 +426,6 @@ multinomial_logistic_regression_optimizer_0_5
multinomial_logistic_regression_baseline_0_2
### END ###

### HEAD ###
### JiraId: MADLIB-673 ###
### Des: For dataset with two categories, It''s runnable when we input bigger number for categories ###
### Type: 1 ###
multinomial_logistic_regression_negative_categories_number_0_0
multinomial_logistic_regression_negative_categories_number_0_2
### END ###

### HEAD ###
### JiraId: MADLIB-674 ###
Expand Down
14 changes: 0 additions & 14 deletions schedule/skip_knownissues_gpdb40
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,6 @@ plda_label_negative_eta_0_0


###### Naive Bayes Classification ###
### HEAD ###
### JiraId: MADLIB-679 ###
### Type: 1 ###
### Des: NB result is different between GP and PG ###
nb_precompute_views_0_12
nb_adhoc_views_12_0_0
### END ###


### HEAD ###
Expand Down Expand Up @@ -433,13 +426,6 @@ multinomial_logistic_regression_optimizer_0_5
multinomial_logistic_regression_baseline_0_2
### END ###

### HEAD ###
### JiraId: MADLIB-673 ###
### Des: For dataset with two categories, It''s runnable when we input bigger number for categories ###
### Type: 1 ###
multinomial_logistic_regression_negative_categories_number_0_0
multinomial_logistic_regression_negative_categories_number_0_2
### END ###

### HEAD ###
### JiraId: MADLIB-674 ###
Expand Down
15 changes: 0 additions & 15 deletions schedule/skip_knownissues_gpdb41
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,6 @@ plda_label_negative_eta_0_0


###### Naive Bayes Classification ###
### HEAD ###
### JiraId: MADLIB-679 ###
### Type: 1 ###
### Des: NB result is different between GP and PG ###
nb_precompute_views_0_12
nb_adhoc_views_12_0_0
nb_adhoc_views_0_0_0
### END ###

### HEAD ###
### JiraId: MADLIB-650 ###
Expand Down Expand Up @@ -434,13 +426,6 @@ multinomial_logistic_regression_optimizer_0_5
multinomial_logistic_regression_baseline_0_2
### END ###

### HEAD ###
### JiraId: MADLIB-673 ###
### Des: For dataset with two categories, It''s runnable when we input bigger number for categories ###
### Type: 1 ###
multinomial_logistic_regression_negative_categories_number_0_0
multinomial_logistic_regression_negative_categories_number_0_2
### END ###

### HEAD ###
### JiraId: MADLIB-674 ###
Expand Down
132 changes: 30 additions & 102 deletions testspec/casespec/naive_bayes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,7 @@
<value></value>
</list_parameter>
<tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;
DROP TABLE IF EXISTS madlibtestresult.trained_priors;
DROP VIEW IF EXISTS madlibtestresult.classified_result;
DROP VIEW IF EXISTS madlibtestresult.classified_probs;
DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
DROP TABLE IF EXISTS madlibtestresult.trained_probs;DROP TABLE IF EXISTS madlibtestresult.trained_priors;DROP VIEW IF EXISTS madlibtestresult.classified_result;DROP VIEW IF EXISTS madlibtestresult.classified_probs;DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
</method>
</test_suite>
Expand Down Expand Up @@ -262,12 +258,8 @@
</parameters>

<tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;
DROP TABLE IF EXISTS madlibtestresult.trained_priors;
DROP VIEW IF EXISTS madlibtestresult.classified_result;
DROP VIEW IF EXISTS madlibtestresult.classified_probs;
DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;DROP TABLE IF EXISTS madlibtestresult.trained_priors;DROP VIEW IF EXISTS madlibtestresult.classified_result;DROP VIEW IF EXISTS madlibtestresult.classified_probs;DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
</method>
</test_suite>

Expand Down Expand Up @@ -314,11 +306,7 @@
</parameters>

<tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;
DROP TABLE IF EXISTS madlibtestresult.trained_priors;
DROP VIEW IF EXISTS madlibtestresult.classified_result;
DROP VIEW IF EXISTS madlibtestresult.classified_probs;
DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
DROP TABLE IF EXISTS madlibtestresult.trained_probs;DROP TABLE IF EXISTS madlibtestresult.trained_priors;DROP VIEW IF EXISTS madlibtestresult.classified_result;DROP VIEW IF EXISTS madlibtestresult.classified_probs;DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
</method>
</test_suite>
Expand Down Expand Up @@ -366,11 +354,7 @@
</parameters>

<tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;
DROP TABLE IF EXISTS madlibtestresult.trained_priors;
DROP VIEW IF EXISTS madlibtestresult.classified_result;
DROP VIEW IF EXISTS madlibtestresult.classified_probs;
DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
DROP TABLE IF EXISTS madlibtestresult.trained_probs;DROP TABLE IF EXISTS madlibtestresult.trained_priors;DROP VIEW IF EXISTS madlibtestresult.classified_result;DROP VIEW IF EXISTS madlibtestresult.classified_probs;DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
</method>
</test_suite>
Expand Down Expand Up @@ -418,11 +402,7 @@
</parameters>

<tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;
DROP TABLE IF EXISTS madlibtestresult.trained_priors;
DROP VIEW IF EXISTS madlibtestresult.classified_result;
DROP VIEW IF EXISTS madlibtestresult.classified_probs;
DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
DROP TABLE IF EXISTS madlibtestresult.trained_probs;DROP TABLE IF EXISTS madlibtestresult.trained_priors;DROP VIEW IF EXISTS madlibtestresult.classified_result;DROP VIEW IF EXISTS madlibtestresult.classified_probs;DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
</method>
</test_suite>
Expand Down Expand Up @@ -470,12 +450,8 @@
</parameters>

<tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;
DROP TABLE IF EXISTS madlibtestresult.trained_priors;
DROP VIEW IF EXISTS madlibtestresult.classified_result;
DROP VIEW IF EXISTS madlibtestresult.classified_probs;
DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;DROP TABLE IF EXISTS madlibtestresult.trained_priors;DROP VIEW IF EXISTS madlibtestresult.classified_result;DROP VIEW IF EXISTS madlibtestresult.classified_probs;DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
</method>
</test_suite>

Expand Down Expand Up @@ -522,11 +498,7 @@
</parameters>

<tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;
DROP TABLE IF EXISTS madlibtestresult.trained_priors;
DROP VIEW IF EXISTS madlibtestresult.classified_result;
DROP VIEW IF EXISTS madlibtestresult.classified_probs;
DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
DROP TABLE IF EXISTS madlibtestresult.trained_probs;DROP TABLE IF EXISTS madlibtestresult.trained_priors;DROP VIEW IF EXISTS madlibtestresult.classified_result;DROP VIEW IF EXISTS madlibtestresult.classified_probs;DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
</method>
</test_suite>
Expand Down Expand Up @@ -574,12 +546,8 @@
</parameters>

<tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;
DROP TABLE IF EXISTS madlibtestresult.trained_priors;
DROP VIEW IF EXISTS madlibtestresult.classified_result;
DROP VIEW IF EXISTS madlibtestresult.classified_probs;
DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;DROP TABLE IF EXISTS madlibtestresult.trained_priors;DROP VIEW IF EXISTS madlibtestresult.classified_result;DROP VIEW IF EXISTS madlibtestresult.classified_probs;DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
</method>
</test_suite>

Expand Down Expand Up @@ -626,11 +594,7 @@
</parameters>

<tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;
DROP TABLE IF EXISTS madlibtestresult.trained_priors;
DROP VIEW IF EXISTS madlibtestresult.classified_result;
DROP VIEW IF EXISTS madlibtestresult.classified_probs;
DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
DROP TABLE IF EXISTS madlibtestresult.trained_probs;DROP TABLE IF EXISTS madlibtestresult.trained_priors;DROP VIEW IF EXISTS madlibtestresult.classified_result;DROP VIEW IF EXISTS madlibtestresult.classified_probs;DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
</method>
</test_suite>
Expand Down Expand Up @@ -678,12 +642,8 @@
</parameters>

<tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;
DROP TABLE IF EXISTS madlibtestresult.trained_priors;
DROP VIEW IF EXISTS madlibtestresult.classified_result;
DROP VIEW IF EXISTS madlibtestresult.classified_probs;
DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;DROP TABLE IF EXISTS madlibtestresult.trained_priors;DROP VIEW IF EXISTS madlibtestresult.classified_result;DROP VIEW IF EXISTS madlibtestresult.classified_probs;DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
</method>
</test_suite>

Expand Down Expand Up @@ -730,12 +690,8 @@
</parameters>

<tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;
DROP TABLE IF EXISTS madlibtestresult.trained_priors;
DROP VIEW IF EXISTS madlibtestresult.classified_result;
DROP VIEW IF EXISTS madlibtestresult.classified_probs;
DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;DROP TABLE IF EXISTS madlibtestresult.trained_priors;DROP VIEW IF EXISTS madlibtestresult.classified_result;DROP VIEW IF EXISTS madlibtestresult.classified_probs;DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
</method>
</test_suite>

Expand Down Expand Up @@ -782,12 +738,8 @@
</parameters>

<tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;
DROP TABLE IF EXISTS madlibtestresult.trained_priors;
DROP VIEW IF EXISTS madlibtestresult.classified_result;
DROP VIEW IF EXISTS madlibtestresult.classified_probs;
DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;DROP TABLE IF EXISTS madlibtestresult.trained_priors;DROP VIEW IF EXISTS madlibtestresult.classified_result;DROP VIEW IF EXISTS madlibtestresult.classified_probs;DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
</method>
</test_suite>

Expand Down Expand Up @@ -834,12 +786,8 @@
</parameters>

<tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;
DROP TABLE IF EXISTS madlibtestresult.trained_priors;
DROP VIEW IF EXISTS madlibtestresult.classified_result;
DROP VIEW IF EXISTS madlibtestresult.classified_probs;
DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;DROP TABLE IF EXISTS madlibtestresult.trained_priors;DROP VIEW IF EXISTS madlibtestresult.classified_result;DROP VIEW IF EXISTS madlibtestresult.classified_probs;DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
</method>
</test_suite>

Expand Down Expand Up @@ -886,12 +834,8 @@
</parameters>

<tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;
DROP TABLE IF EXISTS madlibtestresult.trained_priors;
DROP VIEW IF EXISTS madlibtestresult.classified_result;
DROP VIEW IF EXISTS madlibtestresult.classified_probs;
DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;DROP TABLE IF EXISTS madlibtestresult.trained_priors;DROP VIEW IF EXISTS madlibtestresult.classified_result;DROP VIEW IF EXISTS madlibtestresult.classified_probs;DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
</method>
</test_suite>

Expand Down Expand Up @@ -968,12 +912,8 @@
<value>madlibtestdata.nb_extra_values_classify</value>
</list_parameter>
<tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;
DROP TABLE IF EXISTS madlibtestresult.trained_priors;
DROP VIEW IF EXISTS madlibtestresult.classified_result;
DROP VIEW IF EXISTS madlibtestresult.classified_probs;
DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;DROP TABLE IF EXISTS madlibtestresult.trained_priors;DROP VIEW IF EXISTS madlibtestresult.classified_result;DROP VIEW IF EXISTS madlibtestresult.classified_probs;DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
</method>
</test_suite>

Expand Down Expand Up @@ -1028,12 +968,8 @@
<value>madlibtestdata.nb_extra_values_classify</value>
</list_parameter>
<tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;
DROP TABLE IF EXISTS madlibtestresult.trained_priors;
DROP VIEW IF EXISTS madlibtestresult.classified_result;
DROP VIEW IF EXISTS madlibtestresult.classified_probs;
DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;DROP TABLE IF EXISTS madlibtestresult.trained_priors;DROP VIEW IF EXISTS madlibtestresult.classified_result;DROP VIEW IF EXISTS madlibtestresult.classified_probs;DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
</method>
</test_suite>

Expand Down Expand Up @@ -1110,12 +1046,8 @@
<value>madlibtestdata.nb_extra_values_classify</value>
</list_parameter>
<tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;
DROP TABLE IF EXISTS madlibtestresult.trained_priors;
DROP VIEW IF EXISTS madlibtestresult.classified_result;
DROP VIEW IF EXISTS madlibtestresult.classified_probs;
DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;DROP TABLE IF EXISTS madlibtestresult.trained_priors;DROP VIEW IF EXISTS madlibtestresult.classified_result;DROP VIEW IF EXISTS madlibtestresult.classified_probs;DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
</method>
</test_suite>

Expand Down Expand Up @@ -1170,12 +1102,8 @@
<value>madlibtestdata.nb_extra_values_classify</value>
</list_parameter>
<tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;
DROP TABLE IF EXISTS madlibtestresult.trained_priors;
DROP VIEW IF EXISTS madlibtestresult.classified_result;
DROP VIEW IF EXISTS madlibtestresult.classified_probs;
DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
DROP TABLE IF EXISTS madlibtestresult.trained_probs;DROP TABLE IF EXISTS madlibtestresult.trained_priors;DROP VIEW IF EXISTS madlibtestresult.classified_result;DROP VIEW IF EXISTS madlibtestresult.classified_probs;DROP FUNCTION IF EXISTS madlibtestresult.classified_func(INT[], FLOAT8);
</tear_down>
</method>
</test_suite>

Expand Down

0 comments on commit 82a7573

Please sign in to comment.