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. See 'SeriousInjuryTutorial()'.

Getting started

Package details

AuthorJim Carretta
MaintainerJim Carretta <jim.carretta@noaa.gov>
LicenseGPL (>= 2)
Version1.4
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 Feb. 29, 2024, 4:58 p.m.