This repository contains all the source codes of consensual aggregation methods implemented in R and python. All codes contained in each file are built with recent version of R software (version Rstudio (version > 2022.02.2+485, available here).
The aggregation methods implemented here are now available in gradientcobra Python library. The library can be installed by:
`pip install gradientcobra`
For more information, see the library: https://pypi.org/project/gradientcobra/.
To run the codes, you can clone the repository directly or simply load the R script source files from this repository using devtools package in Rstudio as follows:
-
Install devtools package using command:
install.packages("devtools") -
Loading the source codes from
GitHubrepository usingsource_urlfunction by:devtools::source_url("https://raw.githubusercontent.com/hassothea/AggregationMethods/main/file.R")
where file.R is the file name contained in this repository which you want to import into your Rstudio.
- Download and import the
.pyfile into your environment.
The documentation and explanation of all the aggregation methods are available on my webpage as listed below:
GradientCOBRARegressor: for regression, see GradientCOBRARegressor documentation.KernelAggClassifier: for classification, see KernelAggClassifier documentation.MixCobraRegressor: for regression, see MixCobraRegressor documentation.MixCobraClassifier: for classification, see MixCobraClassifier documentation.