naive bayes weights
k_vishnu772
Member Posts: 34 Contributor I
Hi All
I am using naive bayes alogirthm for my classification problem.I would like to know the most influential parameters in my input features.Could you please help me how to extract the weights from naive bayes.
Regard,
Vishnu
Tagged:
0
Best Answer

Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn
It would be the difference between "valid" and "not valid" (which I assume are your two classes). Note that your model input attributes should be normalized first in order to make this comparison if they are numerical.
0
Answers
In the NB model output, there is a distribution table with the values for your classes. Take the difference of those classes, and the ones with the largest difference generally have the highest weights.
You can also use the new "Explain Predictions" operator to explore more specifically the significant factors for individual cases and get a sense of model sensitivity. That operator has a tutorial process available to understand how to use it.
If you have access to Auto Model, that also has a dynamic interface for exploring model factors.
Lindon Ventures
Data Science Consulting from Certified RapidMiner Experts
@Telcontar120 it is binary classification problem.For each categorical variables values i got some numbers as you can see in the attached screen shot. which values i neet to use for calculation?
@Telcontar120 it is binary classification problem.For each categorical variables values i got some numbers as you can see in the attached screen shot. which values i need to use for calculation?