Defines functions minWeightBipartiteMatching

Documented in minWeightBipartiteMatching

#' Matching label
#' @description Matching label of 2 cluster via Hungary Algorithm
#' @param x an fuzzycluster object
#' @param y an fuzzy cluster object
#' @import clue

minWeightBipartiteMatching <- function(x, y) {
    stop("Both x and y must fuzzy clustering object")
  nA <- nrow(member(x))  # number of instances in x
  nB <- nrow(member(y))  # number of instances in y
  if ( nA != nB) {
    stop("number of cluster or number of instances do not match")

  # optimization
  result <- solve_LSAP(dissmilarity, maximum = FALSE)

Try the advclust package in your browser

Any scripts or data that you put into this service are public.

advclust documentation built on May 30, 2017, 1:42 a.m.