Github user mgrzenda commented on a diff in the pull request:
https://github.com/apache/incubator-samoa/pull/61#discussion_r125294562
--- Diff:
samoa-api/src/main/java/org/apache/samoa/evaluation/BasicClassificationPerformanceEvaluator.java
---
@@ -111,6 +125,38 @@ public void addResult(Instance inst, double[]
classVotes) {
}
+ /**
+ * This method is used to retrieve predictions and votes (for
classification only)
+ *
+ * @return String This returns an array of predictions and votes objects.
+ */
+ @Override
+ public Vote[] getPredictionVotes() {
--- End diff --
This has been modified. Assuming two classes in classification task (binary
classification) there were ca. 5 objects created per every processed instance.
Anyway, now these objects are reused. Similar solution exists for measurements.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---