Skip to content

Commit

Permalink
fix renaming simple -> dense features in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeren Sonnenburg committed May 12, 2012
1 parent b785835 commit c92b144
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
@@ -1,6 +1,6 @@
using System;

public class features_simple_real_modular {
public class features_dense_real_modular {
public static void Main() {
modshogun.init_shogun_with_defaults();

Expand Down
Expand Up @@ -4,7 +4,7 @@
import java.util.Arrays;
import java.util.List;

public class features_simple_modular {
public class features_dense_modular {
static {
System.loadLibrary("modshogun");
}
Expand Down
Expand Up @@ -4,7 +4,7 @@ matrix = {{1,2,3},{4,0,0},{0,0,0},{0,5,0},{0,0,6},{9,9,9}}

parameter_list = {{matrix}}

function features_simple_real_modular(A)
function features_dense_real_modular(A)
a=modshogun.RealFeatures(A)
a:set_feature_vector({1,4,0,0,0,9}, 0)

Expand All @@ -14,6 +14,6 @@ function features_simple_real_modular(A)
end

if debug.getinfo(3) == nill then
print 'simple_real'
features_simple_real_modular(unpack(parameter_list[1]))
print 'dense_real'
features_dense_real_modular(unpack(parameter_list[1]))
end
Expand Up @@ -41,4 +41,4 @@ def features_dense_modular(A=matrixA,B=matrixB,C=matrixC):

if __name__=='__main__':
print('dense')
features_simple_modular(*parameter_list[0])
features_dense_modular(*parameter_list[0])

0 comments on commit c92b144

Please sign in to comment.