Title: | Classification of Algorithms |
---|---|
Description: | Implements the Bi-objective Lexicographical Classification method and Performance Assessment Ratio at 10% metric for algorithm classification. Constructs matrices representing algorithm performance under multiple criteria, facilitating decision-making in algorithm selection and evaluation. Analyzes and compares algorithm performance based on various metrics to identify the most suitable algorithms for specific tasks. This package includes methods for algorithm classification and evaluation, with examples provided in the documentation. Carvalho (2019) presents a statistical evaluation of algorithmic computational experimentation with infeasible solutions <doi:10.48550/arXiv.1902.00101>. Moreira and Carvalho (2023) analyze power in preprocessing methodologies for datasets with missing values <doi:10.1080/03610918.2023.2234683>. |
Authors: | Tiago Costa Soares [aut], Iago Augusto de Carvalho [aut, cre] |
Maintainer: | Iago Augusto de Carvalho <[email protected]> |
License: | GPL-3 |
Version: | 0.1.1 |
Built: | 2024-11-01 05:09:09 UTC |
Source: | https://github.com/cran/ppRank |
This function reads two CSV files containing matrices of values (T_file and R_file) and applies a transformation to matrix R according to certain rules.
bilex(R_file, T_file, has_header = FALSE)
bilex(R_file, T_file, has_header = FALSE)
R_file |
The filename of the CSV file containing the matrix R (located in inst/extdata). |
T_file |
The filename of the CSV file containing the matrix T (located in inst/extdata). |
has_header |
Logical, indicating if the CSV files have a header row. Default is FALSE. |
This function performs a transformation on matrix R based on the following rules: - If a value in R is 0, it is replaced by a classification value. - Classification values are determined based on comparisons between neighboring values in R and corresponding values in T. - The classification of each value in R depends on the values in the same row of R, considering both numerical values and the relationship with neighboring values.
A modified matrix R according to the specified rules.
bilex_result <- bilex(system.file("extdata", "R.csv", package = "ppRank"), system.file("extdata", "T.csv", package = "ppRank"), has_header = TRUE) bilex_result <- bilex(system.file("extdata", "R.csv", package = "ppRank"), system.file("extdata", "T.csv", package = "ppRank"))
bilex_result <- bilex(system.file("extdata", "R.csv", package = "ppRank"), system.file("extdata", "T.csv", package = "ppRank"), has_header = TRUE) bilex_result <- bilex(system.file("extdata", "R.csv", package = "ppRank"), system.file("extdata", "T.csv", package = "ppRank"))
This function reads a CSV file containing a matrix of values and modifies it as follows: If a value in the matrix is 0, it is replaced by 10 times the maximum non-zero value in the corresponding row.
par10(G_file, has_header = FALSE)
par10(G_file, has_header = FALSE)
G_file |
The path to the CSV file containing the matrix of values. |
has_header |
Logical, indicating if the CSV file has a header row. Default is FALSE. |
A matrix where each 0 value is replaced by 10 times the maximum non-zero value in its corresponding row.
par10_result <- par10(system.file("extdata", "R.csv", package = "ppRank"), has_header = TRUE)
par10_result <- par10(system.file("extdata", "R.csv", package = "ppRank"), has_header = TRUE)