learningmachine 2.5.0__tar.gz → 2.6.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. {learningmachine-2.5.0 → learningmachine-2.6.0}/PKG-INFO +1 -1
  2. {learningmachine-2.5.0 → learningmachine-2.6.0}/README.md +1 -1
  3. {learningmachine-2.5.0 → learningmachine-2.6.0}/learningmachine/regression.py +3 -2
  4. {learningmachine-2.5.0 → learningmachine-2.6.0}/learningmachine.egg-info/PKG-INFO +1 -1
  5. {learningmachine-2.5.0 → learningmachine-2.6.0}/learningmachine.egg-info/SOURCES.txt +0 -9
  6. {learningmachine-2.5.0 → learningmachine-2.6.0}/setup.py +1 -1
  7. learningmachine-2.5.0/docs/Makefile +0 -20
  8. learningmachine-2.5.0/docs/conf.py +0 -162
  9. learningmachine-2.5.0/docs/contributing.rst +0 -1
  10. learningmachine-2.5.0/docs/history.rst +0 -1
  11. learningmachine-2.5.0/docs/index.rst +0 -19
  12. learningmachine-2.5.0/docs/installation.rst +0 -51
  13. learningmachine-2.5.0/docs/make.bat +0 -36
  14. learningmachine-2.5.0/docs/readme.rst +0 -1
  15. learningmachine-2.5.0/docs/usage.rst +0 -7
  16. {learningmachine-2.5.0 → learningmachine-2.6.0}/CONTRIBUTING.rst +0 -0
  17. {learningmachine-2.5.0 → learningmachine-2.6.0}/HISTORY.rst +0 -0
  18. {learningmachine-2.5.0 → learningmachine-2.6.0}/LICENSE +0 -0
  19. {learningmachine-2.5.0 → learningmachine-2.6.0}/MANIFEST.in +0 -0
  20. {learningmachine-2.5.0 → learningmachine-2.6.0}/learningmachine/__init__.py +0 -0
  21. {learningmachine-2.5.0 → learningmachine-2.6.0}/learningmachine/base.py +0 -0
  22. {learningmachine-2.5.0 → learningmachine-2.6.0}/learningmachine/classifier.py +0 -0
  23. {learningmachine-2.5.0 → learningmachine-2.6.0}/learningmachine/utils.py +0 -0
  24. {learningmachine-2.5.0 → learningmachine-2.6.0}/learningmachine.egg-info/dependency_links.txt +0 -0
  25. {learningmachine-2.5.0 → learningmachine-2.6.0}/learningmachine.egg-info/not-zip-safe +0 -0
  26. {learningmachine-2.5.0 → learningmachine-2.6.0}/learningmachine.egg-info/requires.txt +0 -0
  27. {learningmachine-2.5.0 → learningmachine-2.6.0}/learningmachine.egg-info/top_level.txt +0 -0
  28. {learningmachine-2.5.0 → learningmachine-2.6.0}/setup.cfg +0 -0
  29. {learningmachine-2.5.0 → learningmachine-2.6.0}/tests/__init__.py +0 -0
  30. {learningmachine-2.5.0 → learningmachine-2.6.0}/tests/test_learningmachine.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: learningmachine
3
- Version: 2.5.0
3
+ Version: 2.6.0
4
4
  Summary: Machine Learning with uncertainty quantification and interpretability
5
5
  Home-page: https://github.com/Techtonique/learningmachine_python
6
6
  Author: T. Moudiki
@@ -1,6 +1,6 @@
1
1
  # learningmachine
2
2
 
