[
https://issues.apache.org/jira/browse/MAHOUT-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13991363#comment-13991363
]
Dmitriy Lyubimov commented on MAHOUT-1490:
------------------------------------------
let's go one by one, shall we.
I suggest to do this in phases. First phase is to create support of in-core
data frames with dsl. Second phase is to create a distributed version of the
same which will operate on vertical blocks of data frame just like it has been
done with DRMs.
I've set up github branch
https://github.com/dlyubimov/mahout-commits/tree/MAHOUT-1490 for this and
committed some quick test.
I manage to capture LHS (left hand side) objects that capture RHS as closures
(don't actually run them). Best thing about it is since RHS is a scala closure,
all scala closure capabilities can be used there. Here how it looks like in the
test initially:
{code}
val selectedFrame = testFrame.mutate(
"ACol" := col("5") + col("4"),
"BCol" := col("AAA") + 3
)
{code}
> Data frame R-like bindings
> --------------------------
>
> Key: MAHOUT-1490
> URL: https://issues.apache.org/jira/browse/MAHOUT-1490
> Project: Mahout
> Issue Type: New Feature
> Reporter: Saikat Kanjilal
> Assignee: Dmitriy Lyubimov
> Fix For: 1.0
>
> Original Estimate: 20h
> Remaining Estimate: 20h
>
> Create Data frame R-like bindings for spark
--
This message was sent by Atlassian JIRA
(v6.2#6252)