CreateSDTask: Creates a Subgroup Discovery Task

Description Usage Arguments See Also Examples

Description

Performs subgroup discovery according to the given task.

Usage

1
CreateSDTask(source, target, config = SDTaskConfig())

Arguments

source

a data.frame or the a character string giving the filename of an ARFF file to use.

target

the target variable (constructed by as.target) to consider for subgroup discovery.

config

an instance of SDTaskConfig providing various parameters for subgroup discovery.

See Also

DiscoverSubgroups. DiscoverSubgroupsByTask SDTaskConfig

Examples

1
2
3
4
5
6
7
8
# creating a task
data(credit.data)

# task with binary target
task <- CreateSDTask(credit.data, as.target("class", "good"))

# task with numeric target
taskNum <- CreateSDTask(credit.data, as.target("credit_amount"))


Search within the rsubgroup package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.