https://github.com/cran/FSelector
Raw File
Tip revision: d2854b77f74f8ee2cb0f4916e5d5a940f035fc6e authored by Lars Kotthoff on 07 January 2021, 17:10 UTC
version 0.32
Tip revision: d2854b7
cfs.Rd
\name{cfs}
\alias{cfs}
\title{ CFS filter }
\description{
  The algorithm finds attribute subset using correlation and entropy measures for continous and discrete data.
}
\usage{
cfs(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{
  data(iris)
  
  subset <- cfs(Species~., iris)
  f <- as.simple.formula(subset, "Species")
  print(f)
}
back to top