- Notifications
You must be signed in to change notification settings - Fork4
R package for Subgroup Discovery algorithms with Evolutionary Fuzzy Systems
License
SIMIDAT/SDEFSR
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
#[SDEFSR] (https://github.com/aklxao2/SDEFSR/)
![Downloads] (http://cranlogs.r-pkg.org/badges/SDEFSR)![totalDownloads] (http://cranlogs.r-pkg.org/badges/grand-total/SDEFSR)
R package with Subgroup Discovery algorithms based on Evolutionary Fuzzy Systems.These algorithms works with data sets withKEEL ,ARFF, orCSV formats or data.frame objects . Also, the package provide a Shiny App to ease the work.
The package is available on CRAN, so it could be installed as another package available on CRAN, simple typing:
install.packages("SDEFSR")You can install the package using the functioninstall_github() provided by thedevtools package:
devtools::install_github("SIMIDAT/SDEFSR")
The package provide a web interface to ease the work, this intarface could be accesed by calling the function:SDEFSR_GUI():
library("SDEFSR")SDEFSR_GUI()This will launch the interface in our predetermined browser.
Assuming the filesiris.dat,iris.arff andiris.csv corresponding to theclassical iris dataset in KEEL, ARFF and CSV formats respectively in the working directory, the loading of these files will be as follows:
>irisFromKEEL<- read.dataset("iris.dat")>irisFromARFF<- read.dataset("iris.arff")>irisFromCSV<- read.dataset("iris.csv")
Note that the function detects the type of data by the extension. To read csv files, the function has optional parameters that defines the separator used between fields, the decimal separator, the quote indicator and the \code{NA} identifier as parameters. By default, this options and values aresep = ",", quote = "\"", dec = "." andna.strings = "?" respectively.
The are four subgroup discovery implemented:SDIGA,MESDIF,NMEEF-SD andFuGePSD. You can use this algorithms by:
- specifying the path of a parameter file
- specifying all the parameters of the algorithm in the function call, one by one.
The former is normally used with datasets prepared to make an execution directly, because this way does not allow to change the structure of the datasets and set other target variable, this target variable is the last variable defined in the dataset.The latter is for dataset that we loaded in R and make some modifications.
Having a parameters file for MESDIF, for example, in our working directory calledparamFile.txt:
MESDIF("paramFile.txt")For more information and examples about the use of the algorithms and subgroup discovery, please, refer to the documentation.
About
R package for Subgroup Discovery algorithms with Evolutionary Fuzzy Systems
Resources
License
Uh oh!
There was an error while loading.Please reload this page.