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

    https://github.com/apache/spark/pull/1878#discussion_r16153416
  
    --- Diff: python/pyspark/mllib/linalg.py ---
    @@ -160,6 +161,15 @@ def squared_distance(self, other):
                     j += 1
                 return result
     
    +    def toDense(self):
    --- End diff --
    
    ------------------ 原始邮件 ------------------
      发件人: "Xiangrui Meng";<notificati...@github.com>;
     发送时间: 2014年8月12日(星期二) 中午12:08
     收件人: "apache/spark"<sp...@noreply.github.com>; 
     
     主题: Re: [spark] [SPARK-2850] [mllib] MLlib stats examples + small 
fixes(#1878)
    
     
    
     
    In python/pyspark/mllib/linalg.py:
    > @@ -160,6 +161,15 @@ def squared_distance(self, other): >                 
 j += 1 >              return result >   > +    def toDense(self):  
    toDense -> toArray (compatible with Scala API)?
     
    —
    Reply to this email directly or view it on GitHub.


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

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to