3
- ![PyPI](https://img.shields.io/pypi/v/learningmachine) [![PyPI - License](https://img.shields.io/pypi/l/learningmachine)](https://github.com/thierrymoudiki/learningmachine/blob/master/LICENSE) [![Downloads](https://pepy.tech/badge/learningmachine)](https://pepy.tech/project/learningmachine) [![Documentation](https://img.shields.io/badge/documentation-is_here-green)](https://techtonique.github.io/learningmachine/)
3
+ ![PyPI](https://img.shields.io/pypi/v/learningmachine) [![PyPI - License](https://img.shields.io/pypi/l/learningmachine)](https://github.com/thierrymoudiki/learningmachine/blob/master/LICENSE) [![Downloads](https://pepy.tech/badge/learningmachine)](https://pepy.tech/project/learningmachine) [![Documentation](https://img.shields.io/badge/documentation-is_here-green)](https://techtonique.github.io/learningmachine_python/)
4
4
 
5
5
 
6
6
  Machine Learning with uncertainty quantification and interpretability.
@@ -161,7 +161,8 @@ class Regressor(Base, RegressorMixin):
161
161
 
162
162
  newx_r = base.as_vector(FloatVector(newx))
163
163
 
164
- self.obj["update"](newx_r, base.as_numeric(FloatVector([newy])),
165
- **params_dict)
164
+ self.obj["update"](
165
+ newx_r, base.as_numeric(FloatVector([newy])), **params_dict
166
+ )
166
167
 
167
168
  return self
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: learningmachine
3
- Version: 2.5.0
3
+ Version: 2.6.0
4
4
  Summary: Machine Learning with uncertainty quantification and interpretability
5
5
  Home-page: https://github.com/Techtonique/learningmachine_python
6
6
  Author: T. Moudiki
@@ -5,15 +5,6 @@ MANIFEST.in
5
5
  README.md
6
6
  setup.cfg
7
7
  setup.py
8
- docs/Makefile
9
- docs/conf.py
10
- docs/contributing.rst
11
- docs/history.rst
12
- docs/index.rst
13
- docs/installation.rst
14
- docs/make.bat
15
- docs/readme.rst
16
- docs/usage.rst
17
8
  learningmachine/__init__.py
18
9
  learningmachine/base.py
19
10
  learningmachine/classifier.py
@@ -169,6 +169,6 @@ setup(
169
169
  packages=find_packages(include=["learningmachine", "learningmachine.*"]),
170
170
  test_suite="tests",
171
171
  url="https://github.com/Techtonique/learningmachine_python",
172
- version="2.5.0",
172
+ version="2.6.0",
173
173
  zip_safe=False,
174
174
  )
@@ -1,20 +0,0 @@
1
- # Minimal makefile for Sphinx documentation
2
- #
3
-
4
- # You can set these variables from the command line.
5
- SPHINXOPTS =
6
- SPHINXBUILD = python -msphinx
7
- SPHINXPROJ = learningmachine
8
- SOURCEDIR = .
9
- BUILDDIR = _build
10
-
11
- # Put it first so that "make" without argument is like "make help".
12
- help:
13
- @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14
-
15
- .PHONY: help Makefile
16
-
17
- # Catch-all target: route all unknown targets to Sphinx using the new
18
- # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19
- %: Makefile
20
- @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@@ -1,162 +0,0 @@
1
- #!/usr/bin/env python
2
- #
3
- # learningmachine documentation build configuration file, created by
4
- # sphinx-quickstart on Fri Jun 9 13:47:02 2017.
5
- #
6
- # This file is execfile()d with the current directory set to its
7
- # containing dir.
8
- #
9
- # Note that not all possible configuration values are present in this
10
- # autogenerated file.
11
- #
12
- # All configuration values have a default; values that are commented out
13
- # serve to show the default.
14
-
15
- # If extensions (or modules to document with autodoc) are in another
16
- # directory, add these directories to sys.path here. If the directory is
17
- # relative to the documentation root, use os.path.abspath to make it
18
- # absolute, like shown here.
19
- #
20
- import os
21
- import sys
22
- sys.path.insert(0, os.path.abspath('..'))
23
-
24
- import learningmachine
25
-
26
- # -- General configuration ---------------------------------------------
27
-
28
- # If your documentation needs a minimal Sphinx version, state it here.
29
- #
30
- # needs_sphinx = '1.0'
31
-
32
- # Add any Sphinx extension module names here, as strings. They can be
33
- # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
34
- extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode']
35
-
36
- # Add any paths that contain templates here, relative to this directory.
37
- templates_path = ['_templates']
38
-
39
- # The suffix(es) of source filenames.
40
- # You can specify multiple suffix as a list of string:
41
- #
42
- # source_suffix = ['.rst', '.md']
43
- source_suffix = '.rst'
44
-
45
- # The master toctree document.
46
- master_doc = 'index'
47
-
48
- # General information about the project.
49
- project = 'learningmachine'
50
- copyright = "2024, T. Moudiki"
51
- author = "T. Moudiki"
52
-
53
- # The version info for the project you're documenting, acts as replacement
54
- # for |version| and |release|, also used in various other places throughout
55
- # the built documents.
56
- #
57
- # The short X.Y version.
58
- version = learningmachine.__version__
59
- # The full version, including alpha/beta/rc tags.
60
- release = learningmachine.__version__
61
-
62
- # The language for content autogenerated by Sphinx. Refer to documentation
63
- # for a list of supported languages.
64
- #
65
- # This is also used if you do content translation via gettext catalogs.
66
- # Usually you set "language" from the command line for these cases.
67
- language = None
68
-
69
- # List of patterns, relative to source directory, that match files and
70
- # directories to ignore when looking for source files.
71
- # This patterns also effect to html_static_path and html_extra_path
72
- exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
73
-
74
- # The name of the Pygments (syntax highlighting) style to use.
75
- pygments_style = 'sphinx'
76
-
77
- # If true, `todo` and `todoList` produce output, else they produce nothing.
78
- todo_include_todos = False
79
-
80
-
81
- # -- Options for HTML output -------------------------------------------
82
-
83
- # The theme to use for HTML and HTML Help pages. See the documentation for
84
- # a list of builtin themes.
85
- #
86
- html_theme = 'alabaster'
87
-
88
- # Theme options are theme-specific and customize the look and feel of a
89
- # theme further. For a list of options available for each theme, see the
90
- # documentation.
91
- #
92
- # html_theme_options = {}
93
-
94
- # Add any paths that contain custom static files (such as style sheets) here,
95
- # relative to this directory. They are copied after the builtin static files,
96
- # so a file named "default.css" will overwrite the builtin "default.css".
97
- html_static_path = ['_static']
98
-
99
-
100
- # -- Options for HTMLHelp output ---------------------------------------
101
-
102
- # Output file base name for HTML help builder.
103
- htmlhelp_basename = 'learningmachinedoc'
104
-
105
-
106
- # -- Options for LaTeX output ------------------------------------------
107
-
108
- latex_elements = {
109
- # The paper size ('letterpaper' or 'a4paper').
110
- #
111
- # 'papersize': 'letterpaper',
112
-
113
- # The font size ('10pt', '11pt' or '12pt').
114
- #
115
- # 'pointsize': '10pt',
116
-
117
- # Additional stuff for the LaTeX preamble.
118
- #
119
- # 'preamble': '',
120
-
121
- # Latex figure (float) alignment
122
- #
123
- # 'figure_align': 'htbp',
124
- }
125
-
126
- # Grouping the document tree into LaTeX files. List of tuples
127
- # (source start file, target name, title, author, documentclass
128
- # [howto, manual, or own class]).
129
- latex_documents = [
130
- (master_doc, 'learningmachine.tex',
131
- 'learningmachine Documentation',
132
- 'T. Moudiki', 'manual'),
133
- ]
134
-
135
-
136
- # -- Options for manual page output ------------------------------------
137
-
138
- # One entry per manual page. List of tuples
139
- # (source start file, name, description, authors, manual section).
140
- man_pages = [
141
- (master_doc, 'learningmachine',
142
- 'learningmachine Documentation',
143
- [author], 1)
144
- ]
145
-
146
-
147
- # -- Options for Texinfo output ----------------------------------------
148
-
149
- # Grouping the document tree into Texinfo files. List of tuples
150
- # (source start file, target name, title, author,
151
- # dir menu entry, description, category)
152
- texinfo_documents = [
153
- (master_doc, 'learningmachine',
154
- 'learningmachine Documentation',
155
- author,
156
- 'learningmachine',
157
- 'One line description of project.',
158
- 'Miscellaneous'),
159
- ]
160
-
161
-
162
-
@@ -1 +0,0 @@
1
- .. include:: ../CONTRIBUTING.rst
@@ -1 +0,0 @@
1
- .. include:: ../HISTORY.rst
@@ -1,19 +0,0 @@
1
- Welcome to learningmachine's documentation!
2
- ======================================
3
-
4
- .. toctree::
5
- :maxdepth: 2
6
- :caption: Contents:
7
-
8
- readme
9
- installation
10
- usage
11
- modules
12
- contributing
13
- history
14
-
15
- Indices and tables
16
- ==================
17
- * :ref:`genindex`
18
- * :ref:`modindex`
19
- * :ref:`search`
@@ -1,51 +0,0 @@
1
- .. highlight:: shell
2
-
3
- ============
4
- Installation
5
- ============
6
-
7
-
8
- Stable release
9
- --------------
10
-
11
- To install learningmachine, run this command in your terminal:
12
-
13
- .. code-block:: console
14
-
15
- $ pip install learningmachine
16
-
17
- This is the preferred method to install learningmachine, as it will always install the most recent stable release.
18
-
19
- If you don't have `pip`_ installed, this `Python installation guide`_ can guide
20
- you through the process.
21
-
22
- .. _pip: https://pip.pypa.io
23
- .. _Python installation guide: http://docs.python-guide.org/en/latest/starting/installation/
24
-
25
-
26
- From sources
27
- ------------
28
-
29
- The sources for learningmachine can be downloaded from the `Github repo`_.
30
-
31
- You can either clone the public repository:
32
-
33
- .. code-block:: console
34
-
35
- $ git clone git://github.com/Techtonique/learningmachine
36
-
37
- Or download the `tarball`_:
38
-
39
- .. code-block:: console
40
-
41
- $ curl -OJL https://github.com/Techtonique/learningmachine/tarball/master
42
-
43
- Once you have a copy of the source, you can install it with:
44
-
45
- .. code-block:: console
46
-
47
- $ python setup.py install
48
-
49
-
50
- .. _Github repo: https://github.com/Techtonique/learningmachine
51
- .. _tarball: https://github.com/Techtonique/learningmachine/tarball/master
@@ -1,36 +0,0 @@
1
- @ECHO OFF
2
-
3
- pushd %~dp0
4
-
5
- REM Command file for Sphinx documentation
6
-
7
- if "%SPHINXBUILD%" == "" (
8
- set SPHINXBUILD=python -msphinx
9
- )
10
- set SOURCEDIR=.
11
- set BUILDDIR=_build
12
- set SPHINXPROJ=learningmachine
13
-
14
- if "%1" == "" goto help
15
-
16
- %SPHINXBUILD% >NUL 2>NUL
17
- if errorlevel 9009 (
18
- echo.
19
- echo.The Sphinx module was not found. Make sure you have Sphinx installed,
20
- echo.then set the SPHINXBUILD environment variable to point to the full
21
- echo.path of the 'sphinx-build' executable. Alternatively you may add the
22
- echo.Sphinx directory to PATH.
23
- echo.
24
- echo.If you don't have Sphinx installed, grab it from
25
- echo.http://sphinx-doc.org/
26
- exit /b 1
27
- )
28
-
29
- %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
30
- goto end
31
-
32
- :help
33
- %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
34
-
35
- :end
36
- popd
@@ -1 +0,0 @@
1
- .. include:: ../README.rst
@@ -1,7 +0,0 @@
1
- =====
2
- Usage
3
- =====
4
-
5
- To use learningmachine in a project::
6
-
7
- import learningmachine
File without changes