File | Date | Author | Commit |
---|---|---|---|
habfuzz | 2018-03-28 |
![]() |
[44d2e3] Minor improvements |
lib | 2016-10-12 |
![]() |
[c4fa7e] Windows necessary files |
paper | 2016-10-27 |
![]() |
[b6fec3] Add files via upload |
tests | 2017-04-08 |
![]() |
[d27f8a] minor updates |
tests_input | 2016-10-24 |
![]() |
[840876] Added automated unit tests |
.gitattributes | 2016-10-24 |
![]() |
[3b8b1b] Update file |
.gitignore | 2016-09-20 |
![]() |
[3280ce] :space_invader: Added .gitattributes & .gitigno... |
Habfuzz_manual.pdf | 2018-03-14 |
![]() |
[4a3da8] Minor updates |
LICENSE.md | 2016-09-20 |
![]() |
[827bf0] Create LICENSE.md |
README.md | 2017-12-10 |
![]() |
[b11494] Update README.md |
a. Habfuzz is fully automated! Input your data and get the results! The software is data-driven and calculates everything it needs internally!
b. This version includes temperature (or shading) in the habitat suitability calculations (if you only intend to include flow velocity, water depth and substrate type, contact us at ctheodor@hcmr.gr to provide you with the solution).
c. Option to select between Monte Carlo and ten-fold cross validation to calculate model's performance as the percentage of correctly classified instances.
d. New habitat suitability metrics added:
i. Overall Suitability Index (OSI) - The sum of all habitat suitability values of the computational mesh.
ii. Normalized OSI (nOSI) - OSI normalized by dividing with the number of wetted nodes in the mesh.
iii. Certainty of prediction (COP): The ratio of the No. of microhabitat combinations actually 'found' in the training dataset to the total No. of nodes in the computational mesh; Habfuzz applies a trick when a microhabitat combination is not found in the training dataset and instead of returning some arbitrary habitat suitability value for a particular node (e.g. -1), it uses the value of its neighboring node in the domain.
iv. Percentage of wetted nodes in the computational mesh at each Q scenario (w).
v. Habitat connectivity (C): The ratio of connected (neighboring) nodes with habitat suitability higher than 0.6 to the total number of wetted nodes with habitat suitability higher than 0.6.
vi. Habitat availability (A): The ratio of connected (neighboring) nodes with habitat suitability higher than 0.6 to the total number of nodes in the study reach (wetted and dry).
Habfuzz is a fully automated software, which calculates the instream habitat suitability by utilizing
a. Τhe Mamdani - Assilian fuzzy inference process (Mamdani and Assilian, 1975) and
b. The Bayesian joint probability inference process as described in Brookes et al. (2010), with fuzzified inputs.
It is specifically structured to quickly calculate the fuzzy-logic- or fuzzy-Bayesian-based instream habitat suitability for fish or freshwater macroinvertebrates along a hydraulically simulated river reach. However, if appropriately modified, it can be applied to wider research topics requiring fuzzy logic to be addressed.
Habfuzz has been designed to be a one-click tool, for those researchers with no or very minor programming knowledge, in need of an easy-to-use software to calculate the habitat suitability along a hydrodynamically simulated river reach, based on fuzzy logic. Or for those self-studying researchers who need a very comprehensive, step-by-step, yet short tutorial to enable them quickly run a tool for a specific part of their project.
It is advised to install the GNU Fortran Compiler (download at https://gcc.gnu.org/wiki/GFortranBinaries) to quickly compile Habfuzz through the relevant Windows and OS X files (however, experienced users may also use their preferred compilers).
For Mac users, Xcode (download at https://developer.apple.com/xcode/) with its relevant Command Line Tools should be installed to enable compiling through the GNU Fortran Compiler.
Habfuzz has been tested on Windows 10 - 32 bit and 64 bit operating systems, Ubuntu 16.04 and OS X 10.11 El Capitan (with Xcode 7.3.1 and Xcode 7.3.1. Command Line Tools), using the GNU Fortran Compiler. Depending on your operating system, follow the relevant instructions to run Habfuzz.
If the user needs to modify the source code of Habfuzz, re-compilation is necessary. Using the GNU Fortran Compiler, you can either run the wcompile.bat file, or open a command window, navigate to the ‘habfuzz’ subfolder and type the relevant commands:
habfuzz.exe will then be replaced by the newly compiled one, being ready to run.
Open the terminal and navigate to the ‘habfuzz’ subfolder. If you don’t have the GNU Fortran Compiler, you need to be a root user (administrator) and type
to install the compiler. Having gfortran installed, the commands necessary to compile are the following
Be careful to write exactly the abovementioned commands, arranging the source files in the order given above. Then you can run habfuzz by typing
You need to have Xcode installed together with the GNU Fortran Compiler and be a root user to enable compilation. Open the terminal and navigate to the ‘habfuzz’ subfolder. To compile, you can either run the mcompile.sh file (which automatically applies the compilation commands) by typing
or manually type the commands
Habfuzz can then be executed from the command line by typing
Please consult the Habfuzz manual.
Brookes C.J., Kumar V. and Lane S.N. 2010. A comparison of Fuzzy, Bayesian and Weighted Average formulations of an in-stream habitat suitability model. Proceedings of the International Congress on Environmental Modelling and Software, 5-8 Jul 2010, Ottawa, Canada.
Mamdani E.H. and Assilian S. 1975. An experiment in linguistic synthesis with a fuzzy logic controller. International Journal of Man-Machine Studies 7: 1-13.
Ross T.J. 2010. Fuzzy logic with engineering applications. Third Edition, John Wiley and Sons, UK.
Zadeh L.A. 1965. Fuzzy sets. Information and Control 8: 338–353.
Hellenic Centre for Marine Research
Institute of Marine Biological Resources and Inland Waters
46.7 km Athens-Sounio ave.
19013
Anavyssos
Greece
Tel. +30 22910 76335
Fax. +30 22910 76419
Email. ctheodor@hcmr.gr
URL. http://www.hcmr.gr/en/
National Technical University of Athens
Department of Water Resources and Environmental Engineering
Iroon Polytechniou 5
15780
Athens
Greece
Tel. +30 210 7722809
Fax. +30 210 7722814
Email. stamou@central.ntua.gr
URL. https://www.hydro.ntua.gr/?set_language=en
To report bugs, possible amendments or anything else you would like to discuss, please file a GitHub issue or contact Mr. Christos Theodoropoulos at ctheodor@hcmr.gr. Pull requests are highly welcomed.