From 4052f0940ad45b2cd11c9663a5ea0d7fc7454060 Mon Sep 17 00:00:00 2001 From: "weichen.tao" Date: Sat, 4 Feb 2023 20:20:26 +0100 Subject: [PATCH 1/2] command line parameters --- Parameters.txt | 151 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100644 Parameters.txt diff --git a/Parameters.txt b/Parameters.txt new file mode 100644 index 0000000..cd82264 --- /dev/null +++ b/Parameters.txt @@ -0,0 +1,151 @@ +Command line parameters documentation + +Basic command: +java -jar amie3.jar [TSV file] + +Parameters: + +# -mins + Minimum absolute support. The number of positive examples. + Default value: 100 + +# -minc + Minimum size of the relations to be considered as head relations. The number of facts or entities depending on the bias. + Default value: 100 + +# -minhc + Minimum head coverage. + Default value: 0.01 + +# -oute + Print the rules at the end and not while they are discovered. + Default: False + +# -pm + Metric used for pruning of intermediate queries: support|headcoverage. + Default value: headcoverage + + +# -datalog + Print rules using the datalog notation. + Default: False + +# -bexr + Do not use these relations as atoms in the body of rules. + Example: java -jar amie3.jar -bexr bornIn + +# -hexr + Do not use these relations as atoms in the head of rules. (Incompatible with head-target-relations) + Example: java -jar amie3.jar -hexr bornIn + +# -iexr + Do not instantiate these relations. Should be used with -fconst or -const. (incompatible with instantiation-target-relations). + Example: java -jar amie3.jar -iexr bornIn + +# -htr + Mine only rules with these relations in the head. Provide a list of relation names separated by commas. (incompatible with head-excluded-relations) + Example: java -jar amie3.jar -htr bornIn + +# -btr + Allow only these relations in the body. Provide a list of relation names separated by commas (incompatible with body-excluded-relations) + Example: java -jar amie3.jar -btr bornIn + +# -itr + Allow only these relations to be instantiated. Should be used with -fconst or -const. Provide a list of relation names separated by commas(incompatible with instantiation-excluded-relations). + Example: java -jar amie3.jar -itr bornIn + +# -maxad + Maximum number of atoms in the antecedent and succedent of rules. + Default value: 3 + +# -minpca + Minimum PCA confidence threshold.This value is not used for pruning, only for filtering of the results. + Defalut value: 0.0 + +!!! # -const + Enable rules with constants. + Default value: false + +!!! # -fconst + Enforce constants in all atoms. + Default: false + +# -bias + Syntatic/semantic bias: oneVar|default|lazy|lazit|[Path to a subclass of amie.mining.assistant.MiningAssistant] + Default: default (defines support and confidence in terms of 2 head variables given an order, cf -vo) + +# -caos + If a single variable bias is used (oneVar),force to count support always on the subject position. + +# -nc + Preferred number of cores. Round down to the actual number of cores in the system if a higher value is provided + +# -minc + Minimum standard confidence threshold. This value is not used for pruning, only for filtering of the results. + Default: 0.0. + +# -optimcb + Enable the calculation of confidence upper bounds to prune rules. + +# -optimfh + Enable functionality heuristic to identify potential low confident rules for pruning. + +??? # -verbose + Maximal verbosity. + +??? # -rl + Recursivity limit + +# -auta + Avoid unbound type atoms, e.g., type(x, y), i.e., bind always 'y' to a type. + +# -deml + Do not exploit max length for speedup(requested by the reviewers of AMIE+). + Defalut value: False + +# -dqrw + Disable query rewriting and caching. + +# -dpr + Disable perfect rules. + +# -oout + If enabled, it activates only the output enhacements, that is, the confidence approximation and upper bounds. It overrides any other configuration that is incompatible. + +# -full + It enables all enhancements: lossless heuristics and confidence approximation and upper bounds. It overrides any other configuration that is incompatible. + +# -noHeuristics + Disable functionality heuristic, should be used with the -full option. + +# -noKbRewrite + Prevent the KB to rewrite query when counting pairs. + +# -noKbExistsDetection + Prevent the KB to detect existential variable on-the-fly and to optimize the query. + +# -noSkyline + Disable Skyline pruning of results. + +# -vo + Define the order of the variable in counting query among: app, fun (default), ifun. + +# -ef + An additional text file whose interpretation depends on the selected mining assistant (bias). + +# -ostd + Do not calculate standard confidence. + +# -cc + Cache count results. + +# -optimai + Prune instantiated rules that decrease too much the support of their parent rule (ratio 0.2). + +# -mlg + Parse labels language as new facts + +# -d <> + Separator in input files. + Default separator: TAB + From 9b744a9af1cdbf4ab1c5215e3d61782a125b88bf Mon Sep 17 00:00:00 2001 From: "weichen.tao" Date: Fri, 10 Feb 2023 13:40:23 +0100 Subject: [PATCH 2/2] command line parameters --- Parameters.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Parameters.txt b/Parameters.txt index cd82264..0bd4fcf 100644 --- a/Parameters.txt +++ b/Parameters.txt @@ -62,11 +62,11 @@ Parameters: Minimum PCA confidence threshold.This value is not used for pruning, only for filtering of the results. Defalut value: 0.0 -!!! # -const +# -const Enable rules with constants. Default value: false -!!! # -fconst +# -fconst Enforce constants in all atoms. Default: false @@ -90,10 +90,10 @@ Parameters: # -optimfh Enable functionality heuristic to identify potential low confident rules for pruning. -??? # -verbose +# -verbose Maximal verbosity. -??? # -rl +# -rl Recursivity limit # -auta