Examtopics

Professional Machine Learning Engineer
  • Topic 1 Question 254

    You are working on a prototype of a text classification model in a managed Vertex AI Workbench notebook. You want to quickly experiment with tokenizing text by using a Natural Language Toolkit (NLTK) library. How should you add the library to your Jupyter kernel?

    • Install the NLTK library from a terminal by using the pip install nltk command.

    • Write a custom Dataflow job that uses NLTK to tokenize your text and saves the output to Cloud Storage.

    • Create a new Vertex AI Workbench notebook with a custom image that includes the NLTK library.

    • Install the NLTK library from a Jupyter cell by using the !pip install nltk --user command.


    シャッフルモード