Skip to content

Commit

Permalink
fix fisher2x3 example and include statistics in maths module
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeren Sonnenburg committed Jun 9, 2012
1 parent 068eef5 commit b979aae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Expand Up @@ -9,8 +9,8 @@
parameter_list = [[x,concatenate((x,y,z),1)]]

def library_fisher2x3_modular(table, tables):
pval=Math_fishers_exact_test_for_2x3_table(table)
pvals=Math_fishers_exact_test_for_multiple_2x3_tables(tables)
pval=Statistics_fishers_exact_test_for_2x3_table(table)
pvals=Statistics_fishers_exact_test_for_multiple_2x3_tables(tables)
return (pval,pvals)

if __name__=='__main__':
Expand Down
2 changes: 2 additions & 0 deletions src/interfaces/modular/Mathematics.i
Expand Up @@ -10,3 +10,5 @@

%rename(Math) CMath;
%include <shogun/mathematics/Math.h>
%rename(Statistics) CStatistics;
%include <shogun/mathematics/Statistics.h>
1 change: 1 addition & 0 deletions src/interfaces/modular/Mathematics_includes.i
@@ -1,4 +1,5 @@
%{
#include <shogun/mathematics/Math.h>
#include <shogun/mathematics/Statistics.h>
%}

0 comments on commit b979aae

Please sign in to comment.