arulesSequences (version 0.2-22)

SPcontrol-class: Class "SPcontrol" --- cSPADE Control Parameters

Description

Provides control parameters for the cSPADE algorithm for mining frequent sequences.

Arguments

Objects from the Class

A suitable default parameter object will be automatically created by a call to cspade. However, the values can be replaced by specifying a named list with the names (partially) matching the slot names of the '>SPparameter class.

Objects can be created by calls of the form new("SPcontrol", ...).

Slots

memsize:

an integer value specifying the maximum amount of memory to use (default none [32 MB], range >= 16).

numpart:

an integer value specifying the number of database partitions to use (default auto, range >= 1).

bfstype:

a logical value specifying if a breadth-first type of search should be performed (default FALSE [DFS]).

verbose:

a logical value specifying if progress and runtime information should be displayed (default FALSE).

summary:

a logical value specifying if summary information should be preserved (default FALSE).

tidLists:

a logical value specifying if transaction ID lists should be included in the result (default FALSE).

Methods

coerce

signature(from = "NULL", to = "SPcontrol")

coerce

signature(from = "list", to = "SPcontrol")

coerce

signature(from = "SPcontrol", to = "character")

coerce

signature(from = "SPcontrol", to = "data.frame")

coerce

signature(from = "SPcontrol", to = "list")

coerce

signature(from = "SPcontrol", to = "vector")

format

signature(x = "SPcontrol")

See Also

Class '>SPparameter, function cspade.

Examples

Run this code
# NOT RUN {
## coerce from list 
p <- as(list(verbose = TRUE), "SPcontrol")
p

## coerce to
as(p, "vector")
as(p, "data.frame")
# }

Run the code above in your browser using DataLab