File tree Expand file tree Collapse file tree 4 files changed +1
-21
lines changed Expand file tree Collapse file tree 4 files changed +1
-21
lines changed Original file line number Diff line number Diff line change
1
+ Remove deprecation warnings for ``CRFEntityExtractor `` and ``SklearnIntentClassifier ``.
Original file line number Diff line number Diff line change @@ -676,10 +676,6 @@ MitieIntentClassifier
676
676
SklearnIntentClassifier
677
677
~~~~~~~~~~~~~~~~~~~~~~~
678
678
679
- .. warning ::
680
- ``SklearnIntentClassifier `` is deprecated and should be replaced by ``DIETClassifier ``. See
681
- :ref: `migration guide <migration-to-rasa-1.8 >` for more details.
682
-
683
679
:Short: Sklearn intent classifier
684
680
:Outputs: ``intent `` and ``intent_ranking ``
685
681
:Requires: ``dense_features `` for user messages
@@ -1267,10 +1263,6 @@ CRFEntityExtractor
1267
1263
.. note ::
1268
1264
If "pattern" features are used, you need to have ``RegexFeaturizer `` in your pipeline.
1269
1265
1270
- .. warning ::
1271
- ``CRFEntityExtractor `` is deprecated and should be replaced by ``DIETClassifier ``. See
1272
- :ref: `migration guide <migration-to-rasa-1.8 >` for more details.
1273
-
1274
1266
:Configuration:
1275
1267
``CRFEntityExtractor `` has a list of default features to use.
1276
1268
However, you can overwrite the default configuration.
Original file line number Diff line number Diff line change @@ -65,13 +65,6 @@ def __init__(
65
65
self .le = LabelEncoder ()
66
66
self .clf = clf
67
67
68
- common_utils .raise_warning (
69
- "'SklearnIntentClassifier' is deprecated and will be removed in version "
70
- "2.0. Use 'DIETClassifier' instead." ,
71
- category = FutureWarning ,
72
- docs = DOCS_URL_MIGRATION_GUIDE ,
73
- )
74
-
75
68
@classmethod
76
69
def required_packages (cls ) -> List [Text ]:
77
70
return ["sklearn" ]
Original file line number Diff line number Diff line change @@ -114,12 +114,6 @@ def __init__(
114
114
115
115
self ._validate_configuration ()
116
116
117
- common_utils .raise_warning (
118
- "'CRFEntityExtractor' is deprecated and will be removed in version "
119
- "2.0. Use 'DIETClassifier' instead." ,
120
- docs = DOCS_URL_MIGRATION_GUIDE ,
121
- )
122
-
123
117
def _validate_configuration (self ) -> None :
124
118
if len (self .component_config .get ("features" , [])) % 2 != 1 :
125
119
raise ValueError (
You can’t perform that action at this time.
0 commit comments