summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-12-04 15:13:34 +0100
committerAndreas Maunz <andreas@maunz.de>2012-12-04 15:13:34 +0100
commit3354bb1fa500df3420d659553db0da9e49f02357 (patch)
tree8caa8c54da0234946137595f8886707fabcc034f
parent6fd8ab32a6a6a1a43948c2e9cb02af9e1fe764bc (diff)
Added doc
-rw-r--r--README.md7
-rw-r--r--fminer.rb4
m---------libfminer0
3 files changed, 7 insertions, 4 deletions
diff --git a/README.md b/README.md
index 043f001..1abf4f7 100644
--- a/README.md
+++ b/README.md
@@ -48,12 +48,15 @@ REST operations
[feature_type=trees],
[backbone=true],
[min_chisq_significance=0.95],
- [nr_hits=false]
+ [nr_hits=false],
+ [get_target=false]
+ [weight_feature]
Create last features POST /fminer/last dataset_uri, URI for feature dataset 200,400,404,500
prediction_feature,
[min_frequency=8 %],
[feature_type=trees],
- [nr_hits=false]
+ [nr_hits=false],
+ [get_target=false]
Create features POST /pc/AllDescriptors dataset_uri, URI for dataset 200,400,404,500
[pc_type=constitutional,
topological,geometrical,
diff --git a/fminer.rb b/fminer.rb
index 7fc7db4..1d009e5 100644
--- a/fminer.rb
+++ b/fminer.rb
@@ -77,7 +77,7 @@ get "/fminer/bbrc/?" do
{ DC.description => "BBRC classes, pass 'false' to switch off mining for BBRC representatives.", OT.paramScope => "optional", DC.title => "backbone" },
{ DC.description => "Significance threshold (between 0 and 1)", OT.paramScope => "optional", DC.title => "min_chisq_significance" },
{ DC.description => "Whether subgraphs should be weighted with their occurrence counts in the instances (frequency)", OT.paramScope => "optional", DC.title => "nr_hits" },
- { DC.description => "Set to 'true' to obtain target variable as a feature", OT.paramScope => "optional", DC.title => "nr_hits" },
+ { DC.description => "Set to 'true' to obtain target variable as a feature", OT.paramScope => "optional", DC.title => "get_target" },
{ DC.description => "Feature URI for weight feature", OT.paramScope => "optional", DC.title => "weight_feature" }
]
}
@@ -143,7 +143,7 @@ get "/fminer/last/?" do
{ DC.description => "Minimum frequency", OT.paramScope => "optional", DC.title => "min_frequency" },
{ DC.description => "Feature type, can be 'paths' or 'trees'", OT.paramScope => "optional", DC.title => "feature_type" },
{ DC.description => "Whether subgraphs should be weighted with their occurrence counts in the instances (frequency)", OT.paramScope => "optional", DC.title => "nr_hits" },
- { DC.description => "Set to 'true' to obtain target variable as a feature", OT.paramScope => "optional", DC.title => "nr_hits" },
+ { DC.description => "Set to 'true' to obtain target variable as a feature", OT.paramScope => "optional", DC.title => "get_target" },
]
}
case request.env['HTTP_ACCEPT']
diff --git a/libfminer b/libfminer
-Subproject 6808320dd0c822dd544ba2915e874d1453f0176
+Subproject 9c7ca17efe84fa722ac7a9ba40fee92f51d0427