From 83591831c6e36c36d87159acba6afdfedab95522 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Thu, 18 Mar 2021 16:48:36 +0100 Subject: fingerprint predictions added --- bin/crossvalidation.rb | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100755 bin/crossvalidation.rb (limited to 'bin/crossvalidation.rb') diff --git a/bin/crossvalidation.rb b/bin/crossvalidation.rb deleted file mode 100755 index b7cfdd7..0000000 --- a/bin/crossvalidation.rb +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env ruby -require_relative "../lib/lazar" -dir = ARGV[0] -dependent_variable_type = File.read(File.join(dir, "dependent-variable-type")).chomp -independent_variable_type = File.read(File.join(dir, "independent-variable-type")).chomp -if dependent_variable_type == "binary" and independent_variable_type == "binary" - model = TanimotoClassificationModel.new dir -elsif dependent_variable_type == "binary" and independent_variable_type == "numeric" - model = CosineClassificationModel.new dir -elsif dependent_variable_type == "numeric" and independent_variable_type == "binary" - model = TanimotoRegressionModel.new dir -elsif dependent_variable_type == "numeric" and independent_variable_type == "numeric" - model = CosineRegressionModel.new dir -end -model.crossvalidation -- cgit v1.2.3