9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm trying to exclude 'BACKUP', 'STORE', 'LOGGER' folders while searching for all files under a directory "/tmp/moht"
Once a file is found I wish to display the filename, the size of the file & the cksum value.
Below is the command, I'm using:
/opt/freeware/bin/find /tmp/moht -type d -name... (6 Replies)
Discussion started by: mohtashims
6 Replies
2. Shell Programming and Scripting
I am required to create a CSV file reading last 200000 lines form a log file. I have to grep 3 parameters from this log file and write these parameters in the .csv file, with time stamp. This script will be setup in a cron job which will run every 10 minutes. I have written the script but it is... (5 Replies)
Discussion started by: Crazy_Nix
5 Replies
3. Shell Programming and Scripting
I'm using sed to do find and replace. But since the file is huge and i have more than 1000 files to be searched, the script is taking a lot of time. Can somebody help me with a better sed command. Below is the details.
Input:
1
1
2
3
3
4
5
5
Here I know the file is sorted.
... (4 Replies)
Discussion started by: gpaulose
4 Replies
4. Filesystems, Disks and Memory
Hello,
i have a a1000 connected to an e6500. There's a raid 10 (12 disks) on the a1000.
If i do a
dd if=/dev/zero of=/mnt/1 bs=1024k count=1000
and then look at iostat it tells me there's a kw/s of 25000.
But if i do a
dd of=/dev/zero if=/mnt/1 bs=1024k count=1000
then i see only a... (1 Reply)
Discussion started by: mbrenner
1 Replies
5. Shell Programming and Scripting
Hi,
I have sort command that sorts in ramdisk created by a script 'mktd' and later unmounted by script 'rmtd'. The platform is AIX.
# code
sudo -E mktd 44 # create ramdisk of size 44GB
sort ... -k1,1 -2,2 ... # sort a file using the ramdisk on keys 1 and 2
sudo -E rmtd # unmount... (1 Reply)
Discussion started by: ChicagoBlues
1 Replies
6. Shell Programming and Scripting
I am trying to mount the ramdisk for sorting, and i get the message "ramdisk already defined." What exactly is /dev/ramdisk0 and is it safe to remove it?
# command
sudo -S mktd 60 <<EOF
initiate
EOF
# block of code for mktd
...
&& {
print "ramdisk already defined."
... (1 Reply)
Discussion started by: ChicagoBlues
1 Replies
7. Shell Programming and Scripting
I have written a code using AWK & sed to compare two files.
The structure of the files is like this"
Format is this:
<bit code> <file code> <string>
Follwoed by any numbers of properties lines whic start with a "space"
10101010101111101 XX abcd a
AS sasa
BS kkk
1110000101010110 XX... (1 Reply)
Discussion started by: sandeep_hi
1 Replies
8. Shell Programming and Scripting
Hi all,
I wanted to make a ramdisk for a opensolaris distro.
I have very little idea of how to create it?
can anyone pls help me out?
Is there any tutorial on creating it on the net???
Also can i make changes to the actual os itself by changing the scripts involved in ramdisk then use it to... (1 Reply)
Discussion started by: wrapster
1 Replies
9. Shell Programming and Scripting
Hi All,
I am trying to read output from a command. The output format is as follows:
Thursday 13 Mar 2008 Information
This is sample text
Friday 14 Mar 2008 Warning
This is one more sample text
First line contains informtation (date etc) and the 2nd line contains some information.
... (3 Replies)
Discussion started by: ssunda6
3 Replies
SVM(3) 1 SVM(3)
The SVM class
INTRODUCTION
CLASS SYNOPSIS
SVM
SVM
Constants
o const integer$SVM::C_SVC0
o const integer$SVM::NU_SVC1
o const integer$SVM::ONE_CLASS2
o const integer$SVM::EPSILON_SVR3
o const integer$SVM::NU_SVR4
o const integer$SVM::KERNEL_LINEAR0
o const integer$SVM::KERNEL_POLY1
o const integer$SVM::KERNEL_RBF2
o const integer$SVM::KERNEL_SIGMOID3
o const integer$SVM::KERNEL_PRECOMPUTED4
o const integer$SVM::OPT_TYPE101
o const integer$SVM::OPT_KERNEL_TYPE102
o const integer$SVM::OPT_DEGREE103
o const integer$SVM::OPT_SHRINKING104
o const integer$SVM::OPT_PROPABILITY105
o const integer$SVM::OPT_GAMMA201
o const integer$SVM::OPT_NU202
o const integer$SVM::OPT_EPS203
o const integer$SVM::OPT_P204
o const integer$SVM::OPT_COEF_ZERO205
o const integer$SVM::OPT_C206
o const integer$SVM::OPT_CACHE_SIZE207
Methods
o public SVM::__construct (void )
o public float svm::crossvalidate (array $problem, int $number_of_folds)
o public array SVM::getOptions (void )
o public bool SVM::setOptions (array $params)
o public SVMModel svm::train (array $problem, [array $weights])
PREDEFINED CONSTANTS
SVM CONSTANTS
o SVM::C_SVC -The basic C_SVC SVM type. The default, and a good starting point
o SVM::NU_SVC -The NU_SVC type uses a different, more flexible, error weighting
o SVM::ONE_CLASS -One class SVM type. Train just on a single class, using outliers as negative examples
o SVM::EPSILON_SVR -A SVM type for regression (predicting a value rather than just a class)
o SVM::NU_SVR -A NU style SVM regression type
o SVM::KERNEL_LINEAR -A very simple kernel, can work well on large document classification problems
o SVM::KERNEL_POLY -A polynomial kernel
o SVM::KERNEL_RBF -The common Gaussian RBD kernel. Handles non-linear problems well and is a good default for classification
o SVM::KERNEL_SIGMOID -A kernel based on the sigmoid function. Using this makes the SVM very similar to a two layer sigmoid based
neural network
o SVM::KERNEL_PRECOMPUTED -A precomputed kernel - currently unsupported.
o SVM::OPT_TYPE -The options key for the SVM type
o SVM::OPT_KERNEL_TYPE -The options key for the kernel type
o SVM::OPT_DEGREE -
o SVM::OPT_SHRINKING -Training parameter, boolean, for whether to use the shrinking heuristics
o SVM::OPT_PROBABILITY -Training parameter, boolean, for whether to collect and use probability estimates
o SVM::OPT_GAMMA -Algorithm parameter for Poly, RBF and Sigmoid kernel types.
o SVM::OPT_NU -The option key for the nu parameter, only used in the NU_ SVM types
o SVM::OPT_EPS -The option key for the Epsilon parameter, used in epsilon regression
o SVM::OPT_P -Training parameter used by Episilon SVR regression
o SVM::OPT_COEF_ZERO -Algorithm parameter for poly and sigmoid kernels
o SVM::OPT_C -The option for the cost parameter that controls tradeoff between errors and generality - effectively the penalty for
misclassifying training examples.
o SVM::OPT_CACHE_SIZE -Memory cache size, in MB
PHP Documentation Group SVM(3)