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 9cf9e9f commit f21f64aCopy full SHA for f21f64a
sklearn/feature_extraction/dict_vectorizer.py
@@ -50,6 +50,15 @@ class DictVectorizer(BaseEstimator, TransformerMixin):
50
Whether transform should produce scipy.sparse matrices.
51
True by default.
52
53
+ Attributes
54
+ ----------
55
+ `feature_names_` : list
56
+ A list of length n_features containing the feature names (e.g., "f=ham"
57
+ and "f=spam").
58
+
59
+ `vocabulary_` : dict
60
+ A dictionary mapping feature names to feature indices.
61
62
Examples
63
--------
64
>>> from sklearn.feature_extraction import DictVectorizer
0 commit comments