You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by VIGNESH S <vi...@gmail.com> on 2013/01/14 14:53:35 UTC
Reg Lucene Naive Bayesian classifier.
Hi,
Anyone Used the Naive Bayesian Classifier?
It will be really helpful if some one Can post how to use the
classifiers in Lucene ..
--
Thanks and Regards
Vignesh Srinivasan
9739135640
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Reg Lucene Naive Bayesian classifier.
Posted by Denis Bazhenov <do...@gmail.com>.
Lucene is not about classification really. It might help you, depends on your use case. But if you want the classification library you should look at Apache Mahout. It has Naive Bayes implementation as well as a bunch of others more complicated classification algorithms.
On Jan 15, 2013, at 12:53 AM, VIGNESH S <vi...@gmail.com> wrote:
> Hi,
>
> Anyone Used the Naive Bayesian Classifier?
>
> It will be really helpful if some one Can post how to use the
> classifiers in Lucene ..
>
> --
> Thanks and Regards
> Vignesh Srinivasan
> 9739135640
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
---
Denis Bazhenov <do...@gmail.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Reg Lucene Naive Bayesian classifier.
Posted by Karl Wettin <ka...@gmail.com>.
14 jan 2013 kl. 14:53 skrev VIGNESH S:
> Anyone Used the Naive Bayesian Classifier?
>
> It will be really helpful if some one Can post how to use the
> classifiers in Lucene ..
Hi there,
I posted a NB classifier in the jira back in 2007 that use Lucene as data matrix. It probably needs a bit of modifications in order to work with newer versions of Lucene, but perhaps you'll find it useful.
<https://issues.apache.org/jira/browse/LUCENE-1039>
karl
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Reg Lucene Naive Bayesian classifier.
Posted by Alan Woodward <al...@flax.co.uk>.
Hi Vignesh,
You might want to have a look at something we put together last year: http://www.flax.co.uk/blog/2012/06/12/clade-a-freely-available-open-source-taxonomy-and-autoclassification-tool/.
Alan Woodward
alan@flax.co.uk
On 15 Jan 2013, at 05:33, VIGNESH S wrote:
> Hi All,
>
> Thanks for your replies..
>
> Actually I am trying to classify the email mail data in to categories
> and also spam mails .. I have tried clustering but it is not useful
> since we can not control categories.
>
> I am looking for a light weight implementation which can be used in
> mobiles in client side.
>
> I thought Lucene Naive Bayesian Would be useful...
>
> Please Suggest me Whether classifying emails will be done using this
> Lucene Naive Bayesian or any other Lucene Classifiers..
>
>
> Thanks and Regards
> Vignesh Srinivasan
>
>
> On Mon, Jan 14, 2013 at 7:23 PM, VIGNESH S <vi...@gmail.com> wrote:
>> Hi,
>>
>> Anyone Used the Naive Bayesian Classifier?
>>
>> It will be really helpful if some one Can post how to use the
>> classifiers in Lucene ..
>>
>> --
>> Thanks and Regards
>> Vignesh Srinivasan
>> 9739135640
>
>
>
> --
> Thanks and Regards
> Vignesh Srinivasan
> 9739135640
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
Re: Reg Lucene Naive Bayesian classifier.
Posted by Tommaso Teofili <to...@gmail.com>.
2013/1/15 VIGNESH S <vi...@gmail.com>
> Hi All,
>
> Thanks for your replies..
>
> Actually I am trying to classify the email mail data in to categories
> and also spam mails .. I have tried clustering but it is not useful
> since we can not control categories.
>
> I am looking for a light weight implementation which can be used in
> mobiles in client side.
>
> I thought Lucene Naive Bayesian Would be useful...
>
> Please Suggest me Whether classifying emails will be done using this
> Lucene Naive Bayesian or any other Lucene Classifiers..
>
You could actually use one of the existing ones (naive bayes or nearest
neighbor) or even implement a new one (just implement the Classifier
interface [1]) if you already have enough labeled data in your index (one
field containing mail test and one field containing assigned category).
To use those just call Classifier#train method to train the classifier and
Classifier#assignClass to assign a class/category to a new text.
If your task is just spam detection IMHO one of the above should be enough,
if you have also to assign different categories depending on proper
semantics then I'd recommend use some other library which is more focused
for that purpose like Apache Mahout, Apache OpenNLP, etc..
My 2 cents,
Tommaso
[1] :
http://svn.apache.org/repos/asf/lucene/dev/trunk/lucene/classification/src/java/org/apache/lucene/classification/Classifier.java
>
>
> Thanks and Regards
> Vignesh Srinivasan
>
>
> On Mon, Jan 14, 2013 at 7:23 PM, VIGNESH S <vi...@gmail.com>
> wrote:
> > Hi,
> >
> > Anyone Used the Naive Bayesian Classifier?
> >
> > It will be really helpful if some one Can post how to use the
> > classifiers in Lucene ..
> >
> > --
> > Thanks and Regards
> > Vignesh Srinivasan
> > 9739135640
>
>
>
> --
> Thanks and Regards
> Vignesh Srinivasan
> 9739135640
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
Re: Reg Lucene Naive Bayesian classifier.
Posted by VIGNESH S <vi...@gmail.com>.
Hi All,
Thanks for your replies..
Actually I am trying to classify the email mail data in to categories
and also spam mails .. I have tried clustering but it is not useful
since we can not control categories.
I am looking for a light weight implementation which can be used in
mobiles in client side.
I thought Lucene Naive Bayesian Would be useful...
Please Suggest me Whether classifying emails will be done using this
Lucene Naive Bayesian or any other Lucene Classifiers..
Thanks and Regards
Vignesh Srinivasan
On Mon, Jan 14, 2013 at 7:23 PM, VIGNESH S <vi...@gmail.com> wrote:
> Hi,
>
> Anyone Used the Naive Bayesian Classifier?
>
> It will be really helpful if some one Can post how to use the
> classifiers in Lucene ..
>
> --
> Thanks and Regards
> Vignesh Srinivasan
> 9739135640
--
Thanks and Regards
Vignesh Srinivasan
9739135640
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Reg Lucene Naive Bayesian classifier.
Posted by Grant Ingersoll <gs...@apache.org>.
What are you trying to classify? Queries? Documents? Other?
On Jan 14, 2013, at 12:44 PM, Vishwas Goel wrote:
> Does anyone has pointers on how to plug in a regression or LETOR model in
> Lucene/SOLR?
>
> On Mon, Jan 14, 2013 at 7:57 PM, Vishwas Goel <vi...@gmail.com> wrote:
>
>> What is the use case? I would have thought that a regression or LETOR
>> would be lots more useful. Thoughts?
>>
>>
>> On Mon, Jan 14, 2013 at 7:23 PM, VIGNESH S <vi...@gmail.com>wrote:
>>
>>> Hi,
>>>
>>> Anyone Used the Naive Bayesian Classifier?
>>>
>>> It will be really helpful if some one Can post how to use the
>>> classifiers in Lucene ..
>>>
>>> --
>>> Thanks and Regards
>>> Vignesh Srinivasan
>>> 9739135640
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>>
>>>
>>
--------------------------------------------
Grant Ingersoll
http://www.lucidworks.com
Re: Reg Lucene Naive Bayesian classifier.
Posted by Vishwas Goel <vi...@gmail.com>.
Does anyone has pointers on how to plug in a regression or LETOR model in
Lucene/SOLR?
On Mon, Jan 14, 2013 at 7:57 PM, Vishwas Goel <vi...@gmail.com> wrote:
> What is the use case? I would have thought that a regression or LETOR
> would be lots more useful. Thoughts?
>
>
> On Mon, Jan 14, 2013 at 7:23 PM, VIGNESH S <vi...@gmail.com>wrote:
>
>> Hi,
>>
>> Anyone Used the Naive Bayesian Classifier?
>>
>> It will be really helpful if some one Can post how to use the
>> classifiers in Lucene ..
>>
>> --
>> Thanks and Regards
>> Vignesh Srinivasan
>> 9739135640
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>>
>
Re: Reg Lucene Naive Bayesian classifier.
Posted by Vishwas Goel <vi...@gmail.com>.
What is the use case? I would have thought that a regression or LETOR would
be lots more useful. Thoughts?
On Mon, Jan 14, 2013 at 7:23 PM, VIGNESH S <vi...@gmail.com> wrote:
> Hi,
>
> Anyone Used the Naive Bayesian Classifier?
>
> It will be really helpful if some one Can post how to use the
> classifiers in Lucene ..
>
> --
> Thanks and Regards
> Vignesh Srinivasan
> 9739135640
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>