Score_algorithms_sort: Score a vector of error metrics for algorithms by the sort

Description Usage Arguments Value See Also Examples

View source: R/Algorithms_assessment.R

Description

Score a vector of error metrics for algorithms by the sort

Usage

1
2
3
Score_algorithms_sort(x, decreasing = TRUE, max.score = 100/4)

Score_algorithms_sort2(x, decreasing = TRUE, max.score = 100/4)

Arguments

x

Input vector of error metrics (NA values are allowed)

decreasing

the order of the good metric to be evaluated. For instance, MAE should use decreasing = TRUE (Default) since the algorithm performs better when MAE becomes smaller. However, when comes to Rsquare from linear regression (maximum is 1), it should be FALSE

max.score

The max.score for scales::rescale. The default is 100/4.

Value

Results of Score_algorithms_sort() are returned as a vector presenting score values.

Results of Score_algorithms_sort() and Score_algorithms_sort2() are returned as a vector presenting score values.

See Also

Other Algorithm assessment: Assessment_via_cluster(), Getting_Asses_results(), Sampling_via_cluster(), Score_algorithms_interval(), Scoring_system()

Examples

1
2
3
set.seed(1234)
x = runif(10)
result = Score_algorithms_sort(x)

bishun945/FCMm documentation built on Oct. 15, 2021, 6:43 p.m.