@@ -131,17 +131,19 @@ Input Feature Names
131
131
The input feature names are stored in a fitted estimator in a
132
132
``feature_names_in_ `` attribute, and are taken from the given input data, for
133
133
instance a ``pandas `` data frame. This attribute will be ``None `` if the input
134
- provides no feature names.
134
+ provides no feature names. The ``feature_names_in_ `` attribute is a 1d NumPy
135
+ array with object dtype and all elements in the array are strings.
135
136
136
137
Output Feature Names
137
138
####################
138
139
139
140
A fitted estimator exposes the output feature names through the
140
- ``get_feature_names_out `` method. Here we discuss more in detail how these
141
- feature names are generated. Since for most estimators there are multiple ways
142
- to generate feature names, this SLEP does not intend to define how exactly
143
- feature names are generated for all of them. It is instead a guideline on how
144
- they could generally be generated.
141
+ ``get_feature_names_out `` method. The output of ``get_feature_names_out `` is a
142
+ 1d NumPy array with object dtype and all elements in the array are strings. Here
143
+ we discuss more in detail how these feature names are generated. Since for most
144
+ estimators there are multiple ways to generate feature names, this SLEP does not
145
+ intend to define how exactly feature names are generated for all of them. It is
146
+ instead a guideline on how they could generally be generated.
145
147
146
148
As detailed bellow, some generated output features names are the same or a
147
149
derived from the input feature names. In such cases, if no input feature names
0 commit comments