Options

"[SOLVED] Trouble writing results to database"

jabejabe Member Posts: 3 Contributor I
edited June 2019 in Help
Hello everyone,

I am using Rapidminer to classify text with naive bayes. So far everything works fine, but I am having troubles saving the labeled data to a mysql database. I get an error message "Database error occured: Too many columns"

I think the reason for this is that the Data Table (output of "Apply Model") still consits of the word matrix. Is there any chance of getting rid of it and only save the classified lables?

Thanks for your help

Best,
Jabe
Tagged:

Answers

  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,509 RM Data Scientist
    Use Select Attributes, choose all and invert the filter. That way you only get special attributes like id and prediction

    ~Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • Options
    jabejabe Member Posts: 3 Contributor I
    thanks for your help Martin, it works perfectly.
Sign In or Register to comment.