https://github.com/cran/FSelector
Raw File
Tip revision: 04f271f14fba8652b1ba48e065b58dbbc8b36bbd authored by Piotr Romanski on 11 April 2009, 00:00 UTC
version 0.15
Tip revision: 04f271f
consistency.Rd
\name{consistency}
\alias{consistency}
\title{ Consistency-based filter }
\description{
  The algorithm finds attribute subset using consistency measure for continous and discrete data.  
}
\usage{
consistency(formula, data)
}
\arguments{
  \item{formula}{ a symbolic description of a model }
  \item{data}{ data to process }
}
\details{
  The alorithm makes use of \code{\link{best.first.search}} for searching the attribute subset space.
}
\seealso{ \code{\link{best.first.search}} }
\value{
a character vector containing chosen attributes
}
\author{ Piotr Romanski }
\examples{
  library(mlbench)
  data(HouseVotes84)
  
  subset <- consistency(Class~., HouseVotes84)
  f <- as.simple.formula(subset, "Class")
  print(f)
}
back to top