spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiangrui Meng (JIRA)" <>
Subject [jira] [Commented] (SPARK-15027) ALS.train should use DataFrame instead of RDD
Date Tue, 03 May 2016 18:00:16 GMT


Xiangrui Meng commented on SPARK-15027:

Ah, I see the problems now. We do need the hash partitioner to accelerate queries from the
driver and probably joins. What if we convert the factors using `repartition(blocks, "id")`
before we return the factors? It should come with a hash partitioner, but it might be different
from the one we used in ALS. #2 seems like a bug. Could you provide a minimal example that
can reproduce it?

Given the pending issues, it seems that we should target this to 2.1. Sounds good?

> ALS.train should use DataFrame instead of RDD
> ---------------------------------------------
>                 Key: SPARK-15027
>                 URL:
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, PySpark
>    Affects Versions: 2.0.0
>            Reporter: Xiangrui Meng
> We should also update `ALS.train` to use `Dataset/DataFrame` instead of `RDD` to be consistent
with other APIs under and it also leaves space for Tungsten-based optimization.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message