blob: d0350c454e83e0ca29b93659cbed300fba6e8627 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
if ARGV.size == 0
puts "must specify folder"
exit
end
folder = ARGV[0]
cases = [20, 100, 1000, 10000]
segmentations = [1, 5, 10, 50, 100, 500, 1000, 10000]
cases.each do |c|
segmentations.each do |s|
file = "c-#{c}-#{s}"
cmd = "script -c \"../../featurebenchmark -c #{file}.txt\" " + folder + "/#{file}.out"
puts cmd
`#{cmd}`
end
end
|