Package: tidyclust 0.2.3.9000

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.9000.tar.gz
tidyclust_0.2.3.9000.zip(r-4.5)tidyclust_0.2.3.9000.zip(r-4.4)tidyclust_0.2.3.9000.zip(r-4.3)
tidyclust_0.2.3.9000.tgz(r-4.4-any)tidyclust_0.2.3.9000.tgz(r-4.3-any)
tidyclust_0.2.3.9000.tar.gz(r-4.5-noble)tidyclust_0.2.3.9000.tar.gz(r-4.4-noble)
tidyclust_0.2.3.9000.tgz(r-4.4-emscripten)tidyclust_0.2.3.9000.tgz(r-4.3-emscripten)
tidyclust.pdf |tidyclust.html
tidyclust/json (API)
NEWS

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

Peer review:

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

Pkgdown site:https://tidyclust.tidymodels.org

On CRAN:

7.35 score 109 stars 136 scripts 1.9k downloads 62 exports 93 dependencies

Last updated 6 months agofrom:0c6d2479ca. Checks:OK: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 04 2024
R-4.5-winWARNINGDec 04 2024
R-4.5-linuxWARNINGDec 04 2024
R-4.4-winWARNINGDec 04 2024
R-4.4-macWARNINGDec 04 2024
R-4.3-winWARNINGDec 04 2024
R-4.3-macWARNINGDec 04 2024

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.tablediagramdialsDiceDesigndigestdoFuturedplyrfansifarverflexclustforeachfurrrfuturefuture.applygenericsggplot2globalsgluegowerGPfitgtablehardhatipredisobanditeratorsKernSmoothlabelinglatticelavalhslifecyclelistenvlubridatemagrittrMASSMatrixmgcvmodelenvmodeltoolsmunsellnlmennetnumDerivparallellyparsnippillarpkgconfigprettyunitsprodlimprogressrpurrrR6RColorBrewerRcppRcppArmadilloRcppGSLRcppParallelRcppZigguratrecipesRfastrlangrpartrsamplescalessfdshapeslidersparsevctrsSQUAREMstringistringrsurvivaltailortibbletidyrtidyselecttimechangetimeDatetunetzdbutf8vctrsviridisLitewarpwithrworkflowsyardstick

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