% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/select_optimal_k.R
\name{select_optimal_k}
\alias{select_optimal_k}
\title{Select Optimal Number of Clusters}
\usage{
select_optimal_k(
  fuzzy_data,
  k_values,
  m = 2,
  epsilon = 1e-06,
  max_iter = 100,
  verbose = TRUE
)
}
\arguments{
\item{fuzzy_data}{List of TFN matrices.}

\item{k_values}{Numeric vector of candidate
cluster numbers.}

\item{m}{Fuzzifier parameter.}

\item{epsilon}{Convergence tolerance.}

\item{max_iter}{Maximum number of iterations.}

\item{verbose}{Logical; if TRUE,
prints progress messages.}
}
\value{
A list containing:
\itemize{
\item best_k Optimal number of clusters
\item xb_values Xie-Beni values
\item results List of clustering results
}
}
\description{
Runs the fuzzy clustering algorithm for
multiple candidate values of k and selects
the optimal one using the Xie-Beni index.
}
\keyword{internal}
