flink-issues 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] (FLINK-2297) Add threshold setting for SVM binary predictions
Date Tue, 30 Jun 2015 13:08:05 GMT

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

ASF GitHub Bot commented on FLINK-2297:
---------------------------------------

GitHub user thvasilo opened a pull request:

    https://github.com/apache/flink/pull/874

    [FLINK-2297] [ml] Add threshold setting for SVM binary predictions

    Currently SVM outputs the raw decision function values when using the predict function.
    
    We should have instead the ability to set a threshold above which examples are labeled
as positive (1.0) and below negative (-1.0). Then the prediction function can be directly
used for evaluation.
    
    This provides that functionality, as well as the ability to provide the raw decision function
values.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/thvasilo/flink svm-threshold

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/874.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #874
    
----
commit 279f12a6031f9d7b73e6b69303ae44627df4c401
Author: Theodore Vasiloudis <tvas@sics.se>
Date:   2015-06-30T12:49:03Z

    Added parameters argument to PredictOperation predict function.

commit 1cea7a9a71ba04b6a9433789c0787112c7a24084
Author: Theodore Vasiloudis <tvas@sics.se>
Date:   2015-06-30T12:59:57Z

    Made the type parameter for Parameter to be covariant.

commit 00cf902d1481d698648abe6f037583d8d543fa53
Author: Theodore Vasiloudis <tvas@sics.se>
Date:   2015-06-30T13:00:49Z

    Added Threshold option for SVM, to determine which predictions are positive/negative.

----


> Add threshold setting for SVM binary predictions
> ------------------------------------------------
>
>                 Key: FLINK-2297
>                 URL: https://issues.apache.org/jira/browse/FLINK-2297
>             Project: Flink
>          Issue Type: Improvement
>          Components: Machine Learning Library
>            Reporter: Theodore Vasiloudis
>            Priority: Minor
>              Labels: ML
>             Fix For: 0.10
>
>
> Currently SVM outputs the raw decision function values when using the predict function.
> We should have instead the ability to set a threshold above which examples are labeled
as positive (1.0) and below negative (-1.0). Then the prediction function can be directly
used for evaluation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message