source: gs3-installations/mars/trunk/sites/mars/RUN-APPLY-AV-MODELS.sh@ 36966

Last change on this file since 36966 was 36825, checked in by davidb, 19 months ago

White-space changes

  • Property svn:executable set to *
File size: 572 bytes
Line 
1#!/bin/bash
2
3if [ $# != 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
8fi
9
10input_data_filename=${1}
11output_data_filename=${2:-predicted-arousal-and-valence.csv}
12
13. ./_set_weka_classpath.bash
14
15java -cp "$cp_args" \
16 -Djava.awt.headless=true \
17 org.greenstone.mars.WekaApplyAVModels \
18 "reptree-arousal-serialized.model" \
19 "reptree-valence-serialized.model" \
20 "$input_data_filename" \
21 "$output_data_filename"
22
23
24
25
Note: See TracBrowser for help on using the repository browser.