-
Notifications
You must be signed in to change notification settings - Fork 5
Output
kazeto edited this page Mar 19, 2015
·
1 revision
Phillip's outputs are written in XML format.
All kinds of output from Phillip include the common header. This header contains the configure on inference, such as the version, the parameters, the flags and the outline of the knowledge base used.
-
versionProvides the version of Phillip. -
componentsProvides the name of components used. The attributelhscorresponds to an enumerator of latent hypotheses set. The attributeilpcorresponds to a converter from latent hypotheses set into ILP problems. The attributesolcorresponds to an ILP solver. -
knowledge_baseProvides the outline of the knowledge base used. -
paramsProvides the parameters used.
Using the option -p path_lhs_out=<PATH>, you can get the detail of the latent hypotheses set.
Its elements are as follows:
-
latent-hypotheses-setThe root.namecorresponds the name of the observation.timemeans the time which is spent on enumeration of a latent hypotheses set.timeoutmeans whether the enumeration have been interrupted by timeout. -
nodesContains the information of nodes in the latent hypotheses set.nummeans the number of nodes.-
nodeProvides information of each node.indexmeans the node's ID number.depthmeans the node's inference chain depth. The depth of an observed literal is 0. The depth of an equality or a required literal is -1.mastermeans the index of the master hypernode, which is the head of the edge hypothesizing the node. This value of observed literal of equality or required literal is -1.
-
-
axiomsProvides the all axioms which have been used on enumeration of a latent hypotheses set.nummeans the number of axioms used.-
axiomProvides information of each node.idmeans the axiom's ID number.namecorresponds the axiom's name.
-
-
edgesProvides the all edges in a latent hypotheses set.nummeans the number of edges.-
edgeProvides information of each edge.idmeans the edge's ID number.typemeans the type of the edge.tailmeans the index of the hypernode which corresponds to the edge's tail.headmeans the index of the hypernode which corresponds to the edge's head.axiommeans the ID number of axiom which used in this edge. If the edge does not use any axiom (e.g. an unification edge), this value is -1.condsmeans conditions which this edge needs to satisfy.
-
-
substitutionsProvides clusters of unifiable variables in a latent hypotheses set.-
clusterProvides information of an unifiable variables cluster.idmeans the cluster's ID number.
-
-
mutual_exclusive_nodesProvides mutual exclusions between two nodes.nummeans the number of mutual exclusive nodes pairs in the latent hypotheses set.-
xorProvides information of mutual exclusion between two nodes.node1andnode2mean the ID numbers of target nodes.subsmeans the conditions on equalities for this mutual exclusion. Namely, this mutual exclusiveness will be activated only when these equalities are satisfied.
-
-
mutual_exclusive_edgesProvides mutual exclusions between two edges.nummeans the number of mutual exclusive edges pairs in the latent hypotheses set.-
xorProvides information of mutual exclusion between two edges.node1andnode2mean the ID numbers of target edges.
-
Using the option -p path_ilp_out=<PATH>, you can get the detail of the ILP problem.
Its elements are as follows:
-
ilpThe root.namegenerally corresponds to given observation.maximizemeans whether this problem maximize the objective function, or minimize it.timemeans the time which is spent on the conversion to ILP problem.timeoutmeans whether the conversion have been interrupted by timeout. -
variablesProvides information of all ILP variables.nummeans the number of ILP variables.-
variableProvides information of an ILP variable.indexcorresponds the ID number of the variable.namemeans the variable's name.coefficientmeans the coefficient assigned to the variable in the objective function. If this variable is a constant,fixedattribute is added, which provides the fixed value. For example, since an observed literal must be included in the solution hypothesis, the variable corresponding to it has fixed value 1.
-
-
constraintsProvides information of all ILP constraints.nummeans the number of ILP constraints.-
constraintindexcorresponds the ID number of the constraint.namemeans the constraint's name.
-
Using the option -p path_sol_out=<PATH>, you can get the detail of the solution in ILP.
After inference, Phillip outputs the solution hypothesis to stdout.
Using the option -p path_out=<PATH>, Phillip also outputs it to give file path.