File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,13 @@ General Concepts
89
89
:term: `feature_importances_ `.
90
90
Common attributes are listed :ref: `below <glossary_attributes >`.
91
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
+
92
99
Further private attributes used in prediction/transformation/etc. may
93
100
also be set when fitting. These begin with a single underscore and are
94
101
not assured to be stable for public access.
You can’t perform that action at this time.
0 commit comments