8000 Added bullet point about inheritance · NicolasHug/scikit-learn@d4a04fd · GitHub
[go: up one dir, main page]

Skip to content

Commit d4a04fd

Browse files
committed
Added bullet point about inheritance
1 parent c0e934d commit d4a04fd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/developers/contributing.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,6 +1420,12 @@ easier and faster (in no particular order).
14201420
might just be the call the ``scipy.linalg.lstsq``, but it is buried into
14211421
multiple lines of input checking and the handling of different kinds of
14221422
parameters.
1423+
- Due to the use of `Inheritance
1424+
<https://en.wikipedia.org/wiki/Inheritance_(object-oriented_programming)>`_,
1425+
some methods may be implemented in parent classes. All estimators inherit
1426+
at least from ``BaseEstimator``, and from a ``Mixin`` class that enables
1427+
default behaviour depending on the nature of the estimator (classifier,
1428+
regressor, transformer, etc.).
14231429
- Sometimes, reading the tests for a given function will give you an idea of
14241430
what is its intended purpose. You can use ``git grep`` (see below) to find
14251431
all the tests written for a function.

0 commit comments

Comments
 (0)
0