Variables | |
c | |
string | cmd = '{0} -s "{1}" "{2}" > "{3}"'.format(svmscale_exe, range_file, train_pathname, scaled_file) |
f = Popen(cmd, shell = True, stdout = PIPE).stdout | |
file_name = os.path.split(train_pathname)[1] | |
g | |
string | gnuplot_exe = "/usr/bin/gnuplot" |
string | grid_py = "./grid.py" |
tuple | is_win32 = (sys.platform == 'win32') |
string | last_line = line |
string | line = '' |
string | model_file = file_name + ".model" |
string | predict_test_file = file_name + ".predict" |
string | range_file = file_name + ".range" |
rate | |
string | scaled_file = file_name + ".scale" |
string | scaled_test_file = file_name + ".scale" |
shell | |
stdout | |
string | svmpredict_exe = "../svm-predict" |
string | svmscale_exe = "../svm-scale" |
string | svmtrain_exe = "../svm-train" |
test_pathname = sys.argv[2] | |
train_pathname = sys.argv[1] | |
True | |
string easy.cmd = '{0} -s "{1}" "{2}" > "{3}"'.format(svmscale_exe, range_file, train_pathname, scaled_file) |
easy.file_name = os.path.split(train_pathname)[1] |