samoa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SAMOA-68) Saving true and predicted labels to file
Date Mon, 03 Jul 2017 14:03:00 GMT

    [ https://issues.apache.org/jira/browse/SAMOA-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16072485#comment-16072485
] 

ASF GitHub Bot commented on SAMOA-68:
-------------------------------------

Github user mgrzenda commented on a diff in the pull request:

    https://github.com/apache/incubator-samoa/pull/61#discussion_r125296554
  
    --- Diff: samoa-api/src/main/java/org/apache/samoa/moa/evaluation/LearningCurve.java ---
    @@ -40,8 +41,12 @@
     
       protected List<String> measurementNames = new ArrayList<String>();
     
    +  protected List<String> voteNames = new ArrayList<String>();
    +
       protected List<double[]> measurementValues = new ArrayList<double[]>();
     
    +  protected List<String> voteValues = new ArrayList<String>();
    --- End diff --
    
    The list does not grow indefinitely. It is pruned in setVote() method


> Saving true and predicted labels to file
> ----------------------------------------
>
>                 Key: SAMOA-68
>                 URL: https://issues.apache.org/jira/browse/SAMOA-68
>             Project: SAMOA
>          Issue Type: New Feature
>          Components: SAMOA-API
>            Reporter: Maciej Grzenda
>              Labels: features
>
> Currently PrequentialEvaluation task supports dumpFile option.  With this option model
performance can be saved to a file. However, in some cases it would be good to save also individual
predictions made by a model.  This is useful for model debugging and method development.
> This could be also used to visualize model output, calculate custom performance indicators
(e.g. model accuracy for instances of a certain class or sharing the same feature value).
 Such saving of model output (if done) should be made for every instance. Hence, a new option
making it possible to dump predictions to a separate file seems justified.  For classification,
it should include votes made for individual classes, if available.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message