Package 'ImML'

Title: Machine Learning Algorithms Fitting and Validation for Forestry
Description: Fitting and validation of machine learning algorithms for volume prediction of trees, currently for conifer trees based on diameter at breast height and height as explanatory variables.
Authors: M. Iqbal Jeelani [aut], Salvatore Mangiafico [aut, cre]
Maintainer: Salvatore Mangiafico <[email protected]>
License: GPL-3
Version: 0.1.5
Built: 2024-10-31 03:34:02 UTC
Source: https://github.com/cran/ImML

Help Index


Volume, height, and diameter of 300 pine trees in East Circle Jammu

Description

A data frame consisting of diameter (cm), height (m), and volume (m3) for 300 pine trees in East Circle, Jammu, Jammu and Kashmir Forest Department.

Usage

EastCirclePine

Format

An object of class data.frame with 300 rows and 3 columns.


Tree volume models based on height and diameter

Description

Decision tree, random forest, support vector machine, and linear models for fitting tree volume to height and diameter.

Usage

ImML(data, plotit = TRUE, setseed = NULL, verbose = FALSE, ...)

Arguments

data

The data frame to use. Must contain the numeric variables Volume, Height, and Diameter.

plotit

If TRUE, produces a plot of predicted values vs. observed values.

setseed

If not NULL, is passed to set.seed for the analysis.

verbose

If TRUE, prints the output of each fitted model object.

...

Additional arguments, currently not used.

Details

Calculates mean absolute error, root mean square error, root relative squared error, and prediction error rate for train and test partitions of a data frame using decision tree, random forest, support vector machine, and linear models for fitting tree volume to height and diameter.

Value

A data frame consisting of mean absolute error, root mean square error, root relative squared error, and prediction error rate for train and test partitions using decision tree, random forest, support vector machine, and linear model.

Note

The data frame must contain the numeric variables Volume, Height, and Diameter. Volume is used as the dependent variable.

The gray line in the plot is a 1:1 line.

Author(s)

M. Iqbal Jeelani, [email protected], Salvatore Mangiafico, [email protected]

References

Jeelani, M.I., Tabassum, A., Rather, K and Gul,M.2023. Neural Network Modeling of Height Diameter Relationships for Himalayan Pine through Back Propagation Approach. Journal of The Indian Society of Agricultural Statistics. 76(3): 169–178.

Examples

data(EastCirclePine)
ImML(EastCirclePine, plotit=FALSE, setseed=123)