From 2b1d7f881c19c4d4b5afae194e02d3300c7675d0 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Tue, 5 Jul 2016 11:01:46 +0200 Subject: mv --- fake_svm_light | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100755 fake_svm_light (limited to 'fake_svm_light') diff --git a/fake_svm_light b/fake_svm_light deleted file mode 100755 index eb074c1..0000000 --- a/fake_svm_light +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env ruby - -while line = STDIN.gets - a = line.split - label = a.shift.to_f - label *= -1 - a.map! { |i| - k,v = i.split ":" - v = v.to_f*-1 - "#{k}:#{v}" - } - puts "#{label} #{a.join ' '}" -end - -- cgit v1.2.3