A program to recognize and reward our most engaged community members
wessel wrote:Pressing F1 on the "Select Attribute"-operator gives: Select AttributesSynopsisThis operator allowes to select which attributes should be part of the resulting
wessel wrote:What you mean codes?You mean the script operator?Sure you can code it yourself, but why?What exactly you want to achieve?You want to find out good attribute subsets?Like sets containing two attributes?The forward selection operator can do that."This operator starts with an empty selection of attributes and, in each round, it adds each unused attribute of the given set of examples. For each added attribute, the performance is estimated using inner operators, e.g. a cross-validation. Only the attribute giving the highest increase of performance is added to the selection. Then a new round is started with the modified selection. "Or the Optimize Selection (Brute Force) operator.Selects the best features for an example set by trying all possible combinations of attribute selections.
int attributeNums=com.rapidminer.example.Tools.getRegularAttributeNames(exampleSet).length; for (int i = 0; i < attributeNums; i++) { for (int j = i+1; j < attributeNums; j++) { GmdhNode firstLayerNode=new GmdhNode(); //My question: how to use the i th and the j the attribute to form another exampleset or convert these two attributes to double[][]??? firstLayerNode.setNodeID(i); firstLayer.addNode(firstLayerNode); } }
exampleSet.getAttributes().regularAttributes();
// i goes from 0 to exampleSet.size()ex.getExampleTable().getDataRow(i).get(attribute);