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

Bryan Cutler commented on SPARK-8400:
-------------------------------------

No problem!  It does LocalIndexEncoder once training is started and after some 
data operations, so you are right that it is probably better to make this check 
earlier.  I'll submit a PR on 1.3 for this.

> ml.ALS doesn't handle -1 block size
> -----------------------------------
>
>                 Key: SPARK-8400
>                 URL: https://issues.apache.org/jira/browse/SPARK-8400
>             Project: Spark
>          Issue Type: Bug
>          Components: ML
>    Affects Versions: 1.3.1
>            Reporter: Xiangrui Meng
>            Assignee: Bryan Cutler
>
> Under spark.mllib, if number blocks is set to -1, we set the block size 
> automatically based on the input partition size. However, this behavior is 
> not preserved in the spark.ml API. If user sets -1 in Spark 1.3, it will not 
> work, but no error messages will show.



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

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

Reply via email to