Learn R Programming

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

Clustering (version 1.7)

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

927

Version

1.7

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Luis Perez Martos

Last Published

October 25th, 2020

Functions in Clustering (1.7)

algorithm_advclust

Advclust package algorithms
apclusterK_minkowski

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

Best rated external metrics.
basketball

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

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

Best rated internal metrics.
clara_euclidean_method

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

Method that runs the daisy algorithm using the euclidean 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
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
calculate_validation_external_by_metrics

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

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

ClusterR package algorithms
apclusterK_euclidean

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

Evaluate external validations by algorithm.
apclusterK_manhattan

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

Method that return the extension of a file
entropy_formula

Method for calculating entropy
measure_advclust

Metrics of the advclust algorithm
dunn_metric

Method to calculate the dunn
export_file_external

Export result of external metrics in latex.
external_validation

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

Method to calculate the connectivity
export_file_internal

Export result of internal metrics in latex.
evaluate_validation_internal_by_metrics

Evaluate internal validations by algorithm.
connectivity_metric

Method to calculate the connectivity
algorithms

Method that returns the list of used algorithms
daisy_gower_method

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

Method to calculate the dunn
convert_numeric_matrix

Method that converts a matrix into numerical format
fill_cluster_vector

Method that fill vector
metrics_internal

Method that returns the list of used internal metrics
number_columnas_internal

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

Method that returns all the algorithms executed by the package
calculate_best_internal_variables_by_metrics

Method that calculates the best rated internal metrics
fmeasure_metric

Method to calculate the f_measure
clara_manhattan_method

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

Method that calculates the best rated external metrics
appClustering

Clustering GUI.
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
row_name_df_internal

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

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

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

Clustering algorithm.
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_gg_method

Method that runs the fuzzy.GG 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.
initializeInternalValidation

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

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

Method that calculates which algorithm and which metric behaves best for the datasets provided
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.
evaluate_best_validation_external_by_metrics

Evaluation of the algorithms by measures of dissimilarity.
max_value_metric

Method that return max value of metric
is_External_Metrics

Method that checks for external metrics
measure_cluster

Metrics of the cluster algorithm
internal_validation

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

Metrics of the ClusterR algorithm
fowlkes_mallows_index_metric

Method to calculate the fowlkes and mallows
is_Internal_Metrics

Method that checks for internal metrics
gmm_euclidean_method

Method that runs the GMM 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.
result_external_algorithm_by_metric

External results by algorithm
recall_metric

Method to calculate the recall
sort.clustering

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

Method that format a number with four digits
packages

Method that returns the list of used packages
daisy_manhattan_method

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

Internal results by algorithm
pam_euclidean_method

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

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

The data provided are daily stock prices from January 1988 through October 1991, for ten aerospace companies.
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.
show_result_internal_algorithm_by_metric

Method that returns a table with the algorithm and the metric indicated as parameters
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.
mona_method

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

Method that returns the list of used external metrics
information_internal

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

Method in charge of verifying the implemented metrics
information_external

Method that returns an array with the external information 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
execute_datasets

Evaluation clustering algorithm.
execute_package_parallel

Evaluation clustering algorithm.
entropy_metric

Method to calculate the entropy
[.clustering

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

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

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

Method to calculate the variation information
read_file

Method that converts a dataset into a matrix
fanny_euclidean_method

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

Metrics of the gama algorithm
evaluate_all_column_dataset

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

Method that runs the fanny algorithm using the manhattan 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.
measure_apcluster

Metrics of the apcluster algorithm
hclust_euclidean

Method that runs the gama hcluster 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
plot_clustering

Graphic representation of the evaluation measures.
precision_metric

Method to calculate the precision
pvclust_correlation_method

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

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

Method to calculate the silhouette
measure_pvclust

Metrics of the pvclust algorithm
pam_manhattan_method

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

Method that returns the list of used metrics
measure_calculate

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

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

pvclust package algorithms
algorithm_cluster

cluster package algorithms
algorithm_gama

gama package algorithms
algorithm_apcluster

apcluster package algorithms
algorithm_amap

amap package algorithms
agnes_manhattan_method

Method that runs the agnes algorithm using the manhattan 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.
aggExCluster_euclidean

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