C2W3 Assignment - Problem with DatasetMetadata

The cell labeled “# Test your preprocessing_fn” contains the following assignment:

raw_data_metadata = dataset_metadata.DatasetMetadata(schema_utils.schema_from_feature_spec(feature_description))

However “dataset_metadata” doesn’t seem to be defined anywhere. I wonder if I’ve accidentally deleted any cell where it was supposed to be defined.

Please follow these steps to refresh your workspace