Description Usage Arguments Value See Also Examples
View source: R/Error_metrics_vector.R
Assess the performance of algorithms as vector
1 2 3 4 5 6 7 8 9 | cal.metrics.vector(
x,
y,
name = "all",
log10 = FALSE,
c.value = mean(x, na.rm = TRUE)
)
cal.metrics.vector.names()
|
x |
True value OR Actual value |
y |
Estimated value OR Predict value |
name |
The name of metrics |
log10 |
Logical. Whether the input x and y should be log10-transformed |
c.value |
Compensated value for CMAPE and CMRPE. Default is the mean of x. |
Result of cal.metrics.vector
is a list of selected metric values.
The call of cal.metrics.vector.names
retunrs the metrics
names in cal.metrics.vector
Other Utils:
SRF_simulate()
,
cal.metrics()
,
level_to_variable()
,
trim_sd()
1 2 3 | x = runif(100)
y = runif(100)
result = cal.metrics.vector(x,y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.