Source code for mlinsights

# -*- coding: utf-8 -*-
"""
Module *mlinsights*.
Look for insights for machine learned models.


:githublink:`%|py|7`
"""
__version__ = "0.3.550"
__author__ = "Xavier Dupré"
__github__ = "https://github.com/sdpython/mlinsights"
__url__ = "http://www.xavierdupre.fr/app/mlinsights/helpsphinx/index.html"
__license__ = "MIT License"
__blog__ = """
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
    <head>
        <title>blog</title>
    </head>
    <body>
        <outline text="mlinsights"
            title="mlinsights"
            type="rss"
            xmlUrl="http://www.xavierdupre.fr/app/mlinsights/helpsphinx/_downloads/rss.xml"
            htmlUrl="http://www.xavierdupre.fr/app/mlinsights/helpsphinx/blog/main_0000.html" />
    </body>
</opml>
"""


[docs]def check(log=False): """ Checks the library is working. It raises an exception. If you want to disable the logs: :param log: if True, display information, otherwise :return: 0 or exception :githublink:`%|py|37` """ return True # pragma: no cover
[docs]def _setup_hook(use_print=False): """ if this function is added to the module, the help automation and unit tests call it first before anything goes on as an initialization step. :githublink:`%|py|46` """ # we can check many things, needed module # any others things before unit tests are started if use_print: # pragma: no cover print("Success: _setup_hook") # pragma: no cover