-
Notifications
You must be signed in to change notification settings - Fork 2
/
modeling_L1_5.sh
19 lines (18 loc) · 1.97 KB
/
modeling_L1_5.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
#PBS -N ModelingLevel1Job5
#PBS -l select=1
#PBS -l walltime=10:00:00
#PBS -o TestJob5.stdout
#PBS -e TestJob5.stderr
#PBS -m be
#PBS -M akram.mohammed@unmc.edu
cd $PBS_O_WORKDIR/weka-3-7-6
java -Xmx50g -Xss5g weka.classifiers.meta.FilteredClassifier -F "weka.filters.unsupervised.attribute.Remove -R first" -W weka.classifiers.trees.RandomForest -t ../model_new/70/Level1/ssf_ps_pfam_enz4_new_sparse_train80.arff -o -i -d ../model_new/70/Level1/ssf_enz4_randomforest_train80_sparse.model >../model_new/70/Level1/ssf_enz4_randomforest_train80_sparse.result
java -Xmx50g -Xss5g weka.classifiers.trees.RandomForest -T ../model_new/70/Level1/ssf_ps_pfam_enz4_new_sparse_test20.arff -l ../model_new/70/Level1/ssf_enz4_randomforest_train80_sparse.model -o -i >../model_new/70/Level1/ssf_enz4_randomforest_train80_test20_sparse.result
java -Xmx50g -Xss5g weka.classifiers.trees.RandomForest -T ../model_new/70/Level1/ssf_ps_pfam_enz4_new_sparse_train80.arff -l ../model_new/70/Level1/ssf_enz4_randomforest_train80_sparse.model -p 1 -distribution>../model_new/70/Level1/ssf_enz4_randomforest_train80_sparse.p
java -Xmx50g -Xss5g weka.classifiers.trees.RandomForest -T ../model_new/70/Level1/ssf_ps_pfam_enz4_new_sparse_test20.arff -l ../model_new/70/Level1/ssf_enz4_randomforest_train80_sparse.model -p 1 -distribution>../model_new/70/Level1/ssf_enz4_randomforest_test20_sparse.p
for (( i=1; i<=6; i++ ))
do
java -Xmx50g -Xss5g weka.classifiers.trees.RandomForest -T ../model_new/70/Level1/ssf_ps_pfam_enz4_new_sparse_train80.arff -l ../model_new/70/Level1/ssf_enz4_randomforest_train80_sparse.model -threshold-file ../model_new/70/Level1/ssf_enz4_randomforest_thresholdEC1_train80.csv -threshold-label EC$i
java -Xmx50g -Xss5g weka.classifiers.trees.RandomForest -T ../model_new/70/Level1/ssf_ps_pfam_enz4_new_sparse_test20.arff -l ../model_new/70/Level1/ssf_enz4_randomforest_train80_sparse.model -threshold-file ../model_new/70/Level1/ssf_enz4_randomforest_thresholdEC1_test20.csv -threshold-label EC$i
done