I got NameError: name 'featurizer' is not defined how to solve this issue

from future import absolute_import from future import division from future import unicode_literals

import logging

from rasa_core.agent import Agent from rasa_core.policies.keras_policy import KerasPolicy from rasa_core.policies.memoization import MemoizationPolicy

if name == ‘main’: logging.basicConfig(level=‘INFO’)

training_data_file = './data/stories.md'
model_path = './models/dialogue'

agent = Agent('weather_domain.yml', policies = [MemoizationPolicy(max_history = 5), KerasPolicy(featurizer)])

		augmentation_factor = 50,
		max_history = 5,
		epochs = 500,
		batch_size = 10,
		validation_split = 0.2)

Can you please post your used Core version, and the full stack trace?

I have the same problem. Please help with the issue

I ran into the same problem. Since I couldn’t find anything on the internet, I took a closer look at Justina’s GitHub and tried it out for myself with the help of her files. This worked for me: GitHub Issue #Post8