File: test_train

package info (click to toggle)
herisvm 0.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 328 kB
  • sloc: sh: 1,471; ruby: 615; makefile: 28
file content (10 lines) | stat: -rwxr-xr-x 139 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# usage: test_train -[01] <training_set_file> <model_file>

case "$1" in
    -0)
	echo 0 > "$3";;
    -1)
	echo 1 > "$3";;
esac