removing temp files

Esse commit está contido em:
hesamsagha
2016-11-30 19:09:40 +01:00
commit 1ff448a256
18 arquivos alterados com 0 adições e 584 exclusões
-388
Ver Arquivo
@@ -1,388 +0,0 @@
@relation dummyarff
@attribute f_1 numeric
@attribute f_2 numeric
@attribute f_3 numeric
@attribute f_4 numeric
@attribute f_5 numeric
@attribute f_6 numeric
@attribute f_7 numeric
@attribute f_8 numeric
@attribute f_9 numeric
@attribute f_10 numeric
@attribute f_11 numeric
@attribute f_12 numeric
@attribute f_13 numeric
@attribute f_14 numeric
@attribute f_15 numeric
@attribute f_16 numeric
@attribute f_17 numeric
@attribute f_18 numeric
@attribute f_19 numeric
@attribute f_20 numeric
@attribute f_21 numeric
@attribute f_22 numeric
@attribute f_23 numeric
@attribute f_24 numeric
@attribute f_25 numeric
@attribute f_26 numeric
@attribute f_27 numeric
@attribute f_28 numeric
@attribute f_29 numeric
@attribute f_30 numeric
@attribute f_31 numeric
@attribute f_32 numeric
@attribute f_33 numeric
@attribute f_34 numeric
@attribute f_35 numeric
@attribute f_36 numeric
@attribute f_37 numeric
@attribute f_38 numeric
@attribute f_39 numeric
@attribute f_40 numeric
@attribute f_41 numeric
@attribute f_42 numeric
@attribute f_43 numeric
@attribute f_44 numeric
@attribute f_45 numeric
@attribute f_46 numeric
@attribute f_47 numeric
@attribute f_48 numeric
@attribute f_49 numeric
@attribute f_50 numeric
@attribute f_51 numeric
@attribute f_52 numeric
@attribute f_53 numeric
@attribute f_54 numeric
@attribute f_55 numeric
@attribute f_56 numeric
@attribute f_57 numeric
@attribute f_58 numeric
@attribute f_59 numeric
@attribute f_60 numeric
@attribute f_61 numeric
@attribute f_62 numeric
@attribute f_63 numeric
@attribute f_64 numeric
@attribute f_65 numeric
@attribute f_66 numeric
@attribute f_67 numeric
@attribute f_68 numeric
@attribute f_69 numeric
@attribute f_70 numeric
@attribute f_71 numeric
@attribute f_72 numeric
@attribute f_73 numeric
@attribute f_74 numeric
@attribute f_75 numeric
@attribute f_76 numeric
@attribute f_77 numeric
@attribute f_78 numeric
@attribute f_79 numeric
@attribute f_80 numeric
@attribute f_81 numeric
@attribute f_82 numeric
@attribute f_83 numeric
@attribute f_84 numeric
@attribute f_85 numeric
@attribute f_86 numeric
@attribute f_87 numeric
@attribute f_88 numeric
@attribute f_89 numeric
@attribute f_90 numeric
@attribute f_91 numeric
@attribute f_92 numeric
@attribute f_93 numeric
@attribute f_94 numeric
@attribute f_95 numeric
@attribute f_96 numeric
@attribute f_97 numeric
@attribute f_98 numeric
@attribute f_99 numeric
@attribute f_100 numeric
@attribute f_101 numeric
@attribute f_102 numeric
@attribute f_103 numeric
@attribute f_104 numeric
@attribute f_105 numeric
@attribute f_106 numeric
@attribute f_107 numeric
@attribute f_108 numeric
@attribute f_109 numeric
@attribute f_110 numeric
@attribute f_111 numeric
@attribute f_112 numeric
@attribute f_113 numeric
@attribute f_114 numeric
@attribute f_115 numeric
@attribute f_116 numeric
@attribute f_117 numeric
@attribute f_118 numeric
@attribute f_119 numeric
@attribute f_120 numeric
@attribute f_121 numeric
@attribute f_122 numeric
@attribute f_123 numeric
@attribute f_124 numeric
@attribute f_125 numeric
@attribute f_126 numeric
@attribute f_127 numeric
@attribute f_128 numeric
@attribute f_129 numeric
@attribute f_130 numeric
@attribute f_131 numeric
@attribute f_132 numeric
@attribute f_133 numeric
@attribute f_134 numeric
@attribute f_135 numeric
@attribute f_136 numeric
@attribute f_137 numeric
@attribute f_138 numeric
@attribute f_139 numeric
@attribute f_140 numeric
@attribute f_141 numeric
@attribute f_142 numeric
@attribute f_143 numeric
@attribute f_144 numeric
@attribute f_145 numeric
@attribute f_146 numeric
@attribute f_147 numeric
@attribute f_148 numeric
@attribute f_149 numeric
@attribute f_150 numeric
@attribute f_151 numeric
@attribute f_152 numeric
@attribute f_153 numeric
@attribute f_154 numeric
@attribute f_155 numeric
@attribute f_156 numeric
@attribute f_157 numeric
@attribute f_158 numeric
@attribute f_159 numeric
@attribute f_160 numeric
@attribute f_161 numeric
@attribute f_162 numeric
@attribute f_163 numeric
@attribute f_164 numeric
@attribute f_165 numeric
@attribute f_166 numeric
@attribute f_167 numeric
@attribute f_168 numeric
@attribute f_169 numeric
@attribute f_170 numeric
@attribute f_171 numeric
@attribute f_172 numeric
@attribute f_173 numeric
@attribute f_174 numeric
@attribute f_175 numeric
@attribute f_176 numeric
@attribute f_177 numeric
@attribute f_178 numeric
@attribute f_179 numeric
@attribute f_180 numeric
@attribute f_181 numeric
@attribute f_182 numeric
@attribute f_183 numeric
@attribute f_184 numeric
@attribute f_185 numeric
@attribute f_186 numeric
@attribute f_187 numeric
@attribute f_188 numeric
@attribute f_189 numeric
@attribute f_190 numeric
@attribute f_191 numeric
@attribute f_192 numeric
@attribute f_193 numeric
@attribute f_194 numeric
@attribute f_195 numeric
@attribute f_196 numeric
@attribute f_197 numeric
@attribute f_198 numeric
@attribute f_199 numeric
@attribute f_200 numeric
@attribute f_201 numeric
@attribute f_202 numeric
@attribute f_203 numeric
@attribute f_204 numeric
@attribute f_205 numeric
@attribute f_206 numeric
@attribute f_207 numeric
@attribute f_208 numeric
@attribute f_209 numeric
@attribute f_210 numeric
@attribute f_211 numeric
@attribute f_212 numeric
@attribute f_213 numeric
@attribute f_214 numeric
@attribute f_215 numeric
@attribute f_216 numeric
@attribute f_217 numeric
@attribute f_218 numeric
@attribute f_219 numeric
@attribute f_220 numeric
@attribute f_221 numeric
@attribute f_222 numeric
@attribute f_223 numeric
@attribute f_224 numeric
@attribute f_225 numeric
@attribute f_226 numeric
@attribute f_227 numeric
@attribute f_228 numeric
@attribute f_229 numeric
@attribute f_230 numeric
@attribute f_231 numeric
@attribute f_232 numeric
@attribute f_233 numeric
@attribute f_234 numeric
@attribute f_235 numeric
@attribute f_236 numeric
@attribute f_237 numeric
@attribute f_238 numeric
@attribute f_239 numeric
@attribute f_240 numeric
@attribute f_241 numeric
@attribute f_242 numeric
@attribute f_243 numeric
@attribute f_244 numeric
@attribute f_245 numeric
@attribute f_246 numeric
@attribute f_247 numeric
@attribute f_248 numeric
@attribute f_249 numeric
@attribute f_250 numeric
@attribute f_251 numeric
@attribute f_252 numeric
@attribute f_253 numeric
@attribute f_254 numeric
@attribute f_255 numeric
@attribute f_256 numeric
@attribute f_257 numeric
@attribute f_258 numeric
@attribute f_259 numeric
@attribute f_260 numeric
@attribute f_261 numeric
@attribute f_262 numeric
@attribute f_263 numeric
@attribute f_264 numeric
@attribute f_265 numeric
@attribute f_266 numeric
@attribute f_267 numeric
@attribute f_268 numeric
@attribute f_269 numeric
@attribute f_270 numeric
@attribute f_271 numeric
@attribute f_272 numeric
@attribute f_273 numeric
@attribute f_274 numeric
@attribute f_275 numeric
@attribute f_276 numeric
@attribute f_277 numeric
@attribute f_278 numeric
@attribute f_279 numeric
@attribute f_280 numeric
@attribute f_281 numeric
@attribute f_282 numeric
@attribute f_283 numeric
@attribute f_284 numeric
@attribute f_285 numeric
@attribute f_286 numeric
@attribute f_287 numeric
@attribute f_288 numeric
@attribute f_289 numeric
@attribute f_290 numeric
@attribute f_291 numeric
@attribute f_292 numeric
@attribute f_293 numeric
@attribute f_294 numeric
@attribute f_295 numeric
@attribute f_296 numeric
@attribute f_297 numeric
@attribute f_298 numeric
@attribute f_299 numeric
@attribute f_300 numeric
@attribute f_301 numeric
@attribute f_302 numeric
@attribute f_303 numeric
@attribute f_304 numeric
@attribute f_305 numeric
@attribute f_306 numeric
@attribute f_307 numeric
@attribute f_308 numeric
@attribute f_309 numeric
@attribute f_310 numeric
@attribute f_311 numeric
@attribute f_312 numeric
@attribute f_313 numeric
@attribute f_314 numeric
@attribute f_315 numeric
@attribute f_316 numeric
@attribute f_317 numeric
@attribute f_318 numeric
@attribute f_319 numeric
@attribute f_320 numeric
@attribute f_321 numeric
@attribute f_322 numeric
@attribute f_323 numeric
@attribute f_324 numeric
@attribute f_325 numeric
@attribute f_326 numeric
@attribute f_327 numeric
@attribute f_328 numeric
@attribute f_329 numeric
@attribute f_330 numeric
@attribute f_331 numeric
@attribute f_332 numeric
@attribute f_333 numeric
@attribute f_334 numeric
@attribute f_335 numeric
@attribute f_336 numeric
@attribute f_337 numeric
@attribute f_338 numeric
@attribute f_339 numeric
@attribute f_340 numeric
@attribute f_341 numeric
@attribute f_342 numeric
@attribute f_343 numeric
@attribute f_344 numeric
@attribute f_345 numeric
@attribute f_346 numeric
@attribute f_347 numeric
@attribute f_348 numeric
@attribute f_349 numeric
@attribute f_350 numeric
@attribute f_351 numeric
@attribute f_352 numeric
@attribute f_353 numeric
@attribute f_354 numeric
@attribute f_355 numeric
@attribute f_356 numeric
@attribute f_357 numeric
@attribute f_358 numeric
@attribute f_359 numeric
@attribute f_360 numeric
@attribute f_361 numeric
@attribute f_362 numeric
@attribute f_363 numeric
@attribute f_364 numeric
@attribute f_365 numeric
@attribute f_366 numeric
@attribute f_367 numeric
@attribute f_368 numeric
@attribute f_369 numeric
@attribute f_370 numeric
@attribute f_371 numeric
@attribute f_372 numeric
@attribute f_373 numeric
@attribute f_374 numeric
@attribute f_375 numeric
@attribute f_376 numeric
@attribute f_377 numeric
@attribute f_378 numeric
@attribute f_379 numeric
@attribute f_380 numeric
@attribute f_381 numeric
@attribute f_382 numeric
@attribute f_383 numeric
@attribute f_384 numeric
@attribute class {1,0}
@data
5.481e-02, 4.606e-06, 5.480e-02, 144, 012, 7.055e-03,-1.097e-05, 8.756e-03, 1.344e-04, 1.163e-02, 2.092e+00, 6.938e+00, 5.182e+00,-1.851e+01, 2.369e+01, 104, 181,-8.808e+00,-6.492e-03,-7.802e+00, 2.869e+01, 5.388e+00, 5.336e-01, 2.204e+00, 1.158e+01,-2.539e+01, 3.697e+01, 139, 096,-8.787e+00, 7.992e-03,-1.003e+01, 4.901e+01, 7.038e+00, 3.089e-01, 3.281e+00, 3.719e+00,-2.125e+01, 2.497e+01, 012, 106,-6.748e+00,-1.777e-02,-3.994e+00, 1.887e+01, 4.627e+00,-3.462e-01, 3.303e+00, 6.074e+00,-2.513e+01, 3.121e+01, 095, 188,-9.836e+00,-5.469e-03,-8.988e+00, 3.117e+01, 5.604e+00,-5.683e-02, 3.857e+00, 5.864e+00,-2.201e+01, 2.787e+01, 016, 135,-7.781e+00,-2.141e-03,-7.449e+00, 2.368e+01, 4.870e+00,-2.813e-01, 3.972e+00, 7.598e+00,-3.077e+01, 3.837e+01, 000, 112,-8.026e+00,-1.732e-03,-7.758e+00, 6.137e+01, 7.835e+00,-5.113e-01, 2.744e+00, 2.057e+01,-1.481e+01, 3.538e+01, 145, 201,-2.547e+00, 4.904e-03,-3.307e+00, 3.132e+01, 5.613e+00, 8.411e-01, 4.966e+00, 6.758e+00,-2.790e+01, 3.465e+01, 016, 198,-7.219e+00, 1.072e-02,-8.881e+00, 5.183e+01, 7.263e+00,-6.403e-01, 3.128e+00, 1.398e+01,-1.819e+01, 3.217e+01, 186, 123,-3.447e+00,-4.000e-03,-2.827e+00, 4.056e+01, 6.379e+00,-1.716e-01, 2.500e+00, 8.664e+00,-1.635e+01, 2.501e+01, 016, 133,-4.963e+00, 7.083e-04,-5.072e+00, 2.645e+01, 5.144e+00, 2.141e-01, 2.701e+00, 6.540e+00,-2.396e+01, 3.050e+01, 053, 114,-4.389e+00,-1.066e-03,-4.224e+00, 3.412e+01, 5.842e+00,-7.047e-01, 3.463e+00, 7.308e+00,-1.196e+01, 1.927e+01, 185, 202,-1.797e+00,-7.741e-03,-5.974e-01, 1.110e+01, 3.403e+00,-8.518e-02, 3.553e+00, 4.100e-01, 000, 4.100e-01, 045, 012, 1.917e-01,-6.452e-05, 2.017e-01, 8.687e-03, 9.338e-02, 6.979e-02, 2.469e+00, 8.253e-01, 9.177e-02, 7.335e-01, 118, 000, 3.432e-01,-3.257e-04, 3.937e-01, 2.852e-02, 1.714e-01, 1.158e+00, 3.268e+00, 2.500e+02, 000, 2.500e+02, 130, 000, 2.861e+01,-4.906e-02, 3.622e+01, 4.021e+03, 6.357e+01, 2.034e+00, 5.621e+00, 1.356e-02,-9.137e-03, 2.269e-02, 142, 148, 7.993e-07,-8.558e-07, 1.334e-04, 5.900e-06, 2.430e-03, 6.482e-01, 1.052e+01, 2.860e+00,-4.245e+00, 7.105e+00, 011, 017,-2.695e-02,-2.253e-04, 7.963e-03, 9.443e-01, 9.720e-01,-5.061e-01, 7.270e+00, 4.488e+00,-6.839e+00, 1.133e+01, 102, 141,-1.484e-02, 7.416e-04,-1.298e-01, 2.150e+00, 1.468e+00,-1.126e+00, 7.426e+00, 4.936e+00,-3.612e+00, 8.548e+00, 108, 181,-4.358e-03, 1.173e-04,-2.253e-02, 1.264e+00, 1.124e+00,-3.539e-02, 5.470e+00, 4.277e+00,-3.588e+00, 7.865e+00, 010, 205, 6.592e-04, 1.662e-04,-2.510e-02, 1.517e+00, 1.232e+00, 1.044e-01, 3.956e+00, 4.076e+00,-4.117e+00, 8.193e+00, 011, 129,-5.497e-03, 2.940e-04,-5.107e-02, 1.472e+00, 1.214e+00, 2.687e-01, 3.945e+00, 3.310e+00,-3.488e+00, 6.797e+00, 044, 018,-3.514e-02, 1.224e-03,-2.249e-01, 1.541e+00, 1.246e+00,-8.662e-02, 2.998e+00, 8.032e+00,-4.897e+00, 1.293e+01, 142, 089,-2.351e-02, 1.891e-04,-5.282e-02, 3.030e+00, 1.741e+00, 6.297e-01, 5.315e+00, 5.344e+00,-4.723e+00, 1.007e+01, 010, 185, 4.236e-02, 7.850e-05, 3.019e-02, 2.345e+00, 1.531e+00, 1.724e-01, 3.861e+00, 3.847e+00,-4.187e+00, 8.034e+00, 183, 202,-1.226e-02, 1.134e-03,-1.881e-01, 1.899e+00, 1.382e+00,-2.586e-01, 3.350e+00, 3.451e+00,-2.983e+00, 6.434e+00, 086, 042,-1.885e-02, 6.875e-04,-1.254e-01, 1.510e+00, 1.230e+00,-9.086e-03, 2.685e+00, 4.109e+00,-4.784e+00, 8.893e+00, 116, 111,-4.909e-03, 1.465e-04,-2.762e-02, 1.865e+00, 1.366e+00, 4.457e-02, 3.489e+00, 2.745e+00,-3.958e+00, 6.702e+00, 118, 199,-1.772e-02, 2.621e-04,-5.835e-02, 9.258e-01, 9.625e-01,-1.912e-01, 4.191e+00, 6.667e-02,-4.317e-02, 1.098e-01, 018, 197, 7.229e-04,-8.015e-06, 1.965e-03, 2.493e-04, 1.581e-02, 5.324e-01, 4.889e+00, 1.017e-01,-1.177e-01, 2.193e-01, 144, 140, 3.463e-04,-2.074e-05, 3.560e-03, 1.044e-03, 3.237e-02, 1.454e-01, 4.819e+00, 6.676e+01,-5.932e+01, 1.261e+02, 129, 121, 1.459e-08,-3.550e-03, 5.503e-01, 2.380e+02, 1.543e+01, 3.217e-01, 8.951e+00,0
-10
Ver Arquivo
@@ -1,10 +0,0 @@
#!/bin/bash
export CLASSPATH=$CLASSPATH:/home/sag/Softwares/weka-3-8-0/weka.jar
NEW_UUID=$(date | md5sum | awk '{ print substr( $0, 1, 10 ) }')'a.arff'
#NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 12 | head -n 1)'.arff'
./SMILExtract -C IS09_emotion_Agreeable.conf -I $1 -l 0 -classlabel 0 -O $NEW_UUID
res=$(java weka.classifiers.trees.RandomForest -T $NEW_UUID -l Agreeable.model -classifications weka.classifiers.evaluation.output.prediction.PlainText | grep 1 | tr -s ' ' | sed -r 's/^ //g' | cut -d' ' -f3)
#| sed -r 's/^/class=/g'
printf '{"PROCESSOR":"OpenSMILE","ORIGIN":"libsvm","TYPE":"regression","COMPONENT":"mysvmsink","VIDX":1,"VALUE":'$res',"PROB":[{"CONFIDENCE":1.00}]}\n'
#rm $NEW_UUID
-10
Ver Arquivo
@@ -1,10 +0,0 @@
#!/bin/bash
export CLASSPATH=$CLASSPATH:/home/sag/Softwares/weka-3-8-0/weka.jar
NEW_UUID=$(date | md5sum | awk '{ print substr( $0, 1, 10 ) }')'a.arff'
#NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 12 | head -n 1)'.arff'
./SMILExtract -C IS09_emotion_Concious.conf -I $1 -l 0 -classlabel 0 -O $NEW_UUID
res=$(java weka.classifiers.trees.RandomForest -T $NEW_UUID -l Concious.model -classifications weka.classifiers.evaluation.output.prediction.PlainText | grep 1 | tr -s ' ' | sed -r 's/^ //g' | cut -d' ' -f3)
#| sed -r 's/^/class=/g'
printf '{"PROCESSOR":"OpenSMILE","ORIGIN":"libsvm","TYPE":"regression","COMPONENT":"mysvmsink","VIDX":1,"VALUE":'$res',"PROB":[{"CONFIDENCE":1.00}]}\n'
#rm $NEW_UUID
-10
Ver Arquivo
@@ -1,10 +0,0 @@
#!/bin/bash
export CLASSPATH=$CLASSPATH:/home/sag/Softwares/weka-3-8-0/weka.jar
NEW_UUID=$(date | md5sum | awk '{ print substr( $0, 1, 10 ) }')'a.arff'
#NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 12 | head -n 1)'.arff'
./SMILExtract -C IS09_emotion_Extroversion.conf -I $1 -l 0 -classlabel 0 -O $NEW_UUID
res=$(java weka.classifiers.trees.RandomForest -T $NEW_UUID -l Extroversion.model -classifications weka.classifiers.evaluation.output.prediction.PlainText | grep 1 | tr -s ' ' | sed -r 's/^ //g' | cut -d' ' -f3)
#| sed -r 's/^/class=/g'
printf '{"PROCESSOR":"OpenSMILE","ORIGIN":"libsvm","TYPE":"regression","COMPONENT":"mysvmsink","VIDX":1,"VALUE":'$res',"PROB":[{"CONFIDENCE":1.00}]}\n'
#rm $NEW_UUID
-10
Ver Arquivo
@@ -1,10 +0,0 @@
#!/bin/bash
export CLASSPATH=$CLASSPATH:/home/sag/Softwares/weka-3-8-0/weka.jar
NEW_UUID=$(date | md5sum | awk '{ print substr( $0, 1, 10 ) }')'a.arff'
#NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 12 | head -n 1)'.arff'
./SMILExtract -C IS09_emotion_Neuroticism.conf -I $1 -l 0 -classlabel 0 -O $NEW_UUID
res=$(java weka.classifiers.trees.RandomForest -T $NEW_UUID -l Neuroticism.model -classifications weka.classifiers.evaluation.output.prediction.PlainText | grep 1 | tr -s ' ' | sed -r 's/^ //g' | cut -d' ' -f3)
#| sed -r 's/^/class=/g'
printf '{"PROCESSOR":"OpenSMILE","ORIGIN":"libsvm","TYPE":"regression","COMPONENT":"mysvmsink","VIDX":1,"VALUE":'$res',"PROB":[{"CONFIDENCE":1.00}]}\n'
#rm $NEW_UUID
-10
Ver Arquivo
@@ -1,10 +0,0 @@
#!/bin/bash
export CLASSPATH=$CLASSPATH:/home/sag/Softwares/weka-3-8-0/weka.jar
NEW_UUID=$(date | md5sum | awk '{ print substr( $0, 1, 10 ) }')'Openness.arff'
#NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 12 | head -n 1)'.arff'
./SMILExtract -C IS09_emotion_Openness.conf -I $1 -l 5 -classlabel 0 -O $NEW_UUID
res=$(java weka.classifiers.trees.RandomForest -T $NEW_UUID -l Openness.model -classifications weka.classifiers.evaluation.output.prediction.PlainText | grep 1 | tr -s ' ' | sed -r 's/^ //g' | cut -d' ' -f3)
#| sed -r 's/^/class=/g'
printf '{"PROCESSOR":"OpenSMILE","ORIGIN":"libsvm","TYPE":"regression","COMPONENT":"mysvmsink","VIDX":1,"VALUE":'$res',"PROB":[{"CONFIDENCE":1.00}]}\n'
rm $NEW_UUID
-10
Ver Arquivo
@@ -1,10 +0,0 @@
#!/bin/bash
export CLASSPATH=$CLASSPATH:/home/sag/Softwares/weka-3-8-0/weka.jar
NEW_UUID=$(date | md5sum | awk '{ print substr( $0, 1, 10 ) }')'a.arff'
#NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 12 | head -n 1)'.arff'
./SMILExtract -C IS09_emotion_age.conf -I $1 -l 0 -classlabel 0 -O $NEW_UUID
res=$(java weka.classifiers.functions.SMOreg -T $NEW_UUID -l age_smoreg.model -classifications weka.classifiers.evaluation.output.prediction.PlainText | grep 1 | tr -s ' ' | sed -r 's/^ //g' | cut -d' ' -f3 | cut -f1 -d".")
#| sed -r 's/^/class=/g'
printf '{"PROCESSOR":"OpenSMILE","ORIGIN":"libsvm","TYPE":"regression","COMPONENT":"mysvmsink","VIDX":1,"VALUE":'$res',"PROB":[{"CONFIDENCE":1.00}]}\n'
rm $NEW_UUID
-19
Ver Arquivo
@@ -1,19 +0,0 @@
#!/bin/bash
export CLASSPATH=$CLASSPATH:/home/sag/Softwares/weka-3-8-0/weka.jar
NEW_UUID=$(date | md5sum | awk '{ print substr( $0, 1, 10 ) }')'g.arff'
#NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 12 | head -n 1)'.arff'
./SMILExtract -C IS09_emotion_gender.conf -I $1 -l 0 -classlabel Female -O $NEW_UUID
res=$(java weka.classifiers.trees.RandomForest -T $NEW_UUID -l gender_rf.model -classifications weka.classifiers.evaluation.output.prediction.PlainText | grep ':' |tr -s ' '|sed -r 's/^ //g'|cut -d' ' -f3|cut -d':' -f2)
#| sed -r 's/^/class=/g'
male='Male'
if [ "$res" = "$male" ];
then
printf '{"PROCESSOR":"OpenSMILE","ORIGIN":"libsvm","TYPE":"classification","COMPONENT":"mysvmsink","VIDX":1,"VALUE":"Male","PROB":[{"CLASS_IDX":0,"CLASS_NAME":"Male","CLASS_PROB":1.0},{"CLASS_IDX":1,"CLASS_NAME":"Female","CLASS_PROB":0.0},],}\n'
fi
female='Female'
if [ "$res" = "$female" ];
then
printf '{"PROCESSOR":"OpenSMILE","ORIGIN":"libsvm","TYPE":"classification","COMPONENT":"mysvmsink","VIDX":1,"VALUE":"Female","PROB":[{"CLASS_IDX":0,"CLASS_NAME":"Male","CLASS_PROB":0.0},{"CLASS_IDX":1,"CLASS_NAME":"Female","CLASS_PROB":1.0},],}\n'
fi
rm $NEW_UUID
-5
Ver Arquivo
@@ -1,5 +0,0 @@
#!/bin/bash
curl --user testuser:testuser -X GET "http://X.X.X.X:X/technologies/stt?path=$1&model=ENGLISH_L&result_type=one_best"
#output form: {"result":{"info":{"id":"ID","state":"waiting"}}}
-2
Ver Arquivo
@@ -1,2 +0,0 @@
#!/bin/bash
curl -X POST --data-binary @$1 --user testuser:testuser http://X.X.X.X:X/audiofile?path=$1
-2
Ver Arquivo
@@ -1,2 +0,0 @@
#!/bin/bash
curl --user testuser:testuser -X GET "http://X.X.X.X:X/pending/$1"
-15
Ver Arquivo
@@ -1,15 +0,0 @@
curl -X POST --data-binary @$1 --user testuser:testuser http://136.243.53.82:8601/audiofile?path=$1
{"result":{"version":2,"name":"AudioFileInfoResult","info":{"name":"sss.wav","last_modified":"2016-09-19T10:15:18Z","created":"2016-09-19T10:15:18Z","size":79862,"is_directory":false,"frequency":8000,"length":4.988625,"n_channels":1,"format":"lin16"}}}
curl --user testuser:testuser -X GET "http://136.243.53.82:8601/technologies/stt?path=$1&model=ENGLISH_L&result_type=one_best"
{"result":{"version":1,"name":"PendingInfoResult","info":{"id":"aaddd257-95f5-4398-9db9-2cabff12d9da","state":"waiting"}}}
curl --user testuser:testuser -X GET "http://136.243.53.82:8601/pending/73e01038-b0aa-4b46-8011-084829231671"
{"result":{"version":1,"name":"PendingInfoResult","info":{"id":"aaddd257-95f5-4398-9db9-2cabff12d9da","state":"waiting"}}}
{"result":{"version":1,"name":"PendingInfoResult","info":{"id":"aaddd257-95f5-4398-9db9-2cabff12d9da","state":"finished"}}}
curl -X POST --data-binary @$1 --user testuser:testuser http://136.243.53.82:8601/audiofile?path=$1
{"result":{"version":2,"name":"SpeechRecognitionOneBestResult","file":"\/sad2_happy3_8khz.wav","model":"ENGLISH_L","one_best_result":{"segmentation":[{"channel_id":0,"score":-684.55896,"confidence":13382.554,"start":1600000,"end":4200000,"word":"<s>"},{"channel_id":0,"score":-4015.509,"confidence":-97.95257,"start":4200000,"end":11100000,"word":"LIMITED"},{"channel_id":0,"score":-1345.1619,"confidence":-188.62932,"start":11100000,"end":14000000,"word":"IS"},{"channel_id":0,"score":-2018.9628,"confidence":-75.10674,"start":14000000,"end":19100000,"word":"A"},{"channel_id":0,"score":-2227.218,"confidence":-294.19534,"start":19100000,"end":22800000,"word":"<\/s>"},{"channel_id":0,"score":-605.6393,"confidence":10061.17,"start":23200000,"end":25200000,"word":"<s>"},{"channel_id":0,"score":-1929.8737,"confidence":-41.353687,"start":25200000,"end":28300000,"word":"BUT"},{"channel_id":0,"score":-1288.3638,"confidence":-43.10891,"start":28300000,"end":31200000,"word":"NO"},{"channel_id":0,"score":-839.043,"confidence":-42.473152,"start":31200000,"end":32500000,"word":"I"},{"channel_id":0,"score":-1854.2478,"confidence":-85.816895,"start":32500000,"end":35800000,"word":"REALLY"},{"channel_id":0,"score":-5980.855,"confidence":-290.30914,"start":35800000,"end":45400000,"word":"UNHAPPY"},{"channel_id":0,"score":-973.4547,"confidence":-48.923462,"start":45400000,"end":47800000,"word":"<\/s>"}]}}}
-15
Ver Arquivo
@@ -1,15 +0,0 @@
#!/bin/bash
# Arousal and valence prediction using bag-of-audio-words
wavfile=input.wav
#./SMILExtract -C "mfcc_energy.conf" -logfile "smile.log" -I $wavfile -instname $wavfile -csvoutput "LLD.csv" -l 1
./SMILExtract -C "mfcc_energy.conf" -logfile "smile.log" -I $wavfile -instname $wavfile -csvoutput "LLD.csv" -l 1
java -jar openXBOW.jar -i LLD.csv -attributes nt1111111111111 -o boaw.libsvm -a 10 -norm 1 -b book &>/dev/null
./predict boaw.libsvm modelArousal.svr arousal.txt &>/dev/null
./predict boaw.libsvm modelValence.svr valence.txt &>/dev/null
cat arousal.txt
echo
cat valence.txt
-32
Ver Arquivo
@@ -1,32 +0,0 @@
#!/bin/bash
# Arousal and valence prediction using bag-of-audio-words
wavfile=$1 #'/media/sag/DATA/workPassau/Projects/MixedEmotions/Databases/Youtube_data_package/data/Audio/video1(00h00m27s-00h01m01s).wav'
interval=0.04 # hop size
#./SMILExtract -C "mfcc_energy.conf" -logfile "smile.log" -I $wavfile -instname $wavfile -csvoutput "LLD.csv" -l 1
#./SMILExtract -C "mfcc_energy.conf" -logfile "smile.log" -I $wavfile -instname $wavfile -csvoutput "LLDval.csv" -l 1
#java -jar openWord.jar -i LLDval.csv -o boaw.libsvm -a 20 -size 1000 -t 10.0 $interval -b bookValence &>/dev/null
#./predict boaw.libsvm modelValence.svr valence.txt &>/dev/null
NEW_UUID='LLD'$(date | md5sum | awk '{ print substr( $0, 1, 10 ) }')'a'
./SMILExtract -C "mfcc_energy.conf" -logfile "smile.log" -I $wavfile -instname $wavfile -csvoutput ${NEW_UUID}.csv -l 1
java -jar openXBOW.jar -i ${NEW_UUID}.csv -attributes nt1111111111111 -o boaw.libsvm -a 10 -norm 1 -b book &>/dev/null
./predict boaw.libsvm modelArousal.svr ${NEW_UUID}arousal.txt &>/dev/null
#cat valence.txt | awk '{ sum += $1; sum2+=$1*$1; n++ } END { if (n > 0) print sum/n , 1-((sum2/n)-(sum/n*sum/n))^.5; }' > Vres.txt
input=${NEW_UUID}arousal.txt
i=1
while read mean
do
# if [[ $std == *"nan"* ]]
# then
# std=1;
# fi
a=`awk "BEGIN{printf \"%.2f\",$mean}"`
printf '{ "PROCESSOR":"OpenSMILE","ORIGIN":"boaw","TYPE":"regression","COMPONENT":"maxboaw2","VIDX":'$i',"VALUE":'$a',"PROB":[{"CONFIDENCE":1}]}\n'
done < "$input"
rm ${NEW_UUID}arousal.txt ${NEW_UUID}.csv
-32
Ver Arquivo
@@ -1,32 +0,0 @@
#!/bin/bash
# Arousal and valence prediction using bag-of-audio-words
wavfile=$1 #'/media/sag/DATA/workPassau/Projects/MixedEmotions/Databases/Youtube_data_package/data/Audio/video1(00h00m27s-00h01m01s).wav'
interval=0.04 # hop size
#./SMILExtract -C "mfcc_energy.conf" -logfile "smile.log" -I $wavfile -instname $wavfile -csvoutput "LLD.csv" -l 1
#./SMILExtract -C "mfcc_energy.conf" -logfile "smile.log" -I $wavfile -instname $wavfile -csvoutput "LLDval.csv" -l 1
#java -jar openWord.jar -i LLDval.csv -o boaw.libsvm -a 20 -size 1000 -t 10.0 $interval -b bookValence &>/dev/null
#./predict boaw.libsvm modelValence.svr valence.txt &>/dev/null
NEW_UUID='LLD'$(date | md5sum | awk '{ print substr( $0, 1, 10 ) }')'a'
./SMILExtract -C "mfcc_energy.conf" -logfile "smile.log" -I $wavfile -instname $wavfile -csvoutput ${NEW_UUID}.csv -l 1
java -jar openXBOW.jar -i ${NEW_UUID}.csv -attributes nt1111111111111 -o boaw.libsvm -a 10 -norm 1 -b book &>/dev/null
./predict boaw.libsvm modelValence.svr ${NEW_UUID}valence.txt &>/dev/null
#cat valence.txt | awk '{ sum += $1; sum2+=$1*$1; n++ } END { if (n > 0) print sum/n , 1-((sum2/n)-(sum/n*sum/n))^.5; }' > Vres.txt
input=${NEW_UUID}valence.txt
i=1
while read mean
do
# if [[ $std == *"nan"* ]]
# then
# std=1;
# fi
a=`awk "BEGIN{printf \"%.3f\",$mean}"`
printf '{ "PROCESSOR":"OpenSMILE","ORIGIN":"boaw","TYPE":"regression","COMPONENT":"maxboaw2","VIDX":'$i',"VALUE":'$mean',"PROB":[{"CONFIDENCE":1}]}\n'
done < "$input"
rm ${NEW_UUID}valence.txt ${NEW_UUID}.csv
-2
Ver Arquivo
@@ -1,2 +0,0 @@
#!/bin/bash
sudo pip install pandas
Ver Arquivo
-12
Ver Arquivo
@@ -1,12 +0,0 @@
#!/bin/bash
#echo "h$1"
#python rnn_sentiment.py --mode=sentence --sentence="$1"
str="$1"
os=$(echo $str| sed 's/_/ /g')
echo ${os}
##strrep=${str//_/ }
v=$(python rnn_sentiment.py --mode=sentence --sentence="$os" | sed -n '1!p')
##echo $(python rnn_sentiment.py --mode=sentence --sentence=\"$1\"
##v=$(python rnn_sentiment.py --mode=sentence --sentence=\"$1\" | sed -n '1!p')
#a=`awk "BEGIN{printf \"%.3f\",$v}"`
#printf '{ "PROCESSOR":"python","ORIGIN":"theano","TYPE":"regression","COMPONENT":"sentiment","VIDX":0,"VALUE":'$a',"PROB":[{"CONFIDENCE":1}]}\n'