spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Yip <yipjus...@prediction.io>
Subject Why the default Params.copy doesn't work for Model.copy?
Date Fri, 05 Jun 2015 05:09:58 GMT
Hello,

I have a question with Spark 1.4 ml library. In the copy function, it is
stated that the default implementation doesn't work of Params doesn't work
for models. (
https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/ml/Model.scala#L49
)

As a result, some feature generation transformer like "StringIndexerModel"
cannot be used in Pipeline.

Maybe due to my limited knowledge in ML pipeline, can anyone give me some
hints why Model.copy behaves differently as other Params?

Thanks!

Justin




--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Why-the-default-Params-copy-doesn-t-work-for-Model-copy-tp23169.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
Mime
View raw message