[scikit-learn] CLUSTER ANALYSIS AND THE SEARCH OF A SAMPLE MODE

Ulderico Santarelli ulderico.santarelli at gmail.com
Thu Sep 14 12:26:34 EDT 2023


      *I am an old guy who started programming around the seventies of the
last century* with ASSEMBLER 360, then FORTRAN, PL1, APL, IBM APPLICATION
SYSTEM and, last, the marvelous SAS. Having heard around about the
powerful, flexible, functionally complete PYTHON UNIVERSE”, encompassing an
advanced Object-Oriented Language and a very wide family of packages, I
decided to run an exercise about a problem I've been tackling since my
youth (have a look at the Bibliography). I succeeded in completing it in a
few days and I'm attaching my solution to the problem of finding the points
in a sample that are "central" in a surrounding topological neighborhood.
They are eligible as centroids for a Cluster Analysis after the aggregation
of "too near points'. The solution is based on the search of
potential wells in a suitable potential field, similar to the one all of us
studied in high school. Therefore, too near points may be in the same
potential well.
No more words, have a look at the attachment.
My coding is that of a beginner. I'm sure everybody would find more
efficient coding.  As a comment: I started studying Python around May 15th
2023.
My best regards.
Ulderico Santarelli.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/scikit-learn/attachments/20230914/a026149f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SAMPLE POINTS CENTRALITY INDEX.docx
Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
Size: 49923 bytes
Desc: not available
URL: <https://mail.python.org/pipermail/scikit-learn/attachments/20230914/a026149f/attachment-0001.docx>


More information about the scikit-learn mailing list