Learn R Programming

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

Clustering (version 1.7.2)

Execution of Multiple Clustering Algorithm

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.2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Luis Perez Martos

Last Published

January 7th, 2021

Functions in Clustering (1.7.2)

algorithm_cluster

cluster package algorithms
aggExCluster_euclidean

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

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

pvclust package algorithms
algorithm_clusterr

ClusterR package algorithms
algorithm_gama

gama package algorithms
algorithm_amap

amap package algorithms
algorithm_apcluster

apcluster package algorithms
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.
appClustering

Clustering GUI.
apclusterK_minkowski

Method that runs the apclusterK algorithm using the minkowski 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.
calculate_validation_internal_by_metrics

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

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

Method that returns all the algorithms executed by the package
calculate_result

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

Method that returns the list of used algorithms
calculate_validation_external_by_metrics

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

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

Best rated external metrics.
calculate_best_external_variables_by_metrics

Method that calculates the best rated external metrics
basketball

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

Method to calculate the entropy
calculate_best_internal_variables_by_metrics

Method that calculates the best rated internal metrics
daisy_euclidean_method

Method that runs the daisy algorithm using the euclidean metric to make an external or internal validation of the cluster.
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
fill_cluster_vector

Method that fill vector
fmeasure_metric

Method to calculate the f_measure
best_ranked_internal_metrics

Best rated internal metrics.
execute_datasets

Evaluation clustering algorithm.
diana_euclidean_method

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

Advclust package algorithms
daisy_manhattan_method

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

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

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

Method that runs the daisy algorithm using the gower metric to make an external or internal validation of the cluster.
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
connectivity_metric

Method to calculate the connectivity
external_validation

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

Method that return the extension of a file
evaluate_validation_external_by_metrics

Evaluate external validations by algorithm.
convert_numeric_matrix

Method that converts a matrix into numerical format
kmeans_rcpp_method

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

Method to calculate the connectivity
calculate_dunn

Method to calculate the dunn
measure_cluster

Metrics of the cluster algorithm
dunn_metric

Method to calculate the dunn
max_value_metric

Method that return max value of metric
clustering

Clustering algorithm.
clara_manhattan_method

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

Evaluation clustering algorithm.
gmm_manhattan_method

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

Export result of external metrics in latex.
export_file_internal

Export result of internal metrics in latex.
entropy_formula

Method for calculating entropy
evaluate_validation_internal_by_metrics

Evaluate internal validations by algorithm.
evaluate_best_validation_external_by_metrics

Evaluation of the algorithms by measures of dissimilarity.
evaluate_best_validation_internal_by_metrics

Evaluation of the algorithms by measures of dissimilarity.
information_external

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

Method to calculate the fowlkes and mallows
fanny_euclidean_method

Method that runs the fanny 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.
gama

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

Metrics of the pvclust algorithm
hclust_euclidean

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

Method that returns the list of used metrics
packages

Method that returns the list of used packages
gmm_euclidean_method

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

Method that runs the pam algorithm using the Euclidean metric to make an 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.
initializeExternalValidation

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

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

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

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

Metrics of the apcluster algorithm
information_internal

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

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

Method that checks for external metrics
internal_validation

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

Metrics of the advclust algorithm
initializeInternalValidation

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

Metrics of the gama algorithm
mona_method

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

Metrics of the ClusterR algorithm
number_columnas_external

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

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

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

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

Method to calculate the variation information
number_variables_dataset

Method that returns the number of variables in a dataset directory
show_result_external_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
silhouette_metric

Method to calculate the silhouette
metrics_internal

Method that returns the list of used internal metrics
result_external_algorithm_by_metric

External results by algorithm
sort.clustering

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

Metrics of the amap algorithm
mini_kmeans_method

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

Method to calculate the recall
pam_manhattan_method

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

Method that returns all the measures executed by the package
path_dataset

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

Internal results by algorithm
row_name_df_external

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

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

Method that format a number with four digits
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
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.
is_Internal_Metrics

Method that checks for internal metrics
plot_clustering

Graphic representation of the evaluation measures.
metrics_calculate

Method in charge of verifying the implemented 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.
kmeans_arma_method

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

Method that returns the list of used external metrics
pvpick_method

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

Method to calculate the precision
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.
read_file

Method that converts a dataset into a matrix
stock

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