IDF for ml pipeline

2015-02-02 Thread masaki rikitoku
Hi all

I am trying the ml pipeline for text classfication now.

recently, i succeed to execute the pipeline processing in ml packages,
which consist of the original Japanese tokenizer, hashingTF,
logisticRegression.

then,  i failed to  executed the pipeline with idf in mllib package directly.

To use the idf feature in ml package,
do i have to implement the wrapper for idf in ml package like the hashingTF?

best

Masaki Rikitoku

-
To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org
For additional commands, e-mail: dev-h...@spark.apache.org



Re: IDF for ml pipeline

2015-02-03 Thread Xiangrui Meng
Yes, we need a wrapper under spark.ml. Feel free to create a JIRA for
it. -Xiangrui

On Mon, Feb 2, 2015 at 8:56 PM, masaki rikitoku  wrote:
> Hi all
>
> I am trying the ml pipeline for text classfication now.
>
> recently, i succeed to execute the pipeline processing in ml packages,
> which consist of the original Japanese tokenizer, hashingTF,
> logisticRegression.
>
> then,  i failed to  executed the pipeline with idf in mllib package directly.
>
> To use the idf feature in ml package,
> do i have to implement the wrapper for idf in ml package like the hashingTF?
>
> best
>
> Masaki Rikitoku
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org
> For additional commands, e-mail: dev-h...@spark.apache.org
>

-
To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org
For additional commands, e-mail: dev-h...@spark.apache.org



Re: IDF for ml pipeline

2015-02-03 Thread masaki rikitoku
Thank you for your reply. I will do it.



—
Mailbox から送信

On Tue, Feb 3, 2015 at 6:12 PM, Xiangrui Meng  wrote:

> Yes, we need a wrapper under spark.ml. Feel free to create a JIRA for
> it. -Xiangrui
> On Mon, Feb 2, 2015 at 8:56 PM, masaki rikitoku  wrote:
>> Hi all
>>
>> I am trying the ml pipeline for text classfication now.
>>
>> recently, i succeed to execute the pipeline processing in ml packages,
>> which consist of the original Japanese tokenizer, hashingTF,
>> logisticRegression.
>>
>> then,  i failed to  executed the pipeline with idf in mllib package directly.
>>
>> To use the idf feature in ml package,
>> do i have to implement the wrapper for idf in ml package like the hashingTF?
>>
>> best
>>
>> Masaki Rikitoku
>>
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org
>> For additional commands, e-mail: dev-h...@spark.apache.org
>>