diff --git a/doc/conf.py b/doc/conf.py index b557eb1aa4b4c992628f877fd3f2e2a34670fffc..dcf8a48e4f2ee7b07351137f908208fbe4c327ca 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -29,6 +29,7 @@ extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.imgmath', + 'sphinx_rtd_theme', 'numpydoc', 'sphinx.ext.napoleon', 'sphinx_gallery.gen_gallery' @@ -105,7 +106,7 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'nature' +html_theme = 'sphinx_rtd_theme' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/multimodal/boosting/mumbo.py b/multimodal/boosting/mumbo.py index 0ced162f9a3446d04d3b17cdc1d08d4e0c13d8dc..e46b06ebcf38cabc913444750d1bd4019439b841 100644 --- a/multimodal/boosting/mumbo.py +++ b/multimodal/boosting/mumbo.py @@ -445,16 +445,11 @@ class MumboClassifier(BaseEnsemble, ClassifierMixin, UBoosting): self.X_._extract_view(ind_view)) edges = self._compute_edge_global( cost_global, predicted_classes, y) - print(cost_global) - print(edges) - print(np.unique(predicted_classes), np.unique(y)) - print(np.sum(predicted_classes != y, axis=1)) if self.best_view_mode == "edge": best_view = np.argmax(edges) else: # self.best_view_mode == "error" n_errors = np.sum(predicted_classes != y, axis=1) best_view = np.argmin(n_errors) - print("Best view:", best_view) edge = edges[best_view] if (edge == 1.): diff --git a/setup.py b/setup.py index 0bb17e2c7a939f99098001af1fe6ce404bcdcf90..52d70cf6e755c3650238d3f58f1fac783493cb7a 100644 --- a/setup.py +++ b/setup.py @@ -180,7 +180,7 @@ def setup_package(): python_requires = '>=3.6' extras_require = { 'dev': ['pytest', 'pytest-cov'], - 'doc': ['sphinx', 'numpydoc', 'sphinx_gallery', 'matplotlib']} + 'doc': ['sphinx', 'numpydoc', 'sphinx_gallery', 'matplotlib', "sphinx_rtd_theme"]} include_package_data = True setup(name=name,