<commit_before># -*- coding: utf-8 -*-
#
# scikit-neuralnetwork documentation build configuration file, created by
# sphinx-quickstart on Tue Mar 31 20:28:10 2015.

import sys
import os

project = u'scikit-neuralnetwork'
copyright = u'2015, scikit-neuralnetwork developers (BSD License)' 


# -- Overrides for modules ----------------------------------------------------

from mock import Mock as MagicMock

class Mock(MagicMock):
    @classmethod
    def __getattr__(cls, name):
        if name in ('BaseEstimator', 'RegressorMixin', 'ClassifierMixin'):
            return object
        return Mock()

MOCK_MODULES = ['numpy', 'theano', 'pywrap2',
                'sklearn', 'sklearn.base', 'sklearn.pipeline',
                'sklearn.cross_validation', 'sklearn.preprocessing']

for fullname in MOCK_MODULES:
    segments = []
    for s in fullname.split('.'):
        segments.append(s)
        mod_name = ".".join(segments)
        sys.modules[mod_name] = Mock()


# -- Configuration of documentation -------------------------------------------

sys.path.append(os.path.dirname(os.path.dirname(__file__)).encode('utf-8'))

import sknn
version = sknn.__version__
release = sknn.__version__

extensions = ['sphinx.ext.autosummary',
              'sphinx.ext.autodoc',
              'sphinx.ext.coverage',
              'numpydoc']
templates_path = ['_templates']
source_suffix = '.rst'
master_doc = 'index'
exclude_patterns = ['_build']

pygments_style = 'sphinx'
todo_include_todos = False


# -- Options for HTML output --------------------------------------------------

html_title = 'scikit-neuralnetwork documentation'
# html_logo = 'img/logo.png'
# html_favicon = 'img/favicon.ico'

html_static_path = ['_static']
htmlhelp_basename = 'sknndoc'
<commit_msg>Specifying mock module by full path for documentation generation.<commit_after># -*- coding: utf-8 -*-
#
# scikit-neuralnetwork documentation build configuration file, created by
# sphinx-quickstart on Tue Mar 31 20:28:10 2015.

import sys
import os

project = u'scikit-neuralnetwork'
copyright = u'2015, scikit-neuralnetwork developers (BSD License)' 


# -- Overrides for modules ----------------------------------------------------

from mock import Mock as MagicMock

class Mock(MagicMock):
    @classmethod
    def __getattr__(cls, name):
        if name in ('BaseEstimator', 'RegressorMixin', 'ClassifierMixin'):
            return object
        return Mock()

MOCK_MODULES = ['numpy', 'theano', 'sknn.pywrap2',
                'sklearn', 'sklearn.base', 'sklearn.pipeline',
                'sklearn.cross_validation', 'sklearn.preprocessing']

for fullname in MOCK_MODULES:
    segments = []
    for s in fullname.split('.'):
        segments.append(s)
        mod_name = ".".join(segments)
        sys.modules[mod_name] = Mock()


# -- Configuration of documentation -------------------------------------------

sys.path.append(os.path.dirname(os.path.dirname(__file__)).encode('utf-8'))

import sknn
version = sknn.__version__
release = sknn.__version__

extensions = ['sphinx.ext.autosummary',
              'sphinx.ext.autodoc',
              'sphinx.ext.coverage',
              'numpydoc']
templates_path = ['_templates']
source_suffix = '.rst'
master_doc = 'index'
exclude_patterns = ['_build']

pygments_style = 'sphinx'
todo_include_todos = False


# -- Options for HTML output --------------------------------------------------

html_title = 'scikit-neuralnetwork documentation'
# html_logo = 'img/logo.png'
# html_favicon = 'img/favicon.ico'

html_static_path = ['_static']
htmlhelp_basename = 'sknndoc'

{'fraction_non_alphanumeric': 0.19615491780440233, 'fraction_numerical': 0.01058790749512399, 'mean_word_length': 2.4820562560620756, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4458118', 'n_tokens_mistral': 1133, 'n_tokens_neox': 1074, 'n_words': 246}