{"id":"oscr:b:H3X8F0QH89775-N","url":"https://openscicode.org/b/oscr:b:H3X8F0QH89775-N","status":"current","doi":"10.1038/s41467-025-63229-0","since":"2026-11-14","page":"doi_10.1038_s41467-025-63229-0","repo":"github.com/ahwillia/lvl","commit":"1a390bd43d99571a43316c2cf9cfdee95271a89c","path":"lvl/factor_models/kmeans.py","swhid":"swh:1:cnt:16bf05c9f6909d769ff673c2c48a59ea5732babd","lines":[234,293],"symbol":"kmeans_lloyds","paragraphs":[[89,"Methods › Population analysis and clustering algorithm with optimized k-values"]],"method":"lexical-v1","origin":"machine","paper":"https://doi.org/10.1038/s41467-025-63229-0","swhid_qualified":"swh:1:cnt:16bf05c9f6909d769ff673c2c48a59ea5732babd;origin=https://github.com/ahwillia/lvl;anchor=swh:1:rev:1a390bd43d99571a43316c2cf9cfdee95271a89c;path=/lvl/factor_models/kmeans.py;lines=234-293","reader":"https://openscicode.org/paper/doi_10.1038_s41467-025-63229-0/?path=lvl%2Ffactor_models%2Fkmeans.py#L234-L293","citation":"Code block oscr:b:H3X8F0QH89775-N (https://openscicode.org/b/oscr:b:H3X8F0QH89775-N)\nlvl/factor_models/kmeans.py, lines 234 to 293, in github.com/ahwillia/lvl (https://github.com/ahwillia/lvl), commit 1a390bd43d99571a43316c2cf9cfdee95271a89c.\nPaper: https://doi.org/10.1038/s41467-025-63229-0\nSWHID: swh:1:cnt:16bf05c9f6909d769ff673c2c48a59ea5732babd;origin=https://github.com/ahwillia/lvl;anchor=swh:1:rev:1a390bd43d99571a43316c2cf9cfdee95271a89c;path=/lvl/factor_models/kmeans.py;lines=234-293"}