C3W2 Expected output

In the preprocess data, basically there are 3 call arguments already assigned for this grade cell.

one is dataset for you to preprocess
next text_vectorizer which is function recall to convert your text data into vector
and lastly label_encoder which you recalled in the previous grade cell will be used to encode data labels here in this cell, preparing your preprocess data to be model trained.

You need to define this in single code line using map keys( ) to the argument dataset.

Hope this resolves your issue as per our DM discussion.

Feel free to ask if more doubts.

Keep Learning!!!
Regards
DP

1 Like