I want to use naive Bayes to do text analysis and prediction, but this always happens. how to solve

Liu
Liu New Altair Community Member
edited November 5 in Community Q&A

Answers

  • Liu
    Liu New Altair Community Member
    after that i used the "nominal to txt"to change the role of the targer resource,but it doesn't work ,
  • BalazsBarany
    BalazsBarany New Altair Community Member
    Hi!

    You should also use "Nominal to Text" in the preprocessing chain of the scoring data. Also, it's a good idea to connect the Wordlist output of the first Process Documents to the Wordlist input of the seconds. This ensures that all the attributes expected by the model are there.

    Regards,
    Balázs