kmeans module¶
A k-means classification of the optimization history¶
-
class
gemseo.post.kmeans.
KMeans
(opt_problem)[source]¶ Bases:
gemseo.post.opt_post_processor.OptPostProcessor
The 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
MiniBatchKMeans
class of thecluster
module of the scikit-learn library .Constructor
- Parameters
opt_problem – the optimization problem to run