File: executables

package info (click to toggle)
libocas 0.97%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,764 kB
  • sloc: ansic: 7,956; makefile: 105; sh: 7
file content (15 lines) | stat: -rw-r--r-- 592 bytes parent folder | download | duplicates (3)
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 $AUTOPKGTEST_TMP is set, see
# /usr/share/doc/autopkgtest/README.package-tests.gz
set -e

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

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 ]