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 <janardhan...@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 <yuzhih...@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 <janardhan...@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 >>> >>> >>> >> >