Libraryless. Click here for Pure Java version (2662L/17K).
svoid <A> classifier_testLabels(ILearningClassifier<A> c, Map<A, Cl<S>> data) { if (data != null) for (A obj, Cl<S> labels : data) assertEqualsVerbose(asCISet(labels), asCISet(c.confidentlyPredictedLabelsForObject(obj))); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028054 |
| Snippet name: | classifier_testLabels |
| Eternal ID of this version: | #1028054/2 |
| Text MD5: | a5847339f515c3bbbabc956743e8a2cb |
| Transpilation MD5: | 78c8d4ade09b18baa25d9996446ac770 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-05-14 14:59:31 |
| Source code size: | 239 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 398 / 538 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |