kmeans module¶
A k-means classification of the optimization history¶
-
class
gemseo.post.kmeans.KMeans(opt_problem)[source]¶ Bases:
gemseo.post.opt_post_processor.OptPostProcessorThe KMeans post processing performs a k-means clustering on optimization history.
The default number of clusters is 5 and can be modified in option.
The k-means construction depends on the
MiniBatchKMeansclass of theclustermodule of the scikit-learn library .Constructor
- Parameters
opt_problem – the optimization problem to run