Re: Re: [math] Discuss: New feature MiniBatchKMeansClusterer

2020-03-25 Thread chentao...@qq.com
Hi, >2020-03-25 4:54 UTC+01:00, chentao...@qq.com : >> Hi, >> >>>Hello. >>> >>>Le mar. 24 mars 2020 à 06:39, chentao...@qq.com a écrit >>> : >>>> >>>> Hi, >>>> >>>> I have started 2 PRs

Re: Re: [math] Discuss: New feature MiniBatchKMeansClusterer

2020-03-24 Thread chentao...@qq.com
Hi, >Hello. > >Le mar. 24 mars 2020 à 06:39, chentao...@qq.com a écrit : >> >> Hi, >> >> I have started 2 PRs to solve the problem you metioned. >> >> About the "CentroidInitializer" I have a new idea: >> Move CentroidInitializ

Re: [math] Discuss: New feature MiniBatchKMeansClusterer

2020-03-23 Thread chentao...@qq.com
Hi,     I have started 2 PRs to solve the problem you metioned.     About the "CentroidInitializer" I have a new idea: Move CentroidInitializers as inner classes of "KMeansPlusPlusCluster", and add a construct parameter and a property "useKMeansPlusPlus" to  "KMeansPlusPlusCluster": ```java // A

Re: [math]Discussion: How to move out "EmptyClusterStrategy" from KMeansPlusPlusClusterer

2020-03-20 Thread chentao...@qq.com
Hi, >2020-03-21 2:59 UTC+01:00, chentao...@qq.com : >> Hi, >> >>>Le ven. 20 mars 2020 à 04:47, chentao...@qq.com a écrit >>> : >>>> >>>> Hi, >>>> >>>> >Hello. >>>> > >>>> >Le mer. 1

Re: [math]Discussion: How to move out "EmptyClusterStrategy" from KMeansPlusPlusClusterer

2020-03-20 Thread chentao...@qq.com
Hi, >Le ven. 20 mars 2020 à 04:47, chentao...@qq.com a écrit : >> >> Hi, >> >> >Hello. >> > >> >Le mer. 18 mars 2020 à 17:57, Gilles Sadowski a >> >écrit : >> >> >> >> Hi. >> >> >> >> 2

Re: [math]Discussion: How to move out "EmptyClusterStrategy" from KMeansPlusPlusClusterer

2020-03-19 Thread chentao...@qq.com
Hi, >Hello. > >Le mer. 18 mars 2020 à 17:57, Gilles Sadowski a écrit : >> >> Hi. >> >> 2020-03-18 15:10 UTC+01:00, chentao...@qq.com : >> > Hi, >> > I have created a PR to show my aim: >> > https://github.com/apache/commons-math/p

Re: [math]Discussion: How to move out "EmptyClusterStrategy" from KMeansPlusPlusClusterer

2020-03-18 Thread chentao...@qq.com
Hi,     I have created a PR to show my aim: https://github.com/apache/commons-math/pull/126/files  >Hello. > >Le mer. 11 mars 2020 à 07:28, chentao...@qq.com a écrit : >> >> Hi all, >> The "EmptyClusterStrategy" in KMeansPlusPlusClusterer can be reused

Re: [math]Discussion: How to move out "EmptyClusterStrategy" from KMeansPlusPlusClusterer

2020-03-11 Thread chentao...@qq.com
Hi,     Code maybe more clear: https://github.com/chentao106/commons-math/commit/0075cd76f540955ec7da3dc4b74f4d67d932ba3b >Hello. > >Le mer. 11 mars 2020 à 07:28, chentao...@qq.com a écrit : >> >> Hi all, >> The "EmptyClusterStrategy" in

[math]Discussion: How to move out "EmptyClusterStrategy" from KMeansPlusPlusClusterer

2020-03-10 Thread chentao...@qq.com
Hi all,     The "EmptyClusterStrategy" in KMeansPlusPlusClusterer can be reused MiniBatchKMeansClusterer and other cluster altorithm.     So I think the "EmptyClusterStrategy" should move out from KMeansPlusPlusClusterer(JIRA issue #MATH-1525).     I am not sure if my design is good or not. I thi

[math]Improvement: The generic parameter of ClusterRanking can move onto method

2020-03-09 Thread chentao...@qq.com
Hi,     I have created a JIRA issue for this suggestion:  https://issues.apache.org/jira/projects/MATH/issues/MATH-1522     I think the generic parameter on class "ClusterRanking" is unnecessary, it is redundancy when define a variable, and hard to reuse(it could be): ```java ClusterRanking evalua

