MonsterMMORPG

Lounge<C++>

Today we're daydreaming about C++26 reflection
Sep 4, 2015 19:22
the question also includes pseudo code which can be given with c++ as well
Sep 4, 2015 19:22
it is not a spam
Sep 4, 2015 19:20
@puppy then what the hack for you down vote?
Sep 4, 2015 19:13
in SA if someone downvoting it is almost 100% that he doesnt know the answer
Sep 4, 2015 19:13
@puppy ye since you dont know just down vote :)
Sep 4, 2015 19:05
i mean c++ coders :d
Sep 4, 2015 19:05
@melak47 c++ generally good at such stuff
Sep 4, 2015 19:01
0
Q: How to calculate clustering success - pre assigment true classes are known

MonsterMMORPGI am checking clustering analysis at Wikipedia and can not figure out how to apply techniques to this example Assume that i have the following manually labelled data-set Class labels A,B,C,D Variables var1,var2,var3,var4,var5,var6,var7,var8 Variables classes A {var1,var3}, B {var2,var4,var5...

 

CHATLAB and Talktave

Congratulations to Luis Mendo for hitting 100k unicorn points ...
Sep 4, 2015 19:22
@rayryeng can you show real answer at my question? i have given example case.
Sep 4, 2015 19:11
not same
Sep 4, 2015 19:11
i mean algo put each item into seperate cluster
Sep 4, 2015 19:10
i am coding in c# so i just need to understand what to do
Sep 4, 2015 19:10
that would be very bad evaluation :D
Sep 4, 2015 19:10
however as they pointed purity would be 1 if algo put all into same cluster
Sep 4, 2015 19:08
can rand index or f measure can be calculated?
Sep 4, 2015 19:07
but for comparison of lets say other published articles
Sep 4, 2015 19:07
@rayryeng ty good suggestion ty
Sep 4, 2015 19:06
a pseudo code can also help
Sep 4, 2015 19:06
hello guys i know. no not just c#
Sep 4, 2015 19:01
0
Q: How to calculate clustering success - pre assigment true classes are known

MonsterMMORPGI am checking clustering analysis at Wikipedia and can not figure out how to apply techniques to this example Assume that i have the following manually labelled data-set Class labels A,B,C,D Variables var1,var2,var3,var4,var5,var6,var7,var8 Variables classes A {var1,var3}, B {var2,var4,var5...

 

C#

General discussions about the c# language, Squirrels | gist.gi...
Sep 4, 2015 19:01
0
Q: How to calculate clustering success - pre assigment true classes are known

MonsterMMORPGI am checking clustering analysis at Wikipedia and can not figure out how to apply techniques to this example Assume that i have the following manually labelled data-set Class labels A,B,C,D Variables var1,var2,var3,var4,var5,var6,var7,var8 Variables classes A {var1,var3}, B {var2,var4,var5...

Sep 4, 2015 19:00
have a question who can check
Sep 4, 2015 19:00
hello guys
Sep 4, 2015 08:41
keeping pairs values in a dictionary instead of recalculating each time improves speed 5x times in Hierarchical clustering :D
Sep 3, 2015 21:12
ye will go that way
Sep 3, 2015 21:12
actually since i have to recalculate distances each time not holding all data in a dictionary would be better way in terms of memory usage
Sep 3, 2015 21:09
so u cant have 2;1 as a key never
Sep 3, 2015 21:09
and when you send to the function 2,1 or 1,2 it will always return 1;2
Sep 3, 2015 21:08
they are ordered
Sep 3, 2015 21:08
@Shoe exactly that is why there is no such key
Sep 3, 2015 21:08
actually real application will have hundreds thousands perhaps millions of documents. so i will be have to use clever blocking. a lot thinking waits me
Sep 3, 2015 21:07
just trying to build function at the moment blocking and other improvements will come later :D
Sep 3, 2015 21:07
yes 1802 documents without any blocking
Sep 3, 2015 21:05
nope by implementation
Sep 3, 2015 21:05
AB , AC , BC
Sep 3, 2015 21:05
lets say if there are A B C documents
Sep 3, 2015 21:05
they are all unique
Sep 3, 2015 21:05
@juanvan nope . no need to calculate distance between same documents
Sep 3, 2015 21:04
this is the fastest solution
Sep 3, 2015 21:04
yes
Sep 3, 2015 21:03
now time to start merging them with UPGMA
Sep 3, 2015 21:03
for example between document 26156 and 44162 Euclidean_Distance is 33.242
Sep 3, 2015 21:02
Sep 3, 2015 21:02
here image how pair wise document distances look
Sep 3, 2015 21:02
far
Sep 3, 2015 21:02
there is nothing wrong so fart
Sep 3, 2015 21:00
anyway it works. shoe instead of multi key dictionary this enables holding pair wise documents distances
Sep 3, 2015 20:59
convention
Sep 3, 2015 20:59
my own naming contention :D
Sep 3, 2015 20:58
private static string func_Return_Dic_Docs_Key(string srDocId1, string srDocId2)
{
    List<int> lstDocs = new List<int>();
    lstDocs.Add(Convert.ToInt32(srDocId1));
    lstDocs.Add(Convert.ToInt32(srDocId2));
    lstDocs = lstDocs.OrderBy(pr => pr).ToList();
    return string.Join(";", lstDocs);
}