Skip to content

Commit

Permalink
fix various python modular examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeren Sonnenburg committed Jul 3, 2012
1 parent d4cb052 commit d01d587
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 54 deletions.
48 changes: 0 additions & 48 deletions examples/undocumented/python_modular/clustering_gmm_modular.py

This file was deleted.

Expand Up @@ -127,7 +127,7 @@ def modelselection_grid_search_kernel():
cross.set_conf_int_alpha(0.01)
result=cross.evaluate()
print("result: ")
result.print_result()
#result.print_result()

return 0

Expand Down
Expand Up @@ -17,8 +17,6 @@ def statistics_linear_time_mmd():
from shogun.Statistics import LinearTimeMMD
from shogun.Statistics import BOOTSTRAP, MMD1_GAUSSIAN

import matplotlib.pyplot as plt

# note that the linear time statistic is designed for much larger datasets
n=10000
dim=2
Expand Down
Expand Up @@ -17,8 +17,6 @@ def statistics_linear_time_mmd():
from shogun.Statistics import QuadraticTimeMMD
from shogun.Statistics import BOOTSTRAP, MMD2_SPECTRUM, MMD2_GAMMA, BIASED, UNBIASED

import matplotlib.pyplot as plt

# note that the quadratic time mmd has sometimes to store kernel matrices
# which upper bounds the sample size massively
n=500
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.template
Expand Up @@ -264,7 +264,7 @@ install-python_modular: $(TEMPLATE_TARGET)
install -m755 $(SWIGLIBFILES) "$(DESTDIR)$(PYDIR)"
echo '__all__= [' > "$(DESTDIR)$(PYDIR)/shogun/__init__.py"
for i in Kernel Distance Features Classifier Regression Converter \
Features Clustering Evaluation IO Library Mathematics \
Loss Clustering Evaluation IO Library Mathematics \
ModelSelection Preprocessor Structure Distribution Statistics;\
do \
install -d -m755 "$(DESTDIR)$(PYDIR)/shogun/$$i" ;\
Expand Down

0 comments on commit d01d587

Please sign in to comment.