opentox/algorithm — Issue #9: local_svm_regression method hanging
Author: mguetlein
Created: 2012-01-02 13:35:30+00:00
State: open

the method local_svm_regression hangs during the following example (dataset required: EPAFHM.csv):

```ruby

require "rubygems"
require "opentox-ruby"

class Exception
def message
errorCause ? errorCause.to_yaml : to_s
end
end

dataset = OpenTox::Dataset.create_from_csv_file(File.new("EPAFHM.csv").path, nil)
data = dataset.uri
prediction_feature = dataset.features.keys[0]
p = {
:dataset_uri => data,
:algorithm_uri => File.join(CONFIG[:services]["opentox-algorithm"],"lazar"),
:algorithm_params => "feature_generation_uri="+File.join(CONFIG[:services]["opentox-algorithm"],"fminer/bbrc"),
:prediction_feature => prediction_feature,
:split_ratio => 0.95,
:random_seed => 2}
v = OpenTox::Validation.create_training_test_split(p)
```