You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by ChristophAl <gi...@git.apache.org> on 2015/06/29 10:14:29 UTC

[GitHub] flink pull request: [FLINK-1735] Feature Hasher

Github user ChristophAl commented on the pull request:

    https://github.com/apache/flink/pull/665#issuecomment-116517528
  
    Hi,
    
    after I rebased it on master and implemented the new pipeline interface, I have some followup questions regarding the types we should accept for feature hashing.
    
    I can think of Iterable[String] and Iterable[(String, Int)] for documents as well as (Int, Iterable[String]) and (Int, Iterable[(String, Int)]) for documents having some kind of index. So I'm not sure if it is required to hash arbitrary types by using .hashcode()?
    Also note, in case the nonNegative parameter is set to true, the output can be used as TF in TF-IDF.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---