You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Prakash Poudyal <pr...@gmail.com> on 2016/04/24 17:27:51 UTC
Re: Trying Fuzzy clustering algorithm in commons apache
On Fri, Apr 22, 2016 at 11:44 AM, Prakash Poudyal <pr...@gmail.com>
wrote:
> Hi!
>
> I was trying to use Fuzzy clustering java (
>
>
> https://commons.apache.org/proper/commons-math/jacoco/org.apache.commons.math3.ml.clustering/FuzzyKMeansClusterer.html
>
> )
>
> code from https://commons.apache.org/
>
> but I found a bit problem as when I compile the program it is searching
> main class. Can anybody give me links or any guidelines
>
> --
>
> Regards
> Prakash Poudyal
>
>
--
Regards
Prakash Poudyal
Re: [Math] Re: Trying Fuzzy clustering algorithm in commons apache
Posted by Gilles <gi...@harfang.homelinux.org>.
On Sun, 24 Apr 2016 23:36:57 +0100, Prakash Poudyal wrote:
> Well,
>
> I need to cluster 1000 sentences into some groups. Since, there are
> several
> sentence which could be in any group, therefore, I need to use fuzzy
> clustering.
>
> Lets take 10 sentences tfidf value.
>
> Sentence 1 0.5 0.6 0.7 0.8 0.9
> Sentence 2 0.1 0.2 0.3 0.4 0.5
> Sentence 3 0.3 0.4 0.5 0.6 0.7
> Sentence 4 0.4 0.5 0.7 0.8 0.9
> Sentence 5 0.1 0.3 0.5 0.6 0.7
> Sentence 6 0.5 0.6 0.7 0.8 0.9
> Sentence 7 0.1 0.2 0.3 0.6 0.8
> Sentence 8 0.3 0.4 0.5 0.6 0.7
> Sentence 9 0.1 0.2 0.3 0.4 0.6
> Sentence 10 0.1 0.3 0.4 0.5 0.7
>
> lets cluster these sentence into three group by using fuzzy
> clustering. Is
> there any jave code for this ?
I would think so; see this section of the userguide:
http://commons.apache.org/proper/commons-math/userguide/ml.html
and the API documentation:
http://commons.apache.org/proper/commons-math/apidocs/org/apache/commons/math3/ml/clustering/FuzzyKMeansClusterer.html
> Hope you understand my problem, else don't hesitate reply more
> question.
Your previous message was describing a problem compiling or running
code. Have you solved that one?
Regards,
Gilles
>
> Thank you so much
>
> Prakash
>
> On Sun, Apr 24, 2016 at 9:47 PM, Gilles
> <gi...@harfang.homelinux.org>
> wrote:
>
>> Hello.
>>
>> On Sun, 24 Apr 2016 16:27:51 +0100, Prakash Poudyal wrote:
>>
>>> On Fri, Apr 22, 2016 at 11:44 AM, Prakash Poudyal <
>>> prakashpoudyal@gmail.com>
>>> wrote:
>>>
>>> Hi!
>>>>
>>>> I was trying to use Fuzzy clustering java (
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> https://commons.apache.org/proper/commons-math/jacoco/org.apache.commons.math3.ml.clustering/FuzzyKMeansClusterer.html
>>>>
>>>> )
>>>>
>>>> code from https://commons.apache.org/
>>>>
>>>> but I found a bit problem as when I compile the program it is
>>>> searching
>>>> main class. Can anybody give me links or any guidelines
>>>>
>>>
>> It would be necessary to let us know what you tried.
>>
>> Regards,
>> Gilles
>>
>> P.S. Please use "[Math]" in the subject line when posting to this
>> mailing list as it is shared by many projects.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [Math] Re: Trying Fuzzy clustering algorithm in commons apache
Posted by Prakash Poudyal <pr...@gmail.com>.
Well,
I need to cluster 1000 sentences into some groups. Since, there are several
sentence which could be in any group, therefore, I need to use fuzzy
clustering.
Lets take 10 sentences tfidf value.
Sentence 1 0.5 0.6 0.7 0.8 0.9
Sentence 2 0.1 0.2 0.3 0.4 0.5
Sentence 3 0.3 0.4 0.5 0.6 0.7
Sentence 4 0.4 0.5 0.7 0.8 0.9
Sentence 5 0.1 0.3 0.5 0.6 0.7
Sentence 6 0.5 0.6 0.7 0.8 0.9
Sentence 7 0.1 0.2 0.3 0.6 0.8
Sentence 8 0.3 0.4 0.5 0.6 0.7
Sentence 9 0.1 0.2 0.3 0.4 0.6
Sentence 10 0.1 0.3 0.4 0.5 0.7
lets cluster these sentence into three group by using fuzzy clustering. Is
there any jave code for this ?
Hope you understand my problem, else don't hesitate reply more question.
Thank you so much
Prakash
On Sun, Apr 24, 2016 at 9:47 PM, Gilles <gi...@harfang.homelinux.org>
wrote:
> Hello.
>
> On Sun, 24 Apr 2016 16:27:51 +0100, Prakash Poudyal wrote:
>
>> On Fri, Apr 22, 2016 at 11:44 AM, Prakash Poudyal <
>> prakashpoudyal@gmail.com>
>> wrote:
>>
>> Hi!
>>>
>>> I was trying to use Fuzzy clustering java (
>>>
>>>
>>>
>>>
>>> https://commons.apache.org/proper/commons-math/jacoco/org.apache.commons.math3.ml.clustering/FuzzyKMeansClusterer.html
>>>
>>> )
>>>
>>> code from https://commons.apache.org/
>>>
>>> but I found a bit problem as when I compile the program it is searching
>>> main class. Can anybody give me links or any guidelines
>>>
>>
> It would be necessary to let us know what you tried.
>
> Regards,
> Gilles
>
> P.S. Please use "[Math]" in the subject line when posting to this
> mailing list as it is shared by many projects.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
--
Regards
Prakash Poudyal
[Math] Re: Trying Fuzzy clustering algorithm in commons apache
Posted by Gilles <gi...@harfang.homelinux.org>.
Hello.
On Sun, 24 Apr 2016 16:27:51 +0100, Prakash Poudyal wrote:
> On Fri, Apr 22, 2016 at 11:44 AM, Prakash Poudyal
> <pr...@gmail.com>
> wrote:
>
>> Hi!
>>
>> I was trying to use Fuzzy clustering java (
>>
>>
>>
>> https://commons.apache.org/proper/commons-math/jacoco/org.apache.commons.math3.ml.clustering/FuzzyKMeansClusterer.html
>>
>> )
>>
>> code from https://commons.apache.org/
>>
>> but I found a bit problem as when I compile the program it is
>> searching
>> main class. Can anybody give me links or any guidelines
It would be necessary to let us know what you tried.
Regards,
Gilles
P.S. Please use "[Math]" in the subject line when posting to this
mailing list as it is shared by many projects.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org