You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

conf.py 6.5 kB

first commit Former-commit-id: 08bc23ba02cffbce3cf63962390a65459a132e48 [formerly 0795edd4834b9b7dc66db8d10d4cbaf42bbf82cb] [formerly b5010b42541add7e2ea2578bf2da537efc457757 [formerly a7ca09c2c34c4fc8b3d8e01fcfa08eeeb2cae99d]] [formerly 615058473a2177ca5b89e9edbb797f4c2a59c7e5 [formerly 743d8dfc6843c4c205051a8ab309fbb2116c895e] [formerly bb0ea98b1e14154ef464e2f7a16738705894e54b [formerly 960a69da74b81ef8093820e003f2d6c59a34974c]]] [formerly 2fa3be52c1b44665bc81a7cc7d4cea4bbf0d91d5 [formerly 2054589f0898627e0a17132fd9d4cc78efc91867] [formerly 3b53730e8a895e803dfdd6ca72bc05e17a4164c1 [formerly 8a2fa8ab7baf6686d21af1f322df46fd58c60e69]] [formerly 87d1e3a07a19d03c7d7c94d93ab4fa9f58dada7c [formerly f331916385a5afac1234854ee8d7f160f34b668f] [formerly 69fb3c78a483343f5071da4f7e2891b83a49dd18 [formerly 386086f05aa9487f65bce2ee54438acbdce57650]]]] Former-commit-id: a00aed8c934a6460c4d9ac902b9a74a3d6864697 [formerly 26fdeca29c2f07916d837883983ca2982056c78e] [formerly 0e3170d41a2f99ecf5c918183d361d4399d793bf [formerly 3c12ad4c88ac5192e0f5606ac0d88dd5bf8602dc]] [formerly d5894f84f2fd2e77a6913efdc5ae388cf1be0495 [formerly ad3e7bc670ff92c992730d29c9d3aa1598d844e8] [formerly 69fb3c78a483343f5071da4f7e2891b83a49dd18]] Former-commit-id: 3c19c9fae64f6106415fbc948a4dc613b9ee12f8 [formerly 467ddc0549c74bb007e8f01773bb6dc9103b417d] [formerly 5fa518345d958e2760e443b366883295de6d991c [formerly 3530e130b9fdb7280f638dbc2e785d2165ba82aa]] Former-commit-id: 9f5d473d42a435ec0d60149939d09be1acc25d92 [formerly be0b25c4ec2cde052a041baf0e11f774a158105d] Former-commit-id: 9eca71cb73ba9edccd70ac06a3b636b8d4093b04
5 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. # -*- coding: utf-8 -*-
  2. #
  3. # Configuration file for the Sphinx documentation builder.
  4. #
  5. # This file does only contain a selection of the most common options. For a
  6. # full list see the documentation:
  7. # http://www.sphinx-doc.org/en/master/config
  8. # -- Path setup --------------------------------------------------------------
  9. # If extensions (or modules to document with autodoc) are in another directory,
  10. # add these directories to sys.path here. If the directory is relative to the
  11. # documentation root, use os.path.abspath to make it absolute, like shown here.
  12. #
  13. import datetime
  14. import os
  15. import sys
  16. sys.path.insert(0, os.path.abspath('.'))
  17. import d3m
  18. # -- Project information -----------------------------------------------------
  19. project = 'D3M'
  20. project_lowercase = project.lower()
  21. # The short X.Y version
  22. version = d3m.__version__
  23. # The full version, including alpha/beta/rc tags
  24. release = version
  25. author = d3m.__author__
  26. copyright = '2017-{year}, {author}'.format(year=datetime.datetime.now().year, author=author)
  27. # -- General configuration ---------------------------------------------------
  28. # If your documentation needs a minimal Sphinx version, state it here.
  29. #
  30. # needs_sphinx = '1.0'
  31. # Add any Sphinx extension module names here, as strings. They can be
  32. # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
  33. # ones.
  34. extensions = [
  35. 'sphinx.ext.autodoc',
  36. 'sphinx.ext.doctest',
  37. 'sphinx.ext.intersphinx',
  38. 'sphinx.ext.todo',
  39. 'sphinx.ext.mathjax',
  40. 'sphinx.ext.ifconfig',
  41. 'sphinx.ext.napoleon',
  42. 'sphinx_autodoc_typehints',
  43. 'sphinxcontrib.fulltoc',
  44. 'recommonmark',
  45. 'sphinx.ext.linkcode',
  46. ]
  47. # Add any paths that contain templates here, relative to this directory.
  48. templates_path = ['_templates']
  49. # The suffix(es) of source filenames.
  50. # You can specify multiple suffix as a list of string:
  51. #
  52. # source_suffix = ['.rst', '.md']
  53. # The master toctree document.
  54. master_doc = 'index'
  55. # The language for content autogenerated by Sphinx. Refer to documentation
  56. # for a list of supported languages.
  57. #
  58. # This is also used if you do content translation via gettext catalogs.
  59. # Usually you set "language" from the command line for these cases.
  60. language = None
  61. # List of patterns, relative to source directory, that match files and
  62. # directories to ignore when looking for source files.
  63. # This pattern also affects html_static_path and html_extra_path .
  64. exclude_patterns = []
  65. # The name of the Pygments (syntax highlighting) style to use.
  66. pygments_style = 'sphinx'
  67. # -- Options for HTML output -------------------------------------------------
  68. # The theme to use for HTML and HTML Help pages. See the documentation for
  69. # a list of builtin themes.
  70. #
  71. html_theme = 'nature'
  72. # Theme options are theme-specific and customize the look and feel of a theme
  73. # further. For a list of options available for each theme, see the
  74. # documentation.
  75. #
  76. # html_theme_options = {}
  77. # Add any paths that contain custom static files (such as style sheets) here,
  78. # relative to this directory. They are copied after the builtin static files,
  79. # so a file named "default.css" will overwrite the builtin "default.css".
  80. html_static_path = ['_static']
  81. # Custom sidebar templates, must be a dictionary that maps document names
  82. # to template names.
  83. #
  84. # The default sidebars (for documents that don't match any pattern) are
  85. # defined by theme itself. Builtin themes are using these templates by
  86. # default: ``['localtoc.html', 'relations.html', 'sourcelink.html',
  87. # 'searchbox.html']``.
  88. #
  89. html_sidebars = {
  90. '**': [
  91. 'toc.html',
  92. 'versions.html',
  93. 'searchbox.html',
  94. ]
  95. }
  96. html_title = "{project} {version}".format(project=project, version=version)
  97. html_show_sourcelink = False
  98. html_copy_source = False
  99. modindex_common_prefix = ['d3m.']
  100. # -- Options for HTMLHelp output ---------------------------------------------
  101. # Output file base name for HTML help builder.
  102. htmlhelp_basename = project_lowercase
  103. # -- Options for LaTeX output ------------------------------------------------
  104. latex_elements = {
  105. # The paper size ('letterpaper' or 'a4paper').
  106. #
  107. # 'papersize': 'letterpaper',
  108. # The font size ('10pt', '11pt' or '12pt').
  109. #
  110. # 'pointsize': '10pt',
  111. # Additional stuff for the LaTeX preamble.
  112. #
  113. # 'preamble': '',
  114. # Latex figure (float) alignment
  115. #
  116. # 'figure_align': 'htbp',
  117. }
  118. # Grouping the document tree into LaTeX files. List of tuples
  119. # (source start file, target name, title,
  120. # author, documentclass [howto, manual, or own class]).
  121. latex_documents = [
  122. (master_doc, '{name}.tex'.format(name=project_lowercase), project, author, 'manual'),
  123. ]
  124. # -- Options for manual page output ------------------------------------------
  125. # One entry per manual page. List of tuples
  126. # (source start file, name, description, authors, manual section).
  127. man_pages = [
  128. (master_doc, project_lowercase, d3m.__description__, [author], 1)
  129. ]
  130. # -- Options for Texinfo output ----------------------------------------------
  131. # Grouping the document tree into Texinfo files. List of tuples
  132. # (source start file, target name, title, author,
  133. # dir menu entry, description, category)
  134. texinfo_documents = [
  135. (master_doc, project_lowercase, project, author, project, d3m.__description__, 'Miscellaneous'),
  136. ]
  137. # -- Extension configuration -------------------------------------------------
  138. # -- Options for intersphinx extension ---------------------------------------
  139. # Example configuration for intersphinx: refer to the Python standard library.
  140. intersphinx_mapping = {
  141. 'https://docs.python.org/': None,
  142. 'pandas': ('https://pandas.pydata.org/pandas-docs/stable/', None),
  143. 'numpy': ('https://docs.scipy.org/doc/numpy/', None),
  144. #'numpy': ('https://numpydoc.readthedocs.io/en/latest/', None),
  145. 'scikit-learn': ('https://scikit-learn.org/stable/', None),
  146. 'mypy': ('https://mypy.readthedocs.io/en/stable/', None),
  147. 'setuptools': ('https://setuptools.readthedocs.io/en/latest/', None),
  148. }
  149. # -- Options for todo extension ----------------------------------------------
  150. # If true, `todo` and `todoList` produce output, else they produce nothing.
  151. todo_include_todos = True
  152. def setup(app):
  153. app.add_stylesheet('custom.css')
  154. def linkcode_resolve(domain, info):
  155. if domain != 'py':
  156. return None
  157. if not info['module']:
  158. return None
  159. return 'https://gitlab.com/datadrivendiscovery/d3m/blob/{version}/{path}.py'.format(version=version, path=info['module'].replace('.', '/'))

全栈的自动化机器学习系统,主要针对多变量时间序列数据的异常检测。TODS提供了详尽的用于构建基于机器学习的异常检测系统的模块,它们包括:数据处理(data processing),时间序列处理( time series processing),特征分析(feature analysis),检测算法(detection algorithms),和强化模块( reinforcement module)。这些模块所提供的功能包括常见的数据预处理、时间序列数据的平滑或变换,从时域或频域中抽取特征、多种多样的检测算