Description Usage Arguments Value References Examples
VisuNet is an interactive tool for network visualization of complex rule-based classifiers. See the documentation.
1 2 3 4 5 6 7 8 |
ruleSet |
the appropriately formatted set of rules:
|
type |
a character string specifying the type of the input data:
|
NodeColorType |
a character string specifying the color of nodes:
The default is "DL". |
NodeSize |
a character string specifying the size of nodes:
If the decision coverage value is unavailable, the support is taken by default. |
CustObjectNodes |
a list that contains the customized VisuNet output for nodes. The list needs to contain two variables:
|
CustObjectEdges |
a list that contains customized VisuNet output for edges. The list needs to contain two variables:
|
Rule Network Object - a collection of lists corresponding to decision variables and an additional list for the combined decision ‘all’.
The lists contain information required to reproduce the rule network, i.e. data frames for nodes, edges
and RulesSetPerNode - a list that shows rules for each node.
Structure of the data frame for nodes:
id - a unique node id, based on attribute value and left-hand side value of the rule set
label - the attribute variable without the ‘=value’ part from the left-hand side of the rule set
DiscState - the attribute value
color.background - the node color
value - the node size
color.border - the color of the node border
meanAcc - the mean accuracy value of all rules that contain the node
meanSupp - the mean support value of all rules that contain the node
NRules - the number of rules that contain the node
PrecRules - fraction of rules that contain the node
NodeConnection - the total connection value obtained from the rules that contain the node
title - information visible on the tooltip
group - the decision value that occurs most frequently (>50 otherwise group contains all comma-separated decision values corresponding to rules associated with the node. group defines the content of the ‘Select by decision’ drop-down box.
Structure of the data frame for edges:
from, to - the pair of nodes that create the edge
conn - the connection variable obtained from the edge-associated rules.
connNorm - the connection variable normalized according to the maximum connection variable in the rule network
label2 - the edge id
color - the edge color
title - information visible on the tooltip
width - the edge width, defined according to the normalized connection value
See the documentation for more details and examples.
1 2 3 4 5 6 7 8 9 | #The R.ROSETTA output format
#the rule-based model construction using R.ROSETTA
resultsRos <- rosetta(autcon)
vis_out <- visunet(resultsRos$main, type = "RDF")
------------
#"Line by line" file format
rules <- autcon_ruleset
vis_out <- visunet(rules, type = "L")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.