<commit_before>"""
Machine Learning module for NeuroImaging in python
==================================================

See http://nisl.github.com for complete documentation.
"""
"""
try:
    import numpy
except ImportError:
    print 'Numpy could not be found, please install it properly to use nisl.'


try:
    import scipy
except ImportError:
    print 'Scipy could not be found, please install it properly to use nisl.'

try:
    import sklearn
except ImportError:
    print 'Sklearn could not be found, please install it properly to use nisl.'
"""
try:
    from numpy.testing import nosetester

    class NoseTester(nosetester.NoseTester):
        """ Subclass numpy's NoseTester to add doctests by default
        """

        def test(self, label='fast', verbose=1, extra_argv=['--exe'],
                        doctests=True, coverage=False):
            """Run the full test suite

            Examples
            --------
            This will run the test suite and stop at the first failing
            example
            >>> from nisl import test
            >>> test(extra_argv=['--exe', '-sx']) #doctest: +SKIP
            """<commit_msg>Change "Sklearn" to "Scikit-learn" in error message<commit_after>"""
Machine Learning module for NeuroImaging in python
==================================================

See http://nisl.github.com for complete documentation.
"""
"""
try:
    import numpy
except ImportError:
    print 'Numpy could not be found, please install it properly to use nisl.'


try:
    import scipy
except ImportError:
    print 'Scipy could not be found, please install it properly to use nisl.'

try:
    import sklearn
except ImportError:
    print 'Scikit-learn could not be found, please install it properly to use nisl.'
"""
try:
    from numpy.testing import nosetester

    class NoseTester(nosetester.NoseTester):
        """ Subclass numpy's NoseTester to add doctests by default
        """

        def test(self, label='fast', verbose=1, extra_argv=['--exe'],
                        doctests=True, coverage=False):
            """Run the full test suite

            Examples
            --------
            This will run the test suite and stop at the first failing
            example
            >>> from nisl import test
            >>> test(extra_argv=['--exe', '-sx']) #doctest: +SKIP
            """
{'fraction_non_alphanumeric': 0.13734633319203052, 'fraction_numerical': 0.000847816871555744, 'mean_word_length': 2.517138599105812, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '2175085', 'n_tokens_mistral': 639, 'n_tokens_neox': 610, 'n_words': 238}