开发者

In WEKA, can I roundup a range after discretization?

I have a numeric type attribute, and I discretized it into 6 bins.

But, after discretization, the range looks like (3.663336-4.325577]

If I want it to be roundup or looked like (开发者_C百科3.7-4.3] what should I do?

Thanks.


I don't think there's any way to round to one decimal place through Weka. However, the MathExpression filter provides ceil and floor operations, as well as multiplication and division. This means that before discretization you could run a series of MathExpression filters to get the values you're after. See this page for some example usage.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