Why transformer from ml.Pipeline transform only a DataFrame ?

2015-08-28 Thread Jaonary Rabarisoa
Hi there, The actual API of ml.Transformer use only DataFrame as input. I have a use case where I need to transform a single element. For example transforming an element from spark-streaming. Is there any reason for this or the ml.Transformer will support transforming a single element later ?

Re: Why transformer from ml.Pipeline transform only a DataFrame ?

2015-08-28 Thread Xiangrui Meng
Yes, we will open up APIs in next release. There were some discussion about the APIs. One approach is to have multiple methods for different outputs like predicted class and probabilities. -Xiangrui On Aug 28, 2015 6:39 AM, Jaonary Rabarisoa jaon...@gmail.com wrote: Hi there, The actual API of