Learn R Programming

Clustering (version 1.7.7)

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

989

Version

1.7.7

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

June 22nd, 2022

Functions in Clustering (1.7.7)

agnes_manhattan_method

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

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

Method that returns the list of used algorithms
algorithm_pvclust

pvclust package algorithms
algorithm_clusterr

ClusterR package algorithms
algorithm_cluster

cluster package algorithms
algorithm_apcluster

apcluster package algorithms
algorithms_package

Method that returns all the algorithms executed by the package
agnes_euclidean_method

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

amap package algorithms
apclusterK_minkowski

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

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

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

Clustering GUI.
calculate_result_internal

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

Method that calculates which algorithm behaves best for the datasets provided.
calculate_validation_external_by_metrics

Method that calculates which algorithm behaves best for the datasets provided.
calculate_best_internal_variables_by_metrics

Method that calculates the best rated internal metrics.
calculate_best_external_variables_by_metrics

Method that calculates the best rated external metrics.
best_ranked_external_metrics

Best rated external metrics.
clustering

Clustering algorithm.
connectivity_metric

Method to calculate the connectivity.
convert_toOrdinal

Method to convert columns to ordinal.
calculate_best_validation_external_by_metrics

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

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

Best rated internal metrics.
evaluate_best_validation_internal_by_metrics

Evaluates algorithms by measures of dissimilarity based on a metric.
apclusterK_manhattan

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

Method that runs the apClusterK algorithm using the Euclidean 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.
dataframe_by_metrics_evaluation

Method to filter only the external measurement columns
clara_manhattan_method

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

Method to calculate the f_measure.
fowlkes_mallows_index_metric

Method to calculate the fowlkes and mallows.
evaluate_best_validation_external_by_metrics

Evaluates algorithms by measures of dissimilarity based on a metric.
export_file_internal

Export result of internal metrics in latex.
extension_file

Method that return the extension of a file
evaluate_all_column_dataset

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

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

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

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

Method that return a list of internal validation initialized to zero.
evaluate_validation_external_by_metrics

Evaluate external validations by algorithm.
external_validation

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

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

Metrics of the apcluster algorithm
is_Internal_Metrics

Method that checks for internal metrics
max_value_metric

Method that return max value of metric.
is_External_Metrics

Method that checks for external metrics
fanny_euclidean_method

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

Method that returns the list of used metrics
measure_amap

Metrics of the amap algorithm
metrics_internal

Method that returns the list of used internal metrics
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.
convert_numeric_matrix

Method that converts a matrix into numerical format.
metrics_calculate

Method in charge of verifying the implemented metrics
number_variables_dataset

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

Method that returns the list of used packages
entropy_formula

Method for calculating entropy.
read_file

Method that converts a dataset into a matrix
calculate_connectivity

Method to calculate the Connectivity
recall_metric

Method to calculate the recall.
calculate_dunn

Method to calculate the dunn.
metrics_external

Method that returns the list of used external metrics
bolts

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

Evaluate internal validations by algorithm.
daisy_manhattan_method

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

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

Evaluation clustering algorithm.
plot_clustering

Graphic representation of the evaluation measures.
pam_euclidean_method

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

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

Method to calculate the entropy.
dunn_metric

Method to calculate the dunn.
show_result_external_algorithm_by_metric

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

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

Method that runs the pam 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.
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.
refactorName

Method for refactoring the distance measurement name.
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.
variation_information_metric

Method to calculate the variation information.
execute_package_parallel

Evaluation clustering algorithm.
initializeInternalValidation

Method that return a list of external validation initialized to zero.
gmm_manhattan_method

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

Method for filtering clustering results.
fill_cluster_vector

Method that fill vector
internal_validation

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

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

Method that format a number with four digits
show_result_internal_algorithm_by_metric

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

Method that runs the kmeans_arma algorithm using the Euclidean metric 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.
stock

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

Method for filtering external columns of a dataset.
transform_dataset_internal

Method for filtering internal columns of a dataset.
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.
export_file_external

Export result of external metrics in latex.
measure_pvclust

Metrics of the pvclust algorithm
number_columnas_external

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

Method that returns all the measures executed by the package
information_external

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

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

Metrics of the cluster algorithm
mini_kmeans_method

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

Metrics of the ClusterR algorithm
mona_method

Method that runs the mona algorithm using external or internal validation of the cluster.
pvclust_euclidean_method

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

Method to calculate the precision.
row_name_df_external

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

Method that runs the pvpick algorithm using an external or internal validation of the cluster.
row_name_df_internal

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

Internal results by algorithm
[.clustering

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

External results by algorithm.
silhouette_metric

Method to calculate the silhouette.
number_columnas_internal

Method that returns how many internal metrics there are in the array of metrics used in the calculation
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.
sort.clustering

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

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