You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by janardhan shetty <ja...@gmail.com> on 2016/08/04 20:18:25 UTC
Symbol HasInputCol is inaccesible from this place
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
Re: Symbol HasInputCol is inaccesible from this place
Posted by janardhan shetty <ja...@gmail.com>.
Any thoughts or suggestions on this error?
On Thu, Aug 4, 2016 at 1:18 PM, janardhan shetty <ja...@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
>
>
>
Re: Symbol HasInputCol is inaccesible from this place
Posted by janardhan shetty <ja...@gmail.com>.
Can some experts shed light on this one? Still facing issues with extends
HasInputCol and DefaultParamsWritable
On Mon, Aug 8, 2016 at 9:56 AM, janardhan shetty <ja...@gmail.com>
wrote:
> you mean is it deprecated ?
>
> On Mon, Aug 8, 2016 at 5:02 AM, Strange, Nick <Ni...@fmr.com>
> wrote:
>
>> 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 <yu...@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 <ja...@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
>>
>>
>>
>>
>>
>>
>>
>
>
Re: Symbol HasInputCol is inaccesible from this place
Posted by janardhan shetty <ja...@gmail.com>.
you mean is it deprecated ?
On Mon, Aug 8, 2016 at 5:02 AM, Strange, Nick <Ni...@fmr.com> wrote:
> 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 <yu...@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 <ja...@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
>
>
>
>
>
>
>
RE: Symbol HasInputCol is inaccesible from this place
Posted by "Strange, Nick" <Ni...@fmr.com.INVALID>.
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 <yu...@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 <ja...@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
Re: Symbol HasInputCol is inaccesible from this place
Posted by Ted Yu <yu...@gmail.com>.
I searched *Suite.scala and found only the following contains some classes
extending Transformer :
./mllib/src/test/scala/org/apache/spark/ml/PipelineSuite.scala
But HasInputCol is not used.
FYI
On Sat, Aug 6, 2016 at 11:01 AM, janardhan shetty <ja...@gmail.com>
wrote:
> 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 <yu...@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 <ja...@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
>>>
>>>
>>>
>>
>
Re: Symbol HasInputCol is inaccesible from this place
Posted by janardhan shetty <ja...@gmail.com>.
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 <yu...@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 <ja...@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
>>
>>
>>
>
Re: Symbol HasInputCol is inaccesible from this place
Posted by Ted Yu <yu...@gmail.com>.
Is it because HasInputCol is private ?
private[ml] trait HasInputCol extends Params {
On Thu, Aug 4, 2016 at 1:18 PM, janardhan shetty <ja...@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
>
>
>