From 3354bb1fa500df3420d659553db0da9e49f02357 Mon Sep 17 00:00:00 2001 From: Andreas Maunz Date: Tue, 4 Dec 2012 15:13:34 +0100 Subject: Added doc --- README.md | 7 +++++-- fminer.rb | 4 ++-- libfminer | 2 +- 3 files changed, 8 insertions(+), 5 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 index 6808320..9c7ca17 160000 --- a/libfminer +++ b/libfminer @@ -1 +1 @@ -Subproject commit 6808320dd0c822dd544ba2915e874d1453f0176b +Subproject commit 9c7ca17efe84fa722ac7a9ba40fee92f51d04271 -- cgit v1.2.3