spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Strange, Nick" <Nick.Stra...@fmr.com.INVALID>
Subject RE: Symbol HasInputCol is inaccesible from this place
Date Mon, 08 Aug 2016 12:02:34 GMT
What possible reason do they have to think its fragmentation?

From: janardhan shetty [mailto:janardhanp22@gmail.com]
Sent: Saturday, August 06, 2016 2:01 PM
To: Ted Yu
Cc: user
Subject: Re: Symbol HasInputCol is inaccesible from this place

Yes seems like, wondering if this can be made public in order to develop custom transformers
or any other alternatives ?

On Sat, Aug 6, 2016 at 10:07 AM, Ted Yu <yuzhihong@gmail.com<mailto:yuzhihong@gmail.com>>
wrote:
Is it because HasInputCol is private ?

private[ml] trait HasInputCol extends Params {

On Thu, Aug 4, 2016 at 1:18 PM, janardhan shetty <janardhanp22@gmail.com<mailto:janardhanp22@gmail.com>>
wrote:
Version : 2.0.0-preview

import org.apache.spark.ml.param._
import org.apache.spark.ml.param.shared.{HasInputCol, HasOutputCol}


class CustomTransformer(override val uid: String) extends Transformer with HasInputCol with
HasOutputCol with DefaultParamsWritableimport org.apache.spark.ml.param.shared.{HasInputCol,
HasOutputCol}
HasInputCol, HasOutputCol}

Error in IntelliJ
Symbol HasInputCol is inaccessible from this place
 similairly for HasOutputCol and DefaultParamsWritable
Any thoughts on this error as it is not allowing the compile



Mime
View raw message