JimCarretta/SeriousInjury: Classify Whale Injuries as Serious or Non-Serious with Classification Trees

Use Random Forest (RF) classification trees to assign whale injuries as 'Serious' or 'Non-Serious', based on narratives. There are two RF models, one for vessel strikes (ModelVessel) and one for entanglements (ModelEntangle). Covariates are generated directly from narratives, by coding presence / absence of key words / phrases (i.e. 'healthy' vs 'emaciated') associated with known serious and non-serious injury cases. Models are based on 'known-outcome' cases, e.g. recoveries documented >=1 yr after a vessel strike or entanglement, observed health declines or serious injuries at any point after an incident, and deaths. Models are then applied to 'unknown outcome' cases, where injury severity and risk to whales are unknown due to a lack of details and/or brief observation periods.

Getting started

Package details

AuthorJim Carretta
MaintainerJim Carretta <jim.carretta@noaa.gov>
LicenseGPL-3 plus file LICENSE
Version1.2.0
URL https://github.com/JimCarretta/SeriousInjury
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("JimCarretta/SeriousInjury")
JimCarretta/SeriousInjury documentation built on Jan. 27, 2023, 3:40 p.m.