SklearnIntentClassifier rasa 3.0

file config

language: vi

pipeline:

-name: “SklearnIntentClassifier”

C: [1, 2, 5, 10, 20, 100]

kernels: [“linear”].

“gamma”: [0.1]

“max_cross_validation_folds”: 5

“scoring_function”: “f1_weighted”

When running, error.

raise GraphSchemaValidationException( rasa.engine.exceptions.GraphSchemaValidationException: 1 components are missing required components which have to run before themselves: The following components require a DenseFeaturizer: train_SklearnIntentClassifier0. Please add the required components to your model configuration.

Help me fix this error. Thanks.

pipeline:

name: “SpacyNLP”

model: “vi_core_news_lg”

case_sensitive: False

name: “SpacyTokenizer”

name: “SpacyFeaturizer” pooling: mean

name: RegexFeaturizer

name: LexicalSyntacticFeaturizer

name: CountVectorsFeaturizer

name: CountVectorsFeaturizer

analyzer: “char_wb”

min_ngram: 1

max_ngram: 4

name: “CRFEntityExtractor”

name: “classifiers.sklearn_intent_classifier.SklearnIntentClassifier”

C: [1, 2, 5, 10, 20, 100]

kernel: “linear”

and it works.