Giter Club home page Giter Club logo

rmcriteria's Introduction

RMCriteria

Overview

RMCriteria is a package to solve Multiple-Criteria Decision Analysis (MCDA) problems. For now, it only supports Promethee methods, but other methods may be developed in the future.

Installation

Currently, the easiest way to install RMCriteria is through devtools package, straight from GitHub:

# install.packages("devtools")
devtools::install_github("lamfo-unb/RMCriteria")

Usage

Using RMCriteria is quite simple. The general idea is to create a RPrometheeArguments object, with all parameters such as the criterias and alternatives and then applying this object to the chosen method, like RPrometheeI.

## Create objects for each argument
data <-matrix(c(5.2,-3.5,
                4.3,-1.2,
                6.7,-2.0), byrow = T, ncol=2, nrow=3)

parms <- matrix(c(NA,
                NA),byrow=TRUE,ncol=1,nrow=2)

vecWeights <- c(0.3,0.7)
vecMaximiz <- c(F,T)
prefFunction <- c(0,0)
normalize <- FALSE
alternatives <- c("Alt 1", "Alt 2", "Alt 3")

## Create RPrometheeArguments object
PromObj <- RPrometheeConstructor(datMat = data, vecWeights = vecWeights, vecMaximiz = vecMaximiz, prefFunction = prefFunction, parms = parms, normalize = normalize, alternatives = alternatives)

# Run RPrometheeI
(result <- RPrometheeI(PromObj))

More Information

RMCriteria was developed in the Laboratory of Machine Learning in Finance and Organizations (LAMFO) from University of Brasilia, in Brazil. LAMFO is a center devoted to research machine learning methods and related subjects applied to organizations in Marketing, Finance, Logistics and many others.

rmcriteria's People

Contributors

monteirogustavo avatar pedrobsb avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

rmcriteria's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.