Package: tidyclust 0.2.3

Emil Hvitfeldt

tidyclust:A Common API to Clustering

A common interface to specifying clustering models, in the same style as 'parsnip'. Creates unified interface across different functions and computational engines.

Authors:Emil Hvitfeldt [aut, cre], Kelly Bodwin [aut], Posit Software, PBC [cph, fnd]

tidyclust_0.2.3.tar.gz
tidyclust_0.2.3.tar.gz(r-4.5-noble)tidyclust_0.2.3.tar.gz(r-4.4-noble)
tidyclust_0.2.3.tgz(r-4.4-emscripten)tidyclust_0.2.3.tgz(r-4.3-emscripten)
tidyclust.pdf |tidyclust.html
tidyclust/json (API)
NEWS

# Installtidyclust in R:
install.packages('tidyclust',repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/tidymodels/tidyclust/issues

62 exports 0.49 score 91 dependencies 2.0k downloads

Last updated 3 days agofrom:876a5a3e19

Exports:.hier_clust_fit_stats.k_means_fit_ClusterR.k_means_fit_clustMixType.k_means_fit_klaR.k_means_fit_stats%>%augmentcluster_metric_setcontrol_clustercut_heightextract_centroidsextract_cluster_assignmentextract_fit_engineextract_fit_parsnipextract_fit_summaryextract_parameter_set_dialsextract_preprocessorextract_spec_parsnipfinalize_model_tidyclustfinalize_workflow_tidyclustfitfit_xyfit_xy.cluster_specfit.cluster_specget_tidyclust_colorsglancehier_clustk_meansknit_engine_docslinkage_methodlist_md_problemsload_pkgsmake_classes_tidyclustmin_gridnew_cluster_metricnew_cluster_specpredict_clusterpredict_cluster.cluster_fitpredict_rawpredict_raw.cluster_fitpredict.cluster_fitreconcile_clusterings_mappingrequired_pkgsset_argsset_engineset_modesilhouettesilhouette_avgsilhouette_avg_vecsse_ratiosse_ratio_vecsse_totalsse_total_vecsse_withinsse_within_totalsse_within_total_vectidytranslate_tidyclusttranslate_tidyclust.defaulttunetune_clustervalues_linkage_method

Dependencies:classcliclockcodetoolscolorspacecpp11data.tablediagramdialsDiceDesigndigestdoFuturedplyrellipsisfansifarverflexclustforeachfurrrfuturefuture.applygenericsggplot2globalsgluegowerGPfitgtablehardhatipredisobanditeratorsKernSmoothlabelinglatticelavalhslifecyclelistenvlubridatemagrittrMASSMatrixmgcvmodelenvmodeltoolsmunsellnlmennetnumDerivparallellyparsnippillarpkgconfigprettyunitsprodlimprogressrpurrrR6RColorBrewerRcppRcppArmadilloRcppGSLRcppParallelRcppZigguratrecipesRfastrlangrpartrsamplescalesshapesliderSQUAREMstringistringrsurvivaltibbletidyrtidyselecttimechangetimeDatetunetzdbutf8vctrsviridisLitewarpwithrworkflowsyardstick

Readme and manuals

Help Manual

Help pageTopics
Augment data with predictionsaugment.cluster_fit
Model Fit Object Informationcluster_fit
Combine metric functionscluster_metric_set
Model Specification Informationcluster_spec
Control the fit functioncontrol_cluster
Cut Heightcut_height
Extract clusters from modelextract_centroids
Extract cluster assignments from modelextract_cluster_assignment
S3 method to get fitted model summary info depending on engineextract_fit_summary
Extract elements of a tidyclust model objectextract-tidyclust extract_fit_engine.cluster_fit extract_parameter_set_dials.cluster_spec
Splice final parameters into objectsfinalize_model_tidyclust finalize_workflow_tidyclust
Fit a Model Specification to a Data Setfit.cluster_spec fit_xy.cluster_spec
Computes distance from observations to centroidsget_centroid_dists
Construct a single row summary "glance" of a model, fit, or other objectglance.cluster_fit
Hierarchical (Agglomerative) Clusteringhier_clust
K-Meansk_means
The agglomeration Linkage methodlinkage_method values_linkage_method
Determine the minimum set of model fitsmin_grid.cluster_spec
Construct a new clustering metric functionnew_cluster_metric
Model predictionspredict.cluster_fit predict_raw.cluster_fit
Prepares data and distance matrices for metric calculationprep_data_dist
Relabels clusters to match another cluster assignmentreconcile_clusterings_mapping
Change arguments of a cluster specificationset_args.cluster_spec
Change engine of a cluster specificationset_engine.cluster_spec
Change mode of a cluster specificationset_mode.cluster_spec
Measures silhouette between clusterssilhouette
Measures average silhouette across all observationssilhouette_avg silhouette_avg.cluster_fit silhouette_avg.cluster_spec silhouette_avg.workflow silhouette_avg_vec
Compute the ratio of the WSS to the total SSEsse_ratio sse_ratio.cluster_fit sse_ratio.cluster_spec sse_ratio.workflow sse_ratio_vec
Compute the total sum of squaressse_total sse_total.cluster_fit sse_total.cluster_spec sse_total.workflow sse_total_vec
Calculates Sum of Squared Error in each clustersse_within
Compute the sum of within-cluster SSEsse_within_total sse_within_total.cluster_fit sse_within_total.cluster_spec sse_within_total.workflow sse_within_total_vec
Turn a tidyclust model object into a tidy tibbletidy.cluster_fit
Resolve a Model Specification for a Computational Enginetranslate_tidyclust translate_tidyclust.default
Model tuning via grid searchtune_cluster tune_cluster.cluster_spec tune_cluster.workflow
Update a cluster specificationtidyclust_update update.hier_clust update.k_means