Search found 2 matches

by xchi
Wed Aug 13, 2014 7:21 pm
Forum: SMILE
Topic: discretize data to learning naivebayes
Replies: 2
Views: 6956

Re: discretize data to learning naivebayes

thank you so much. I used DSL_dataset::discretize, and it was so much easier!
by xchi
Thu Aug 07, 2014 2:59 am
Forum: SMILE
Topic: discretize data to learning naivebayes
Replies: 2
Views: 6956

discretize data to learning naivebayes

Hi there,

I have discretized my columns of variables (except for the last column, which is already discrete since it is my class variable) from my dataset d.
for example, for the first two columns of d:

floatData = d.GetFloatData(0);
DSL_discretizer disc0 = floatData;
disc0.Discretize(DSL ...