Sentiment analysis with Python

Поділитися
Вставка
  • Опубліковано 21 тра 2023
  • This tutorial showcases sentiment analysis with Scikit-Learn and other Python library and packages for educational use. We will test the accuracy of different models and use the most accurate one against our Yelp dataset to determine users' sentiment towards a specific restaurant.

КОМЕНТАРІ • 2

  • @farhad6261
    @farhad6261 7 місяців тому

    Your code is incomplete, and in your video, you did not discuss the process of converting words into a vector explicitly. Specifically, you provided code to print the length of the vocabulary (len(vocab.vocabulary_)), but you didn't show where the variable vocab was fitted on the training data before attempting to use vocab.transform(x). This sequence of fitting the vectorizer and then transforming new data was not clearly explained in the video.

    • @gtlibrary
      @gtlibrary  7 місяців тому

      I'm sorry about that. Would you like to speak to Raven Davis, our data scientist?