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