The clustMixType engine as been added to k_means()
. This engine allows fitting of k-prototype models. (#63)
The klaR engine as been added to k_means()
. This engine allows fitting of k-modes models. (#63)
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 through extract_cluster_assignment()
, extract_centroids()
, and predict()
(#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()
and predict()
on a fitted hier_clust()
model without specifying num_clust
or cut_height
now gives more informative error message. (#147)
k_means()
now errors informatively if fit()
without num_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)
Exported internal functions ClusterR_kmeans_fit()
, stats_kmeans_fit()
, and hclust_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)
generics::tune_args()
and generics::tunable()
are now registered unconditionally (#115).Fixed bug where extract_cluster_assignment()
and predict()
sometimes didn't have agreement of clusters. (#94)
silhouette()
and silhouette_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 for hier_clust()
models in workflows where num_clusters
is specified in extract_cluster_assignment()
.
NEWS.md
file to track changes to the package.