/** * Deletes all string attributes in the dataset. A deep copy of the attribute * information is performed before an attribute is deleted. * * @throws IllegalArgumentException if string attribute couldn't be * successfully deleted (probably because it is the class * attribute). * @see #deleteAttributeType(int) */ public void deleteStringAttributes() { deleteAttributeType(Attribute.STRING); }
/** * Deletes all string attributes in the dataset. A deep copy of the attribute * information is performed before an attribute is deleted. * * @throws IllegalArgumentException if string attribute couldn't be * successfully deleted (probably because it is the class * attribute). * @see #deleteAttributeType(int) */ public void deleteStringAttributes() { deleteAttributeType(Attribute.STRING); }
@Override public void deleteAttributeType(int attType) { super.deleteAttributeType(attType); }
/** * Called by JUnit before each test method. This implementation creates * the default filter to test and loads a test set of Instances. * * @throws Exception if an error occurs reading the example instances. */ protected void setUp() throws Exception { super.setUp(); m_Instances.deleteAttributeType(Attribute.STRING); m_Instances.deleteAttributeType(Attribute.RELATIONAL); }
/** * Called by JUnit before each test method. This implementation creates * the default filter to test and loads a test set of Instances. * * @throws Exception if an error occurs reading the example instances. */ protected void setUp() throws Exception { super.setUp(); m_Instances.deleteAttributeType(Attribute.STRING); m_Instances.deleteAttributeType(Attribute.RELATIONAL); }
/** * Called by JUnit before each test method. This implementation creates * the default filter to test and loads a test set of Instances. * * @throws Exception if an error occurs reading the example instances. */ protected void setUp() throws Exception { super.setUp(); m_Instances.deleteAttributeType(Attribute.STRING); m_Instances.deleteAttributeType(Attribute.RELATIONAL); }
/** * Called by JUnit before each test method. This implementation creates * the default filter to test and loads a test set of Instances. * * @throws Exception if an error occurs reading the example instances. */ protected void setUp() throws Exception { super.setUp(); m_Instances.deleteAttributeType(Attribute.STRING); m_Instances.deleteAttributeType(Attribute.RELATIONAL); }
protected void setUp() throws Exception { super.setUp(); m_Instances.deleteAttributeType(Attribute.STRING); m_Instances.deleteAttributeType(Attribute.DATE); m_FilteredClassifier = null; m_Instances.setClassIndex(0); }
protected void setUp() throws Exception { super.setUp(); m_Instances.deleteAttributeType(Attribute.STRING); m_Instances.deleteAttributeType(Attribute.DATE); m_FilteredClassifier = null; m_Instances.setClassIndex(0); }
/** * Need to remove non-numeric attributes. * * @throws Exception if something goes wrong in setup */ protected void setUp() throws Exception { super.setUp(); m_Instances.deleteAttributeType(Attribute.STRING); // class index m_Instances.setClassIndex(1); }
/** Need to remove string attributes, set class index */ protected void setUp() throws Exception { super.setUp(); m_Instances.deleteAttributeType(Attribute.STRING); // class index m_Instances.setClassIndex(1); }
/** * Called by JUnit before each test method. This implementation creates * the default filter to test and loads a test set of Instances. * * @throws Exception if an error occurs reading the example instances. */ protected void setUp() throws Exception { super.setUp(); m_Instances.deleteAttributeType(Attribute.STRING); m_Instances.setClassIndex(0); }
/** * Called by JUnit before each test method. This implementation creates * the default filter to test and loads a test set of Instances. * * @throws Exception if an error occurs reading the example instances. */ protected void setUp() throws Exception { super.setUp(); m_Instances.deleteAttributeType(Attribute.STRING); m_Instances.setClassIndex(0); }
/** Need to remove string attributes, set class index */ protected void setUp() throws Exception { super.setUp(); m_Instances.deleteAttributeType(Attribute.STRING); // class index m_Instances.setClassIndex(1); }
/** * Need to remove non-numeric attributes. * * @throws Exception if something goes wrong in setup */ protected void setUp() throws Exception { super.setUp(); m_Instances.deleteAttributeType(Attribute.STRING); // class index m_Instances.setClassIndex(1); }
/** * Called by JUnit before each test method. * <p/> * Removes all the string attributes and sets the first attribute as class * attribute. * * @throws Exception if an error occurs reading the example instances. */ @Override protected void setUp() throws Exception { super.setUp(); m_Instances.deleteAttributeType(Attribute.STRING); m_Instances.setClassIndex(0); }
/** * Called by JUnit before each test method. * <p/> * Removes all the string attributes and sets the first attribute as class * attribute. * * @throws Exception if an error occurs reading the example instances. */ @Override protected void setUp() throws Exception { super.setUp(); m_Instances.deleteAttributeType(Attribute.STRING); m_Instances.setClassIndex(0); }