Changelog
Source:NEWS.md
tidyclust 0.2.3
- Update to fix revdep issue for clustMixType. (#190)
tidyclust 0.2.1
CRAN release: 2024-02-28
- Small change to let tune package have easy CRAN release. (#178)
tidyclust 0.2.0
CRAN release: 2023-09-25
Improvements
- Engine specific documentation has been added for all models and engines. (#159)
Bug Fixes
Fixed bug where engine specific arguments were passed along for
k_means()
when the engine ClusterR. (#142)Fixed bug where
prefix
argument wouldn’t be correctly passed throughextract_cluster_assignment()
,extract_centroids()
, andpredict()
(#145)Metric functions now error informatively if used with unfit cluster specifications. (#146)
Fixed bug that caused cluster ordering in extract_fit_summary(). (#136)
Using
extract_cluster_assignment()
,extract_centroids()
andpredict()
on a fittedhier_clust()
model without specifyingnum_clust
orcut_height
now gives more informative error message. (#147)k_means()
now errors informatively iffit()
withoutnum_clust
specified. (#134)Fixed bug where levels didn’t match number of clusters if prediction on fewer number of observations. (#158)
Fixed bug where
tune_cluster()
would error if used with an recipe that contained non-predictor variables such as id variables. (#124)
Breaking Changes
Exported internal functions
ClusterR_kmeans_fit()
,stats_kmeans_fit()
, andhclust_fit()
have been renamed to.k_means_fit_ClusterR()
,.k_means_fit_stats()
, and.hier_clust_fit_stats()
to reduce visibility for users.Cluster reordering is now done at the fitting time, not the extraction and prediction time. (#154)
tidyclust 0.1.2
CRAN release: 2023-02-23
- The cluster specification methods for
generics::tune_args()
andgenerics::tunable()
are now registered unconditionally (#115).
tidyclust 0.1.1
CRAN release: 2022-12-20
Fixed bug where
extract_cluster_assignment()
andpredict()
sometimes didn’t have agreement of clusters. (#94)silhouette()
andsilhouette_avg()
now return NAs instead of erroring when applied to a clustering object with 1 cluster. (#104)Fixed bug where
extract_cluster_assignment()
doesn’t work forhier_clust()
models in workflows wherenum_clusters
is specified inextract_cluster_assignment()
.