Learn R Programming

⚠️There's a newer version (1.7.7) of this package.Take me there.

Clustering (version 1.7.3)

Techniques for Evaluating Clustering

Description

The design of this package allows us to run different clustering packages and compare the results between them, to determine which algorithm behaves best from the data provided.

Copy Link

Version

Install

install.packages('Clustering')

Monthly Downloads

730

Version

1.7.3

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Luis Perez Martos

Last Published

September 22nd, 2021

Functions in Clustering (1.7.3)

algorithms_package

Method that returns all the algorithms executed by the package
connectivity_metric

Method to calculate the connectivity
appClustering

Clustering GUI.
clustering

Clustering algorithm.
evaluate_best_validation_external_by_metrics

Evaluation of the algorithms by measures of dissimilarity.
evaluate_all_column_dataset

Method in charge of calculating the average for all datasets using all the algorithms defined in the application.
bolts

Data from an experiment on the affects of machine adjustments on the time to count bolts.
calculate_best_internal_variables_by_metrics

Method that calculates the best rated internal metrics
basketball

This data set contains a series of statistics (5 attributes) about 96 basketball players:
calculate_best_validation_external_by_metrics

Method that calculates which algorithm and which metric behaves best for the datasets provided
calculate_best_external_variables_by_metrics

Method that calculates the best rated external metrics
apclusterK_euclidean

Method that runs the apclusterK algorithm using the euclidean metric to make an external or internal validation of the cluster.
clara_manhattan_method

Method that runs the clara algorithm using the manhattan metric to make an external or internal validation of the cluster.
clara_euclidean_method

Method that runs the clara algorithm using the euclidean metric to make an external or internal validation of the cluster.
external_validation

Method that applicate differents external metrics about a data frame or matrix, for example precision, recall etc
convert_numeric_matrix

Method that converts a matrix into numerical format
convert_table

Method in charge of creating a table from an array with the values of the variable used as a sample and another with the classification of the values
apclusterK_minkowski

Method that runs the apclusterK algorithm using the minkowski metric to make an external or internal validation of the cluster.
calculate_result

Method that returns the value or variable depending on where it is in the calculated metrics
calculate_dunn

Method to calculate the dunn
calculate_validation_external_by_metrics

Method that calculates which algorithm behaves best for the datasets provided
best_ranked_external_metrics

Best rated external metrics.
best_ranked_internal_metrics

Best rated internal metrics.
agnes_euclidean_method

Method that runs the agnes algorithm using the euclidean metric to make an external or internal validation of the cluster.
evaluate_validation_internal_by_metrics

Evaluate internal validations by algorithm.
calculate_validation_internal_by_metrics

Method that calculates which algorithm behaves best for the datasets provided
calculate_best_validation_internal_by_metrics

Method that calculates which algorithm and which metric behaves best for the datasets provided
fanny_euclidean_method

Method that runs the fanny algorithm using the euclidean metric to make an external or internal validation of the cluster.
gmm_manhattan_method

Method that runs the GMM algorithm using the Manhattan metric to make an external or internal validation of the cluster.
apclusterK_manhattan

Method that runs the apclusterK algorithm using the manhattan metric to make an external or internal validation of the cluster.
execute_datasets

Evaluation clustering algorithm.
export_file_external

Export result of external metrics in latex.
information_external

Method that returns an array with the external information of the cluster
fmeasure_metric

Method to calculate the f_measure
fanny_manhattan_method

Method that runs the fanny algorithm using the manhattan metric to make an external or internal validation of the cluster.
fowlkes_mallows_index_metric

Method to calculate the fowlkes and mallows
execute_package_parallel

Evaluation clustering algorithm.
daisy_manhattan_method

Method that runs the daisy algorithm using the manhattan metric to make an external or internal validation of the cluster.
diana_euclidean_method

Method that runs the diana algorithm using the euclidean metric to make an external or internal validation of the cluster.
information_internal

Method that returns an array with the internal information of the cluster
internal_validation

Method that applicate differents internal metrics about a data frame or matrix, for example dunn, connectivity etc
daisy_euclidean_method

Method that runs the daisy algorithm using the euclidean metric to make an external or internal validation of the cluster.
is_Internal_Metrics

Method that checks for internal metrics
fill_cluster_vector

Method that fill vector
is_External_Metrics

Method that checks for external metrics
calculate_connectivity

Method to calculate the connectivity
hclust_euclidean

Method that runs the hclust using the Euclidean metric to make an external or internal validation of the cluster.
measure_advclust

Metrics of the advclust algorithm
detect_definition_attribute

Method in charge of detecting the limit of a dataset header.
evaluate_best_validation_internal_by_metrics

Evaluation of the algorithms by measures of dissimilarity.
daisy_gower_method

Method that runs the daisy algorithm using the gower metric to make an external or internal validation of the cluster.
evaluate_validation_external_by_metrics

Evaluate external validations by algorithm.
export_file_internal

Export result of internal metrics in latex.
mini_kmeans_method

Method that runs the MiniBatchKmeans algorithm using the Euclidean metric to make an external or internal validation of the cluster
measure_amap

