Answer by erdogant for Grid search for hyperparameter evaluation of...
The clusteval library will help you to evaluate the data and find the optimal number of clusters. This library contains five methods that can be used to evaluate clusterings: silhouette, dbindex,...
View ArticleAnswer by Alexander B. for Grid search for hyperparameter evaluation of...
Ok, this might be an old question but I use this kind of code:First, we want to generate all the possible combinations of parameters:def make_generator(parameters): if not parameters: yield dict()...
View ArticleAnswer by Jakub Macina for Grid search for hyperparameter evaluation of...
Recently I ran into similar problem. I defined custom iterable cv_custom which defines splitting strategy and is an input for cross validation parameter cv. This iterable should contain one couple for...
View ArticleGrid search for hyperparameter evaluation of clustering in scikit-learn
I'm clustering a sample of about 100 records (unlabelled) and trying to use grid_search to evaluate the clustering algorithm with various hyperparameters. I'm scoring using silhouette_score which works...
View Article