Hi, guys,
I encountered a very weird question on Naive Bayes viewer, that is : one of the attributes does not appeared in Naive Bayes viewer? The original attribute data type is int data type, but then within the mining structure, I change it to discrete with Text as its data type. But the problem is after I trained the model, on the naive bayes viewer, that attribute does not appear at all? Why is that?
I have set the dependency value to be very low to enable all attributes to appear. But only that attribute got the problem?
I am looking forward to hearing from you shortly and thanks a lot in advance.
With best regards,
Yours sincerely
When you change a column's content type or data type (e.g from Integer to Text), BI Developer Studio might mark the column as Ignorable in the mining models that use it.
Could this be the issue you are seeing?
|||No, the column is still labelled as input.
|||Was there a specific reason you needed to change the data type to Text? As far as the model is concerned, there's no difference between text and int for discrete attributes.|||
Hi, Raman,
Thank you very much.
I think I know what you mean now, set the content type to be discrete, but the data type remains as Int? As when I left the data type as Int and content type as Continuous, the model treated all the data as continous. Is that right? Thank you.
With best regards,
Yours sincerely,
|||Correct - if you want ints to be treated as discrete, you just need to make sure that the content type is set correctly (to Discrete or Discretized).|||
Hi, Raman,
Thanks.
With best regards,
Yours sincerely,
No comments:
Post a Comment