Changeset 101 for trunk/CrossPare/src/de/ugoe/cs
- Timestamp:
- 05/17/16 12:31:47 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CrossPare/src/de/ugoe/cs/cpdp/wekaclassifier/AbstractCODEP.java
r90 r101 72 72 throw new RuntimeException("classifier must be trained first, call to buildClassifier missing"); 73 73 } 74 Instances tmp = new Instances( instance.dataset());75 tmp. clear();74 Instances tmp = new Instances("tmp", internalAttributes, 1); 75 tmp.setClass(internalAttributes.get(internalAttributes.size() - 1)); 76 76 tmp.add(createInternalInstance(instance)); 77 77 return codepClassifier.classifyInstance(tmp.firstInstance());
Note: See TracChangeset
for help on using the changeset viewer.