Metrics of the amap algorithm
kmeans_arma_method

Method that runs the KMeans_arma algorithm using the Euclidean metric to make an external or internal validation of the cluster
entropy_formula

Method for calculating entropy
pam_euclidean_method

Method that runs the pam algorithm using the Euclidean metric to make an external or internal validation of the cluster.
metrics

Method that returns the list of used metrics
mona_method

Method that runs the mona algorithm to make an external or internal validation of the cluster.
kmeans_rcpp_method

Method that runs the KMeans_rcpp algorithm using the Euclidean metric to make an external or internal validation of the cluster.
max_value_metric

Method that return max value of metric
number_variables_dataset

Method that returns the number of variables in a dataset directory
dunn_metric

Method to calculate the dunn
metrics_calculate

Method in charge of verifying the implemented metrics
stulong

The study was performed at the 2nd Department of Medicine, 1st Faculty of Medicine of Charles University and Charles University Hospital. The data were transferred to electronic form by the European Centre of Medical Informatics, Statisticsand Epidemiology of Charles University and Academy of Sciences.
[.clustering

Filter metrics in a clustering object returning a new clustering object.
packages

Method that returns the list of used packages
specify_decimal

Method that format a number with four digits
extension_file

Method that return the extension of a file
show_result_internal_algorithm_by_metric

Method that returns a table with the algorithm and the metric indicated as parameters
show_result_internal_algorithm_group_by_clustering

Method in charge of obtaining a table with the results of the algorithms grouped by clusters, calculating the maximum value of each internal metrics
fuzzy_gk_method

Method that runs the fuzzy.GK algorithm using the Euclidean metric to make an external or internal validation of the cluster.
fuzzy_cm_method

Method that runs the fuzzy.CM algorithm using the Euclidean metric to make an external or internal validation of the cluster.
measure_cluster

Metrics of the cluster algorithm
entropy_metric

Method to calculate the entropy
row_name_df_external

Method in charge of obtaining those metrics that are external from those indicated
pam_manhattan_method

Method that runs the pam algorithm using the Manhattan metric to make an external or internal validation of the cluster
stock

The data provided are daily stock prices from January 1988 through October 1991, for ten aerospace companies.
measure_clusterr

Metrics of the ClusterR algorithm
fuzzy_gg_method

Method that runs the fuzzy.GG algorithm using the Euclidean metric to make an external or internal validation of the cluster.
initializeInternalValidation

Method that return a list of external validation initialized to zero
measure_pvclust

Metrics of the pvclust algorithm
initializeExternalValidation

Method that return a list of internal validation initialized to zero
measure_apcluster

Metrics of the apcluster algorithm
metrics_internal

Method that returns the list of used internal metrics
measure_calculate

Method that returns all the measures executed by the package from the indicated algorithms
gmm_euclidean_method

Method that runs the GMM algorithm using the Euclidean metric to make an external or internal validation of the cluster.
measure_package

Method that returns all the measures executed by the package
metrics_external

Method that returns the list of used external metrics
row_name_df_internal

Method in charge of obtaining those metrics that are internal from those indicated
plot_clustering

Graphic representation of the evaluation measures.
result_external_algorithm_by_metric

External results by algorithm
number_columnas_external

Method that returns how many external metrics there are in the array of metrics used in the calculation
path_dataset

Method that return a list of files that exists in a directory
result_internal_algorithm_by_metric

Internal results by algorithm
pvclust_euclidean_method

Method that runs the pvclust algorithm using the Euclidean metric to make an external or internal validation of the cluster.
number_columnas_internal

Method that returns how many internal metrics there are in the array of metrics used in the calculation
precision_metric

Method to calculate the precision
read_file

Method that converts a dataset into a matrix
pvpick_method

Method that runs the pvpick algorithm to make an external or internal validation of the cluster.
silhouette_metric

Method to calculate the silhouette
pvclust_correlation_method

Method that runs the pvclust algorithm using the Correlation metric to make an external or internal validation of the cluster.
variation_information_metric

Method to calculate the variation information
recall_metric

Method to calculate the recall
weather

One of the most known testing data sets in machine learning. This data sets describes several situations where the weather is suitable or not to play sports, depending on the current outlook, temperature, humidity and wind.
sort.clustering

Returns the clustering result sorted by a set of metrics.
show_result_external_algorithm_by_metric

Method that returns a table with the algorithm and the metric indicated as parameters
show_result_external_algorithm_group_by_clustering

Method in charge of obtaining a table with the results of the algorithms grouped by clusters, calculating the maximum value of each external metrics
algorithm_cluster

cluster package algorithms
algorithm_advclust

Advclust package algorithms
algorithms

Method that returns the list of used algorithms
aggExCluster_euclidean

Method that runs the aggExcluster algorithm using the Euclidean metric to make an external or internal validation of the cluster.
agnes_manhattan_method

Method that runs the agnes algorithm using the manhattan metric to make an external or internal validation of the cluster
algorithm_pvclust

pvclust package algorithms
algorithm_amap

amap package algorithms
algorithm_apcluster

apcluster package algorithms
algorithm_clusterr

ClusterR package algorithms