do_new_neighbor_old
来自「feret人脸图象数据库处理代码」· 代码 · 共 65 行
TXT
65 行
#! /bin/sh## This script is the master script for processing feret Data# ======================================================================# -------- CONFIGURE -------set threshold = 89.0set threshold_f = 50.0set first_ev = 1set last_ev = 100set last_ev_f = 125set weight_file = weightsset bias_file = biasesset bayes_dir = $DATA/Bayesian#set p0 = 0.001#set sigmoid_scale = 0.2set p0 = 0.0005set sigmoid_scale = 0.025# run neighbor#----------------------------------------------------------------------#set top_n = `wc G/list | awk '{print int($1/10 + 0.5)}'`#set top_N = 25#if ($top_n > $top_N) then# set top_N = $top_n#endif#set top_N = 100echo Neighbor: printing matchesecho --------------------------------------echo mkdir N.olddate >! t0new_neighbor -m G/Coeffs/f.old \ -k glist \ -x G/Coeffs/f.old \ -l plist \ -o N.old \ -t $threshold \ -a $first_ev \ -b $last_ev date >! t1# print out results and test files#----------------------------------------------------------------------#sed "/[a-z]/d" neighbor.out >! TESTcat G/t0 G/t1 t0 t1 >! TIMES
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?