[3/3] spark git commit: [SPARK-5956] [MLLIB] Pipeline components should be copyable.

2015-05-04 Thread meng
[SPARK-5956] [MLLIB] Pipeline components should be copyable. This PR added `copy(extra: ParamMap): Params` to `Params`, which makes a copy of the current instance with a randomly generated uid and some extra param values. With this change, we only need to implement `fit` and `transform`

[3/3] spark git commit: [SPARK-5956] [MLLIB] Pipeline components should be copyable.

2015-05-04 Thread meng
[SPARK-5956] [MLLIB] Pipeline components should be copyable. This PR added `copy(extra: ParamMap): Params` to `Params`, which makes a copy of the current instance with a randomly generated uid and some extra param values. With this change, we only need to implement `fit` and `transform`