Left to Solve
Problems / MathOverflow (not formalized)

Cluster minimizing sum of cost of clusters

Open, not yet stated in LeanMathOverflow (not formalized)Uncategoriseddifficulty55/100

Statement

Given a dataset having features, organize the units into fixed number of clusters with fixed cluster size

Clustering policy: minimize the sum of a linear combination of the average of the features inside the clusters. That is we must find st.: where w is the vector of the weight of the linear combination on the averages of the feature inside the clusters.

I'm wondering how to solve such a problem, keeping in mind that my dataset is very big (50k units) and also lots of clusters must be found. In particular: .

I tried approaching the problem as suggested here https://www.quora.com/Which-clustering-algorithms-can-be-run-on-a-dataset-of-3-million-samples, so I wrote my implementation of online k-means. However still for a single iterations it takes more than 20 minutes.

What is a good approach to the problem?

Posed by BiasedBayes · combinatorial-optimization, global-optimization, machine-learning

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-477949.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-477949.lean

import Mathlib

/-!
# Cluster minimizing sum of cost of clusters

Source: https://mathoverflow.net/questions/477949
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_477949

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_477949