forked from scikit-learn/scikit-learn
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MRG+2] DOC framework for keeping API refs for deprecated classes/fun…
…cs (scikit-learn#7725) * DOC framework for keeping API refs for deprecated classes/funcs * DOC tagging deprecated for 0.20 * suggestion for LDA/QDA deprecation * simplify deprecation message for GaussianProcess * simplify deprecation messages * fixup avoid import QuadraticDiscriminantAnalysis in qda.QDA (and similar for LDA). * fixup test alias lda.LDA is instance of LinearDiscriminantAnalysis
- Loading branch information
1 parent
4ae1013
commit 6e50c8f
Showing
19 changed files
with
336 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
:mod:`{{module}}`.{{objname}} | ||
{{ underline }}============== | ||
|
||
.. meta:: | ||
:robots: noindex | ||
|
||
.. warning:: | ||
**DEPRECATED** | ||
|
||
|
||
.. currentmodule:: {{ module }} | ||
|
||
.. autoclass:: {{ objname }} | ||
|
||
{% block methods %} | ||
.. automethod:: __init__ | ||
{% endblock %} | ||
|
||
.. include:: {{module}}.{{objname}}.examples | ||
|
||
.. raw:: html | ||
|
||
<div class="clearer"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
:mod:`{{module}}`.{{objname}} | ||
{{ underline }}=============== | ||
|
||
.. meta:: | ||
:robots: noindex | ||
|
||
.. warning:: | ||
**DEPRECATED** | ||
|
||
|
||
.. currentmodule:: {{ module }} | ||
|
||
.. autoclass:: {{ objname }} | ||
|
||
{% block methods %} | ||
.. automethod:: __init__ | ||
.. automethod:: __call__ | ||
{% endblock %} | ||
|
||
.. include:: {{module}}.{{objname}}.examples | ||
|
||
.. raw:: html | ||
|
||
<div class="clearer"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
:mod:`{{module}}`.{{objname}} | ||
{{ underline }}============== | ||
|
||
.. meta:: | ||
:robots: noindex | ||
|
||
.. warning:: | ||
**DEPRECATED** | ||
|
||
|
||
.. currentmodule:: {{ module }} | ||
|
||
.. autoclass:: {{ objname }} | ||
|
||
.. include:: {{module}}.{{objname}}.examples | ||
|
||
.. raw:: html | ||
|
||
<div class="clearer"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
:mod:`{{module}}`.{{objname}} | ||
{{ underline }}==================== | ||
|
||
.. meta:: | ||
:robots: noindex | ||
|
||
.. warning:: | ||
**DEPRECATED** | ||
|
||
|
||
.. currentmodule:: {{ module }} | ||
|
||
.. autofunction:: {{ objname }} | ||
|
||
.. include:: {{module}}.{{objname}}.examples | ||
|
||
.. raw:: html | ||
|
||
<div class="clearer"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
for f in [^d]*; do (head -n2 < $f; echo ' | ||
.. meta:: | ||
:robots: noindex | ||
.. warning:: | ||
**DEPRECATED** | ||
'; tail -n+3 $f) > deprecated_$f; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.