hi all, I am trying to do a loop on a series of plotting function shown below:
I want to execute the command string being echoed and that for the last file to be executed within the list, it will omit the -K option. I need to run it like this sample code below:
bunch of thanks!
I have a script I am runing on a hacked CDLinux live CD called from /etc/rc.d/rc.local.
The part of th script in question goes like this.
When run from rc.local the prompt "Centre name :" and the colour change does not appear until after I type the input text and press return. Also, I... (2 Replies)
Let a script needs a variable to execute. For example if i run ./test.sh then it needs a variable as there is a <STDIN> in the script. I want to execute it as in command line.
Let test.sh requires a variable name $number I want to execute it by
>test number <enter>
how is it possible? (1 Reply)
Hi,
I've set up a script so that a user answers questions, and then these answers come back onto the screen accompanied by text that I've echoed. Is there a way of putting this into a new file?
Thanks (7 Replies)
Hello,
I'm running a bash script and I'd like to get more accurate a runtime information then now.
So far I've been using this method:
STARTM=`date -u "+%s"`
.........
*script function....
.........
STOPM=`date -u "+%s"`
RUNTIMEM=`expr $STOPM - $STARTM`
if (($RUNTIMEM>59)); then... (6 Replies)
Hello,
can someone please help me to fix this script,
I have a 2 files, one file has hostname information and second file has console information of the hosts in each line, I have written a script which actually reads each line in hostname file and should grep in the console file and paste the... (8 Replies)
Hi
I need help with my coding , first time I'm working with bash .
What i must do is check if there is 3 .txt files if there is not 3 of them i must give an error code , if al three is there i must first arrange them in alphabetical order and then take the last word in al 3 of the .txt files... (1 Reply)
I'm running cygwin bash on windows 7 and I'm have some bat files that perform large builds and take a long time and a lot of memory.
Therefor, I don't want to builds executing simultaneously (too much memory).
How can I implement a queue so I can queue up multiple builds and only execute one... (2 Replies)
I have built a site in PHP for radio station, and the daily schedule is displayed dynamically using PHP script.
I have added links to view different days but when it loads up its just loading up a new page. I can't quite remember how I done it but I'd like it to be in ajax if that's... (2 Replies)
Hi all,
here's my script
#!/bin/ksh
if
then
export DB_CREATE_PATH=`pwd`
fi
echo
echo "********************--Menu--*****************************"
echo "*** "
echo "*** 1. Pre-Upgrade Steps "... (3 Replies)
I have a BASH script that runs a continuous loop, reading a line from a file, and then spawning a background process to use it. I've placed "date" commands inside it to see where it's slowing down, and everything inside -- including reading the line from the file -- is fast, but the loop bogs... (34 Replies)
Discussion started by: gmark99
34 Replies
LEARN ABOUT DEBIAN
svm-scale
svm-scale(1) User Manuals svm-scale(1)NAME
svm-scale - scale data to a restricted range as preprocessing for SVM training
SYNOPSIS
svm-scale [ -l lower ] [ -u upper ] [ -y y_upper ] [ -s save_filename ] [ -r restore_filename ] datafilename
DESCRIPTION
svm-scale reads the given datafilename (a training or testing data file as specified in svm_train(1) or svm_predict(1) ) and scales all
dimensions to the given ranges.
OPTIONS -l lower
lower is the lowest (minimal) value allowed in each dimension. It defaults to -1.
-u upper
upper is the highest (maximal) value allowed in each dimension. It defaults to 1.
-y y_lower
y_lower is a boolean value (0 or 1) indicating whether or not y-values (targets) should be scaled. It defaults to 0.
-s save_filename
save_filename indicates the filename to save the scaled data to.
-r restore_filename
restore_filename indicates the filename reserved to hold the original (unscaled) data in case there is a need to restore.
FILES
datafilename must be a training or testing dataset.
ENVIRONMENT
No environment variables.
DIAGNOSTICS
None documented; see Vapnik et al.
BUGS
Please report bugs to the Debian BTS.
AUTHOR
Chih-Chung Chang, Chih-Jen Lin <cjlin@csie.ntu.edu.tw>, Chen-Tse Tsai <ctse.tsai@gmail.com> (packaging)
SEE ALSO svm-train(1), svm-predict(1)Linux MAY 2006 svm-scale(1)