Re: Re: [math]Discuss: There should be a CalinskiHarabaszClusterEvaluator in ml package

2020-03-07 Thread chentao...@qq.com
Hi, >> >  [...] >> Solution 3  is "ClusterRanking". >> In cases where the reference algorithm would assume the >> other convention (i.e. "lower is better"), the implementation >> is required to apply a conversion (e.g. return the opposite). > >s/opposite/inverse/ > >[We should probably enforce tha

Re: [math]Discuss: There should be a CalinskiHarabaszClusterEvaluator in ml package

2020-03-07 Thread chentao...@qq.com
Hi, >Hello. > [...] >> For machine learning centroid cluster algorithm, we often use is >> Calinsk-iHarabasz score to evaluate which algorithm or how many >> centers is >> best for a dataset. >> The python lib sklearn implements Calinsk-iHarabasz as >> sk

Re: [math]Discuss: There should be a CalinskiHarabaszClusterEvaluator in ml package

2020-03-06 Thread chentao...@qq.com
Hi, >Le ven. 6 mars 2020 à 14:35, chentao...@qq.com a écrit : >> >> Hi, >> >> >Hello. >> > >> >2020-03-06 9:48 UTC+01:00, chentao...@qq.com : >> >> Hi, >> >> For machine learning centroid cluster algorithm, we often use

Re: Re: [math]Discuss: There should be a CalinskiHarabaszClusterEvaluator in ml package

2020-03-06 Thread chentao...@qq.com
Hi, >Hello. > >2020-03-06 9:48 UTC+01:00, chentao...@qq.com : >> Hi, >> For machine learning centroid cluster algorithm, we often use is >> Calinsk-iHarabasz score to evaluate which algorithm or how many centers is >> best for a dataset. >> Th

[math]Discuss: There should be a CalinskiHarabaszClusterEvaluator in ml package

2020-03-06 Thread chentao...@qq.com
Hi,     For machine learning centroid cluster algorithm, we often use is Calinsk-iHarabasz score to evaluate which algorithm or how many centers is best for a dataset.     The python lib sklearn implements Calinsk-iHarabasz as sklearn.metrics.calinski_harabasz_score. I think there should be a C

Re: [math] Discuss: New feature MiniBatchKMeansClusterer

2020-03-05 Thread chentao...@qq.com
Hi, >Hello. > >2020-03-05 4:50 UTC+01:00, chentao...@qq.com : >> Hi, >> >>>Hi. >>> >>>Le ven. 28 févr. 2020 à 05:04, chentao...@qq.com a >>> écrit : >>>> >>>> >>>> >>>> >>>

Re: Re: [math] Discuss: New feature MiniBatchKMeansClusterer

2020-03-04 Thread chentao...@qq.com
Hi, >Hi. > >Le ven. 28 févr. 2020 à 05:04, chentao...@qq.com a écrit : >> >> >> >> >> -- >> chentao...@qq.com >> >Hi. >> > >> >Le jeu. 27 févr. 2020 à 06:17, chentao...@qq.com a >> >écrit : >> &g

Re: Re: [math] Discuss: New feature MiniBatchKMeansClusterer

2020-02-27 Thread chentao...@qq.com
-- chentao...@qq.com >Hi. > >Le jeu. 27 févr. 2020 à 06:17, chentao...@qq.com a écrit : >> >> Hi, >> >> > [...] >> >> >> >> >> >> Do you mean I should fire a JIRA issue about reuse "centroidOf"

Re: [math] Discuss: New feature MiniBatchKMeansClusterer

2020-02-26 Thread chentao...@qq.com
Hi, > [...] >> >> >> >> Do you mean I should fire a JIRA issue about reuse "centroidOf" and >> >> "chooseInitialCenters", >> >> then start a PR and a disscuss about "ClusterUtils"? >> >> And then start the PR of "MiniBatchKMeansClusterer" after all done? >> > >> >I cannot guarantee that the whole

Re: [math] Discuss: New feature MiniBatchKMeansClusterer

2020-02-26 Thread chentao...@qq.com
Hi, >Hello. > >[Please try and set your mail client to send plain text messages.] > >Le mer. 26 févr. 2020 à 14:05, CT a écrit : >> >> Hi Gilles, >> -- Original -- >> From: "GillesSadowski"> Date: Wed, Feb 26, 2020 05:41 PM >> To: "Commons Developers List"> >> Subj