[
https://issues.apache.org/jira/browse/SPARK-14926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15452377#comment-15452377
]
Krishna Kalyan commented on SPARK-14926:
----------------------------------------
[~josephkb] I wanted to work on this bug if josh-howes is not not working on it
any more.
Could you please share how I could go about approaching this problem?. I had a
chance to look at the pull requests, It which seems fail unit tests.
`[error]
/Users/krishna/Experiment/spark/mllib/src/main/scala/org/apache/spark/ml/classification/OneVsRest.scala:198:
type mismatch;
[error] found : org.apache.spark.ml.param.Param[String]
[error] required: org.apache.spark.sql.types.Metadata
[error] .withColumn($(predictionCol), labelUDF(col(accColName)),
predictionCol)
[error] ^
[error] one error found
[error] Compile failed at Aug 31, 2016 4:20:34 PM [43.621s]
`
> OneVsRest labelMetadata uses incorrect name
> -------------------------------------------
>
> Key: SPARK-14926
> URL: https://issues.apache.org/jira/browse/SPARK-14926
> Project: Spark
> Issue Type: Bug
> Components: ML
> Affects Versions: 1.4.1, 1.5.2, 1.6.1, 2.0.0
> Reporter: Joseph K. Bradley
> Priority: Trivial
>
> OneVsRestModel applies {{labelMetadata}} to the output column, but the
> metadata could contain the wrong name. The attribute name should be modified
> to match {{predictionCol}}.
> Here is the relevant location:
> [[https://github.com/apache/spark/blob/2a3d39f48b1a7bb462e17e80e243bbc0a94d802e/mllib/src/main/scala/org/apache/spark/ml/classification/OneVsRest.scala#L200]]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]