Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
export only sg / shogun and fix r example
  • Loading branch information
Soeren Sonnenburg committed Nov 6, 2011
1 parent 5d580e0 commit ef9224f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Expand Up @@ -95,6 +95,6 @@ for (kk in c(1:length(f))) { #Big loop
sg('add_kernel', 1, 'GAUSSIAN', 'REAL', cache_size, rbf_width[10])
sg('train_classifier')

weights[kk,] <- get_subkernel_weights()
weights[kk,] <- sg('get_subkernel_weights')
cat("frequency:", f[kk], " rbf-kernel-weights: ", weights[kk,], "\n")
}
6 changes: 1 addition & 5 deletions src/.r-install.sh
Expand Up @@ -59,9 +59,7 @@ if test "$2" = "sg" || test "$2" = "elwms"
then
echo "Installing static sg/elwms interface for R"
cat >"$1/$2/NAMESPACE" <<EOF
export( sg )
S3method(sg, default)
export(sg)
EOF

cat >"$1/$2/R/$2" <<EOF
Expand Down Expand Up @@ -135,8 +133,6 @@ echo "Installing modular shogun interface for R"

cat >"$1/$2/NAMESPACE" <<EOF
export( shogun )
S3method(shogun, default)
EOF

cat >"$1/$2/R/$2" <<EOF
Expand Down

0 comments on commit ef9224f

Please sign in to comment.