summarylogtreecommitdiffstats
path: root/weka.sh
blob: 7b70a33d99668ce4dca1c3e5e26f8d1a15902f1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh

# Note: the '-Xmx1g' flag is used to set the maximum memory that the java
# program is allowed. When working with large data sets, this number may need
# to be increased based on how much memory you wish to allow weka to have.
# Specifying command line arguments will override the defaults shown here.
# Example: '-Xmx2g'
DEFAULT_ARGS='-Xms32m -Xmx1g'

if [ $# -gt 0 ]; then
	ARGS="$@"
else
	ARGS="$DEFAULT_ARGS"
fi

java $ARGS -jar /usr/share/java/weka/weka.jar