Using GCP services list and classify text based on categories

Similarly, we can also make use of the API to classify text according to different categories. The steps to implement this technique are as follows:

  1. Input the text (in .csv format)
  2. Query the text based on category
  3. Test-split the labels based on category
  4. Test the similarity including empty categories
  5. Classify the text

Get Cloud Analytics with Google Cloud Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.