spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiangrui Meng (JIRA)" <>
Subject [jira] [Resolved] (SPARK-5956) Transformer/Estimator should be copyable.
Date Mon, 04 May 2015 18:30:06 GMT


Xiangrui Meng resolved SPARK-5956.
       Resolution: Fixed
    Fix Version/s: 1.4.0

Issue resolved by pull request 5820

> Transformer/Estimator should be copyable.
> -----------------------------------------
>                 Key: SPARK-5956
>                 URL:
>             Project: Spark
>          Issue Type: Sub-task
>          Components: ML
>    Affects Versions: 1.3.0
>            Reporter: Xiangrui Meng
>            Assignee: Xiangrui Meng
>            Priority: Blocker
>             Fix For: 1.4.0
> In a pipeline, we don't save additional params specified in `fit()` to transformers,
because we should not modify them. The current solution is to store training parameters in
the pipeline model and apply those parameters at `transform()`. A better solution would be
making transformers copyable. Calling `.copy` on a transformer produces a new transformer
with a different UID but same parameters. Then we can use the copied transformers in the pipeline
model, with additional params stored.
> `copy` may not be a good name because it is not an exact copy.

This message was sent by Atlassian JIRA

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

View raw message