File: executables

package info (click to toggle)
libocas 0.97%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,756 kB
  • ctags: 352
  • sloc: ansic: 7,956; makefile: 118; sh: 7
file content (15 lines) | stat: -rw-r--r-- 556 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# Run the examples from the man pages. Assumes $ADTTMP is set, see
# /usr/share/doc/autopkgtest/README.package-tests.gz
set -e

# Copy the example data to $ADTTMP, and run the examples.
cp data/* "$ADTTMP"
cd "$ADTTMP"

svmocas -c 10 -b 1 -v 0 riply_trn.light svmocas.model
msvmocas -c 10 -v 0 example4_train.light msvmocas.model

# linclassif exits with status == 1 on success...
linclassif -e -o riply_tst.pred riply_tst.light svmocas.model || [ $? -eq 1 ]
linclassif -e -o example4_test.pred example4_test.light msvmocas.model || [ $? -eq 1 ]