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

ASF GitHub Bot commented on MAHOUT-1895:
----------------------------------------

Github user dlyubimov commented on the issue:

    https://github.com/apache/mahout/pull/262
  
    Another though i had, if you feel strongly going about toMap, toSeq, 
toArray method support, perhaps you could group it into a separate decorator 
implementation, similar to JavaCollections._ approach ((say `import 
MahoutCollections._`), , so that it can be invoked only when needed, but is 
cleanly separated from the algebra dialects (which are enabled by `import 
RlikeOps._`). In other words, i don't what RlikeOps to enable this by default.
    



> Add convenience methods for converting Vectors to Scala types
> -------------------------------------------------------------
>
>                 Key: MAHOUT-1895
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1895
>             Project: Mahout
>          Issue Type: Bug
>    Affects Versions: 0.12.2
>            Reporter: Trevor Grant
>            Assignee: Trevor Grant
>            Priority: Minor
>             Fix For: 0.13.0
>
>
> While dense and sparse vectors may be created from `TraversableOnce[Double]` 
> such as `Array[Double]` and `TraversableOnce[(Int, AnyVal)]` such as 
> `Map[Int,Double]` respectively. Converting back into this format is somewhat 
> tedious.  We should add convenience methods to take care of this. 



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

Reply via email to