Package: partitionComparison 0.2.6
partitionComparison: Implements Measures for the Comparison of Two Partitions
Provides several measures ((dis)similarity, distance/metric, correlation, entropy) for comparing two partitions of the same set of objects. The different measures can be assigned to three different classes: Pair comparison (containing the famous Jaccard and Rand indices), set based, and information theory based. Many of the implemented measures can be found in Albatineh AN, Niewiadomska-Bugaj M and Mihalko D (2006) <doi:10.1007/s00357-006-0017-z> and Meila M (2007) <doi:10.1016/j.jmva.2006.11.013>. Partitions are represented by vectors of class labels which allow a straightforward integration with existing clustering algorithms (e.g. kmeans()). The package is mostly based on the S4 object system.
Authors:
partitionComparison_0.2.6.tar.gz
partitionComparison_0.2.6.zip(r-4.5)partitionComparison_0.2.6.zip(r-4.4)partitionComparison_0.2.6.zip(r-4.3)
partitionComparison_0.2.6.tgz(r-4.4-any)partitionComparison_0.2.6.tgz(r-4.3-any)
partitionComparison_0.2.6.tar.gz(r-4.5-noble)partitionComparison_0.2.6.tar.gz(r-4.4-noble)
partitionComparison_0.2.6.tgz(r-4.4-emscripten)partitionComparison_0.2.6.tgz(r-4.3-emscripten)
partitionComparison.pdf |partitionComparison.html✨
partitionComparison/json (API)
# Install 'partitionComparison' in R: |
install.packages('partitionComparison', repos = c('https://kit-iism-em.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/kit-iism-em/partitioncomparison/issues
comparisondissimilarity-measuresdistance-measurespartitionssimilarity-measures
Last updated 1 years agofrom:abea0d0e96. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 12 2024 |
R-4.5-win | OK | Nov 12 2024 |
R-4.5-linux | OK | Nov 12 2024 |
R-4.4-win | OK | Nov 12 2024 |
R-4.4-mac | OK | Nov 12 2024 |
R-4.3-win | OK | Nov 12 2024 |
R-4.3-mac | OK | Nov 12 2024 |
Exports:adjustedRandIndexbaulieu1baulieu2classificationErrorDistancecompareAllcomputePairCoefficientsczekanowskidongensMetricentropyfagerMcGowanfolwkesMallowsIndexgammaStatisticsgoodmanKruskalgowerLegendrehamannjaccardCoefficientkulczynskilarsenAonelermanIndexmcconnaugheyminkowskiMeasuremirkinMetricmutualInformationNN00N01N01pN10N10pN11N12N21normalizedLermanIndexnormalizedMutualInformationPairCoefficientsPartitionpearsonpeirceprojectionNumberrandIndexregisterPartitionVectorSignaturesrogersTanimotorusselRaorvCoefficientsokalSneath1sokalSneath2sokalSneath3variationOfInformationwallaceIwallaceII
Readme and manuals
Help Manual
Help page | Topics |
---|---|
partitionComparison: Implements Measures for the Comparison of Two Partitions | partitionComparison-package partitionComparison |
Subsetting Partition instances | [<-,Partition-method |
Adjusted Rand Index | adjustedRandIndex adjustedRandIndex,PairCoefficients,missing-method adjustedRandIndex,Partition,Partition-method |
Baulieu Index 1 | baulieu1 baulieu1,PairCoefficients,missing-method baulieu1,Partition,Partition-method |
Baulieu Index 2 | baulieu2 baulieu2,PairCoefficients,missing-method baulieu2,Partition,Partition-method |
Classification Error Distance | classificationErrorDistance classificationErrorDistance,Partition,Partition-method |
Compare two partitions with all measures | compareAll compareAll,Partition,Partition-method |
Compute the four coefficients N_{11}, N_{10}, N_{01}, N_{00} | computePairCoefficients |
Czekanowski Index | czekanowski czekanowski,PairCoefficients,missing-method czekanowski,Partition,Partition-method |
Dongen's Metric | dongensMetric dongensMetric,Partition,Partition-method |
Entropy | entropy entropy,ANY,missing-method entropy,numeric,numeric-method entropy,Partition,numeric-method |
Fager & McGowan Index | fagerMcGowan fagerMcGowan,PairCoefficients,missing-method fagerMcGowan,Partition,Partition-method |
Folwkes & Mallows Index | folwkesMallowsIndex folwkesMallowsIndex,PairCoefficients,missing-method folwkesMallowsIndex,Partition,Partition-method |
Gamma Statistics | gammaStatistics gammaStatistics,PairCoefficients,missing-method gammaStatistics,Partition,Partition-method |
Goodman & Kruskal Index | goodmanKruskal goodmanKruskal,PairCoefficients,missing-method goodmanKruskal,Partition,Partition-method |
Gower & Legendre Index | gowerLegendre gowerLegendre,PairCoefficients,missing-method gowerLegendre,Partition,Partition-method |
Hamann Coefficient | hamann hamann,PairCoefficients,missing-method hamann,Partition,Partition-method |
Jaccard Coefficient | jaccardCoefficient jaccardCoefficient,PairCoefficients,missing-method jaccardCoefficient,Partition,Partition-method |
Kulczynski Index | kulczynski kulczynski,PairCoefficients,missing-method kulczynski,Partition,Partition-method |
Larsen & Aone Measure | larsenAone larsenAone,Partition,Partition-method |
Lerman Index | lermanIndex lermanIndex,Partition,Partition,missing-method lermanIndex,Partition,Partition,PairCoefficients-method |
McConnaughey Index | mcconnaughey mcconnaughey,PairCoefficients,missing-method mcconnaughey,Partition,Partition-method |
Minkowski Measure | minkowskiMeasure minkowskiMeasure,PairCoefficients,missing-method minkowskiMeasure,Partition,Partition-method |
Mirkin Metric | mirkinMetric mirkinMetric,PairCoefficients,missing-method mirkinMetric,Partition,Partition-method |
Mutual Information | mutualInformation mutualInformation,Partition,Partition-method |
Method to retrieve the complex coefficient N | N N,PairCoefficients-method |
Method to retrieve the coefficient N_{00} | N00 N00,PairCoefficients-method |
Method to retrieve the coefficient N_{01} | N01 N01,PairCoefficients-method |
Method to retrieve the complex coefficient N'_{01} | N01p N01p,PairCoefficients-method |
Method to retrieve the coefficient N_{10} | N10 N10,PairCoefficients-method |
Method to retrieve the complex coefficient N'_{10} | N10p N10p,PairCoefficients-method |
Method to retrieve the coefficient N_{11} | N11 N11,PairCoefficients-method |
Method to retrieve the complex coefficient N_{12} | N12 N12,PairCoefficients-method |
Method to retrieve the complex coefficient N_{21} | N21 N21,PairCoefficients-method |
Normalized Lerman Index | normalizedLermanIndex normalizedLermanIndex,Partition,Partition,missing-method normalizedLermanIndex,Partition,Partition,PairCoefficients-method |
Normalized Mutual Information | normalizedMutualInformation normalizedMutualInformation,Partition,Partition,character-method normalizedMutualInformation,Partition,Partition,missing-method |
S4 class to represent coefficients of object pairs for the comparison of two object partitions (say P and Q). | PairCoefficients PairCoefficients-class |
Simple S4 class to represent a partition of objects as vector of class labels. | Partition Partition-class |
Pearson Index | pearson pearson,PairCoefficients,missing-method pearson,Partition,Partition-method |
Peirce Index | peirce peirce,PairCoefficients,missing-method peirce,Partition,Partition-method |
Compute the projection number of two partitions | projectionNumber |
Rand Index | randIndex randIndex,PairCoefficients,missing-method randIndex,Partition,Partition-method |
Make comparison measures usable with any vectors | registerPartitionVectorSignatures |
Rogers & Tanimoto Index | rogersTanimoto rogersTanimoto,PairCoefficients,missing-method rogersTanimoto,Partition,Partition-method |
Russel & Rao Index | russelRao russelRao,PairCoefficients,missing-method russelRao,Partition,Partition-method |
RV Coefficient | rvCoefficient rvCoefficient,PairCoefficients,missing-method rvCoefficient,Partition,Partition-method |
Sokal & Sneath Index 1 | sokalSneath1 sokalSneath1,PairCoefficients,missing-method sokalSneath1,Partition,Partition-method |
Sokal & Sneath Index 2 | sokalSneath2 sokalSneath2,PairCoefficients,missing-method sokalSneath2,Partition,Partition-method |
Sokal & Sneath Index 3 | sokalSneath3 sokalSneath3,PairCoefficients,missing-method sokalSneath3,Partition,Partition-method |
Variation of Information | variationOfInformation variationOfInformation,Partition,Partition-method |
Wallace I | wallaceI wallaceI,PairCoefficients,missing-method wallaceI,Partition,Partition-method |
Wallace II | wallaceII wallaceII,PairCoefficients,missing-method wallaceII,Partition,Partition-method |