powered by
Construct the initial edge list used in model structure search based on ant colony optimization.
initNodeList(search.space, phi0)
A data.frame in which each row represents an edge in the ACO path-construction graph, with the following columns:
Integer. Travel counter associated with the edge, initialized to zero.
Integer. Decision node identifier corresponding to a model feature.
Character. Semantic label of the decision node.
Integer. Global edge index.
Integer. Index of the edge within the corresponding decision node.
Character. Semantic label of the edge (model component choice).
Numeric. Initial pheromone value associated with the edge.
Numeric. Change in pheromone level, initialized to zero.
Numeric. Initial selection probability of the edge.
Character, one of "ivbase" or "oralbase". Default is "ivbase".
A non-negative numeric value. Initial pheromone value assigned to all nodes at the start of the search. Defaults to 2.
Zhonghui Huang
initNodeList(search.space = "ivbase", phi0 = 1) initNodeList(search.space = "oralbase", phi0 = 1)
Run the code above in your browser using DataLab