Showing posts with label Data mining. Show all posts
Showing posts with label Data mining. Show all posts

Thursday, September 7, 2006

Usage on Weka Attribute Filter

I seldom use Weka, but just reminded me some work I did years ago...





AttributeFilter af = new AttributeFilter();
int i[] = {1,2,3};
af.setAttributeIndicesArray(i);
af.setInputFormat(data);
Instances ins = Filter.useFilter(data,af);
System.out.println(ins);



Upgrade nodejs in conda (from v18 to v26)

If your conda env is nodejs v18, doing a conda install nodejs=26 is likely to create a lot of conflict. Consider remove those conflicting p...