Filtering Attributes with Weka

社会主义新天地 提交于 2020-01-04 01:59:09

问题


I have a simple question about filtering attributes in WEKA.

Let's say I have 500 attributes 30 classes and 100 samples for each class which equals 3000 rows and 500 columns. This causes time and memory problems a you can guess.

How do I filter attributes that occur only once or twice (or n times) in 3000 rows. And is it a good idea?

Thank you


回答1:


Use the following filter

weka.filters.unsupervised.attribute.RemoveUseless

This filter removes attributes that do not vary at all or that vary too much. All constant attributes are deleted automatically, along with any that exceed the maximum percentage of variance parameter.



来源:https://stackoverflow.com/questions/2927269/filtering-attributes-with-weka

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!