This value is used by the model to constrain the list of possible species that it will try to detect, given the minimum occurence frequency. A 0.05 threshold means that for a species to be included in this list, it needs to, on average, be seen on at least 5% of historically submitted eBird checklists for your given lat/lon/current week of year. So, the lower the threshold, the rarer the species it will include. If you'd like to tinker with this threshold value and see which species make it onto the list, you can run the following command AFTER clicking 'Update Settings' at the very bottom of this page to install the appropriate labels file: ~/BirdNET-Pi/birdnet/bin/python3 ~/BirdNET-Pi/scripts/species.py --threshold 0.05
+
This value is used by the model to constrain the list of possible species that it will try to detect, given the minimum occurence frequency. A 0.03 threshold means that for a species to be included in this list, it needs to, on average, be seen on at least 3% of historically submitted eBird checklists for your given lat/lon/current week of year. So, the lower the threshold, the rarer the species it will include. If you'd like to tinker with this threshold value and see which species make it onto the list, you can run the following command AFTER clicking 'Update Settings' at the very bottom of this page to install the appropriate labels file: ~/BirdNET-Pi/birdnet/bin/python3 ~/BirdNET-Pi/scripts/species.py --threshold 0.03
diff --git a/scripts/install_config.sh b/scripts/install_config.sh
index a592407..d3343a5 100755
--- a/scripts/install_config.sh
+++ b/scripts/install_config.sh
@@ -32,7 +32,7 @@ LONGITUDE=$(curl -s4 ifconfig.co/json | jq .longitude)
#______________________used for detecting bird audio.__________________________#
MODEL=BirdNET_6K_GLOBAL_MODEL
-SF_THRESH=0.5
+SF_THRESH=0.03
#--------------------- BirdWeather Station Information -----------------------#
#_____________The variable below can be set to have your BirdNET-Pi____________#
diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.sh
index a3079d1..be307e7 100755
--- a/scripts/update_birdnet_snippets.sh
+++ b/scripts/update_birdnet_snippets.sh
@@ -148,7 +148,7 @@ if ! grep MODEL /etc/birdnet/birdnet.conf &>/dev/null;then
sudo -u$USER echo "MODEL=BirdNET_6K_GLOBAL_MODEL" >> /etc/birdnet/birdnet.conf
fi
if ! grep SF_THRESH /etc/birdnet/birdnet.conf &>/dev/null;then
- sudo -u$USER echo "SF_THRESH=0.5" >> /etc/birdnet/birdnet.conf
+ sudo -u$USER echo "SF_THRESH=0.03" >> /etc/birdnet/birdnet.conf
fi
sudo chmod +x ~/BirdNET-Pi/scripts/install_language_label_nm.sh