Learn R Programming

ModelMetrics (version 1.2.2.2)

rmsle: Root Mean Squared Log Error

Description

Calculates the mean square log error

Usage

rmsle(...)

# S3 method for default rmsle(actual, predicted, ...)

# S3 method for lm rmsle(modelObject, ...)

# S3 method for glm rmsle(modelObject, ...)

# S3 method for randomForest rmsle(modelObject, ...)

# S3 method for glmerMod rmsle(modelObject, ...)

# S3 method for gbm rmsle(modelObject, ...)

# S3 method for rpart rmsle(modelObject, ...)

Arguments

additional parameters to be passed the the s3 methods

actual

A vector of the labels

predicted

A vector of predicted values

modelObject

the model object. Currently supported glm, randomForest, glmerMod, gbm