MyNixOS website logo
Description

Autocorrelation Regression Trees.

A modified version of the classification and regression tree (CART) algorithm for modelling spatial data that features coordinate information. Coordinate information can be used to evaluate measures of spatial autocorrelation and spatial compactness during the splitting phase of the tree, leading to better predictions and more physically realistic predictions on these types of datasets. These methods are described in Ancell and Bean (2021) <arXiv:2101.08258>.

Autocart

DOI

A modified regression tree R package that is intended for spatial datasets that feature coordinate information. Coordinate information is used to calculate measures of both spatial autocorrelation and spatial compactness during the splitting phase of the tree. This gives the tree more predictive power on these types of spatial datasets. The objective function for this regression tree is a linear combination of three objective functions. The hyperparameters "alpha" and "beta" (each given from 0.0 to 1.0 where alpha and beta do not sum to a number greater than 1.0) control the weight on the spatial autocorrelation and spatial compactness objective functions respectively.

Installation from source

To install this package from the source code, make sure that you have the devtools package downloaded by using install.packages("devtools").

Windows

You must have Rtools downloaded so that the C++ source can be compiled. The most recent version of rtools can be found here

macOS

Install the Xcode command line tools with xcode-select --install in the shell. You may need to register as an Apple developer first.

Linux

To compile the C++ code, you must also have the R development tools, which can be installed by installing the r-base-dev package.

After downloading compiler

To install this package in an R environment, use devtools::install_github("ethanancell/autocart")

Usage

To get started after installation, view the introductory autocart vignette by using vignette("autocart-intro")

License

MIT.

Metadata

Version

1.4.5

License

Unknown

Platforms (77)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-windows
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows