Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Hi I've a question re Naive Bayes classifier and error I'm seeing
Ado_on_the_Wing
I hoped to run a Naive Bayes classifier on my simple dataset. I have 260 people records. There are ten independent attributes (about how people feel in wellness terms) and they're answered in simple binary form (unhappy = 1, otherwise =0) I have applied a class label to each of them, as in are they overall likely to be good next year or not. It's telling me the numerical label is not supported... Any help please? I'm only a newbie to this Community and also new to RapidMiner.. Thank you
Find more posts tagged with
AI Studio
Accepted answers
All comments
BalazsBaranyRM
Hi!
Naive Bayes in RapidMiner can only do classification. This means that your target (or label) attribute needs to be nominal (in this case binominal, having two possible nominal values). You can use
Numerical to Binominal
to change your attributes to the correct format. Or you could use
Generate Attributes
to change the numbers to the actual meaning:
if([attribute] == 1, "unhappy", "otherwise")
Naive Bayes will then work with the binominal label correctly.
Regards,
Balázs
Ado_on_the_Wing
Thank you for this and apologies for my delayed response. I'll revert asap with how I get on.
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups