Hydrofon wikiThe manual of an underwater listening app 文A eesti

Manual:Sources

Other languages: eesti English

This page collects the verified scientific papers, dataset records and library references behind Hydrofon's signal processing, modelling and evaluation choices (drawn from docs/allikad.md). All links and technical claims were verified on 5 December 2026 (UTC) against the library versions pinned in the project (scikit-learn 1.9.1, SciPy 1.18, TensorFlow 2.22.0).

External benchmark numbers are not copied as targets

Accuracy figures reported for external marine datasets (ShipsEar, DeepShip, UniqueShip) or AudioSet are never copied as expected performance targets for Hydrofon. Those references are used strictly for methodology, leakage prevention and domain-shift context.

What each source supports in this project

Wolfset — test-tank dataset

  • Wolfset paper (Nature Scientific Data / PMC mirror): documents the Wolfset recording chain (anechoic test tank, B&K 8104 hydrophone, B&K 2636 amplifier, 16-bit sound card, 44.1 kHz mono), filename codes (A/E, four Mercury outboards + one electric RC-boat motor, T/N bitmask codes) and physical artefacts (50 Hz mains harmonics, low-frequency roll-off, saturation on loud transients).
  • Wolfset dataset repository (Figshare): provides the canonical v1 data citation (verified via Figshare API v2: 168 WAV files, Wolfset_Index.csv and .xlsx, zero E-prefixed files; the API returned license: null, so dataset redistribution rights must be checked in a browser before sharing).

YAMNet and transfer learning

  • TensorFlow Hub — Sound classification with YAMNet: backs loading pretrained YAMNet (MobileNetV1, 521 AudioSet classes), its required 16 kHz mono [-1, 1] input and its three outputs (scores, embeddings, spectrogram).
  • TensorFlow Core — Transfer learning with YAMNet: justifies training a lightweight classifier on frozen 1024-d embeddings for small datasets and explicitly warns against mixing frames from the same audio file across splits (note: the tutorial's tensorflow==2.11.* install line is outdated and must not replace our tensorflow==2.22.0).
  • YAMNet GitHub repository and params.py: fixes the exact preprocessing and network constants (16 kHz, 64 mel bands covering 125–7500 Hz, 25 ms STFT window, 10 ms hop, 96 frames -> 0.975 s actual waveform support, 0.48 s hop, independent per-class sigmoid outputs) and warns against altering frequency parameters on pretrained weights.

Splits, thresholds, metrics and calibration

  • scikit-learn cross_validation: supports group-wise splitting, keeping a held-out test set separate from tuning, and fitting preprocessing (StandardScaler) strictly on training folds.
  • scikit-learn StratifiedGroupKFold: explains why stratification cannot always populate every fold when few groups exist (as with Wolfset's five background-bearing transient groups), requiring explicit coverage checks.
  • scikit-learn classification_threshold: separates statistical score estimation from threshold choice and confirms that decision thresholds must be tuned on validation/CV data, never on training or final test data.
  • scikit-learn model_evaluation: defines imbalanced-data metrics (balanced_accuracy, confusion matrix, precision, recall, F1) and zero_division behaviour, backing Hydrofon's rule to return explicit null + reason on zero denominators.
  • scikit-learn calibration: explains why raw classifier scores (especially from SVMs or class-balanced models) cannot be assumed to be calibrated probabilities and why calibrators must be fit on held-out data.
  • Bilen et al. (2020) — robust SED evaluation (PSDS): justifies event-based evaluation and per-unit-time false-alarm rates (false alarms per hour), showing how fixed operating points and strict onset/offset collars can invert model rankings.

Signal processing and classical classifiers

  • SciPy scipy.signal.welch: confirms that welch defaults to power spectral density (scaling='density', units V**2/Hz) rather than integrated band power (V**2), supporting explicit recording of Welch parameters in feature_spec.
  • scikit-learn LogisticRegression: documents the baseline classifier's parameters (C, class_weight="balanced", max_iter and multinomial softmax probabilities).
  • scikit-learn SVC: documents RBF-SVM as a candidate comparison model and confirms two reasons not to use SVC(probability=True): its internal 5-fold CV ignores groups, and the probability parameter is deprecated in scikit-learn 1.9.
  • scikit-learn RandomForestClassifier: documents depth (max_depth) and leaf-size (min_samples_leaf) regularisation for potential non-linear comparison runs on band features.

External underwater acoustics datasets

  • ShipsEar (Santos-Domínguez et al., 2016): provides real shallow-water vessel recording practice and context for low-frequency (< 8 kHz) features with cepstral coefficients and GMMs (publisher page is paywalled; full text was verified via a green open-access Zenodo copy).
  • DeepShip (Irfan et al., 2021 + GitHub): references a large open-water vessel dataset (47 h 04 min, 265 ships, four commercial classes); the paper's full text is paywalled and unverified (verified via Crossref metadata, abstract and GitHub README.txt, which has no license file and requires email for part of the data).
  • UniqueShip (Hashemi et al., 2026 + project site): gives empirical evidence of data leakage under random splitting in underwater ship classification and models strict group-splitting rules (vessels grouped by MMSI, ambient noise grouped by day, released under CC-BY 4.0).

Citation list

  1. Bilen, Ç., Ferroni, G., Tuveri, F., Azcarreta, J., & Krstulović, S. (2020). A Framework for the Robust Evaluation of Sound Event Detection. Proceedings of ICASSP 2020 (arXiv:1910.08440). https://arxiv.org/abs/1910.08440
  2. Hashemi, C., Stout, T., Hoogs, A., & Parham, J. (2026). UniqueShip: Mitigating Data Leakage in Acoustic Ship Classification Benchmark Datasets. OCEANS 2026 (arXiv:2609.13659). https://arxiv.org/abs/2609.13659 (project site: https://uniqueshipdata.org/)
  3. Irfan, M., Jiangbin, Z., Ali, S., Iqbal, M., Masood, Z., & Hamid, U. (2021). DeepShip: An underwater acoustic benchmark dataset and a separable convolution based autoencoder for classification. Expert Systems with Applications, 183, 115270. https://doi.org/10.1016/j.eswa.2021.115270 (repository: https://github.com/irfankamboh/DeepShip)
  4. Lobo, V., Santos, N. P., & Moura, R. (2025). A High-Quality Underwater Acoustic Dataset for Algorithm Development and Analysis. Scientific Data, 12(1), 1323. https://doi.org/10.1038/s41597-025-05564-x (PMC: https://pmc.ncbi.nlm.nih.gov/articles/PMC12311032/)
  5. Plakal, M., & Ellis, D. (2019). YAMNet: Pretrained audio event classifier [Software]. TensorFlow Models Repository, GitHub. https://github.com/tensorflow/models/tree/master/research/audioset/yamnet (params.py: https://github.com/tensorflow/models/blob/master/research/audioset/yamnet/params.py)
  6. Santos, N. P., Moura, R., & Lobo, V. (2025). Wolfset: A High-Quality Underwater Acoustic Dataset for Algorithm Development and Analysis [Data set]. Figshare. https://doi.org/10.6084/m9.figshare.25791978
  7. Santos-Domínguez, D., Torres-Guijarro, S., Cardenal-López, A., & Pena-Gimenez, A. (2016). ShipsEar: An underwater vessel noise database. Applied Acoustics, 113, 64–69. https://doi.org/10.1016/j.apacoust.2016.06.008
  8. scikit-learn developers. (2026). scikit-learn User Guide & API Reference (v1.9.1): Cross-validation, StratifiedGroupKFold, Classification threshold, Model evaluation, Probability calibration, LogisticRegression, SVC, RandomForestClassifier. https://scikit-learn.org/stable/
  9. SciPy developers. (2026). scipy.signal.welch (SciPy v1.18.0 Reference Guide). https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.welch.html
  10. TensorFlow Authors. (2026). Sound classification with YAMNet (https://www.tensorflow.org/hub/tutorials/yamnet) and Transfer learning with YAMNet for environmental sound classification (https://www.tensorflow.org/tutorials/audio/transfer_learning_audio).

See also

This page has not been saved yet.

The Hydrofon project · volli.page