Last change
on this file since 36715 was 34800, checked in by davidb, 3 years ago |
Perform Arousal and Valence prediction at the same time
|
-
Property svn:executable
set to
*
|
File size:
525 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | if [ $# != 1 ] && [ $# != 2 ] ; then
|
---|
4 | echo "" 1>&2
|
---|
5 | echo "Usage: $0 input-unclassified-data.{arff|csv} [predicted-arousal-and-valence.csv]" 1>&2
|
---|
6 | echo "" 1>&2
|
---|
7 | exit 1
|
---|
8 | fi
|
---|
9 |
|
---|
10 | input_data_filename=${1}
|
---|
11 | output_data_filename=${2:-predicted-arousal-and-valence.csv}
|
---|
12 |
|
---|
13 | . ./_set_weka_classpath.bash
|
---|
14 |
|
---|
15 | java -cp "$cp_args" org.greenstone.mars.WekaApplyAVModels \
|
---|
16 | "reptree-arousal-serialized.model" \
|
---|
17 | "reptree-valence-serialized.model" \
|
---|
18 | "$input_data_filename" \
|
---|
19 | "$output_data_filename"
|
---|
20 |
|
---|
21 |
|
---|
22 |
|
---|
23 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.