We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 988f882 commit 9f43de3Copy full SHA for 9f43de3
doc/glossary.rst
@@ -89,6 +89,13 @@ General Concepts
89
:term:`feature_importances_`.
90
Common attributes are listed :ref:`below <glossary_attributes>`.
91
92
+ A public attribute may have the same name as a constructor
93
+ :term:`parameter`, with a ``_`` appended. This is used to store a
94
+ validated or estimated version of the user's input. For example,
95
+ :class:`decomposition.PCA` is constructed with an ``n_components``
96
+ parameter. From this, together with other parameters and the data,
97
+ PCA estimates the attribute ``n_components_``.
98
+
99
Further private attributes used in prediction/transformation/etc. may
100
also be set when fitting. These begin with a single underscore and are
101
not assured to be stable for public access.
0 commit comments