You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alexander Pivovarov (JIRA)" <ji...@apache.org> on 2015/02/03 07:03:34 UTC

[jira] [Updated] (HIVE-9557) create UDF to measure strings similarity using Cosine Similarity algo

     [ https://issues.apache.org/jira/browse/HIVE-9557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Pivovarov updated HIVE-9557:
--------------------------------------
    Summary: create UDF to measure strings similarity using Cosine Similarity algo  (was: Create Cosine Similarity UDF)

> create UDF to measure strings similarity using Cosine Similarity algo
> ---------------------------------------------------------------------
>
>                 Key: HIVE-9557
>                 URL: https://issues.apache.org/jira/browse/HIVE-9557
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>            Reporter: Alexander Pivovarov
>            Assignee: Alexander Pivovarov
>
> algo description http://en.wikipedia.org/wiki/Cosine_similarity
> {code}
> --one word different, total 2 words
> str_sim_cosine("Test String1", "Test String2") = (2 -1) / 2 = 0.5f
> {code}



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