Giter VIP home page Giter VIP logo

habitat_suitability_curves_fda's Introduction

A new look at habitat suitability curves through FDA πŸ‘“

  • A scientific research by Jeremie Boudreault, AndrΓ© St-Hilaire, Normand Bergeron and Fateh Chebana
  • This project is part of my master studies at Institut National de la Recherche Scientifique
  • All scripts and data are made freely available here under the Creative Common License
  • Any questions should be sent to Jeremie.Boudreault [at] ete.inrs [dot] ca

Data

Data consists of a field survey that have been conducted during summer 2017 on the Sainte-Marguerite River (SMR) and Petite-Cascapedia River (PCR) :

  • data/field-data/* : contains the two raw xlsx files filled after each day of field work.
  • data/gps/* : locations of the studied sites for the two rivers.

R scripts

Scripts are all from Jeremie Boudreault. They make the use of the R package FDboost for fitting functional regression models (FRM) :

  • s01_clean_field_data.R : clean the field data spreadsheets and produced cleaned datasets.
  • s02_compute_salmon_numbers.R: convert measured salmon fork-lengths to number of fry and parr.
  • s03_select_study_case.R: select optimal data subset for this project.
  • s04_map_studied_sites.R: map sites studied in this project.
  • s05_generate_fd_curves.R: generate (functional) curves of availability and selection/preference.
  • s06_prepare_data_modelling.R: prepare data prior to fit function regression models (FRM).
  • s07_fit_function_models.R: fit FRMs to curves using a parallelized k-fold cross-validation.
  • s08_define_optimal_stopping.R: choose optimal early stopping parameter.
  • s09_compute_coef_bootstrap.R: compute standard-error of FRM coefficients using bootstrap.
  • s10_plot_frm_coefficients.R: plots intercept and coefficients surfaces from fitted FRM.
  • s11_build_classical_models.R: build classical local and regional models of HSC.
  • s12_assess_models_performance.R: calculate some goodness-of-fit metrics for the fitted models.

Enjoy ! ✌🏻

habitat_suitability_curves_fda's People

Contributors

jeremieboudreault avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.