[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`
[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`