[ 
https://issues.apache.org/jira/browse/SPARK-17169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15430282#comment-15430282
 ] 

Yanbo Liang commented on SPARK-17169:
-------------------------------------

Meanwhile, it's better we can do compile time code-gen for python params as 
well, that is to say run {{python _shared_params_code_gen.py > shared.py}} 
automatically.

> To use scala macros to update code when SharedParamsCodeGen.scala changed
> -------------------------------------------------------------------------
>
>                 Key: SPARK-17169
>                 URL: https://issues.apache.org/jira/browse/SPARK-17169
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>            Reporter: Qian Huang
>            Priority: Minor
>
> As commented in the file SharedParamsCodeGen.scala, we have to manually run
> build/sbt "mllib/runMain org.apache.spark.ml.param.shared.SharedParamsCodeGen"
> to generate and update it.
> It could be better to do compile time code-gen for this using scala macros 
> rather than running the script as described above. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to