Learn R Programming

ModelMetrics (version 1.2.2.2)

msle: Mean Squared Log Error

Description

Calculates the mean square log error

Usage

msle(...)

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

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

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

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

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

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

# S3 method for rpart msle(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