Giter Club home page Giter Club logo

adaboc's Introduction

Nested Copulas Model

This code implements a novel forecasting method based on bivariate copula. The method offers competitive results when it is compared with several popular machine learning techniques.

Requisites

The algorithms are programed on R. You can execute it on Windows, Linux or Mac. The provided action uses Ubuntu 18.04.

To repdroduce it you need install R and the following packages:

r-cran-tidyverse 
r-cran-bitops 
r-cran-catools 
r-cran-vinecopula 
r-cran-ks 
r-cran-data.table 

In Ubuntu 18.04 you can use the marutter repository, which contains the needed precompiled packages.

sudo add-apt-repository ppa:marutter/rrutter3.5
sudo add-apt-repository ppa:marutter/c2d4u3.5
sudo apt-get update
sudo apt-get install r-base
sudo apt-get install r-cran-tidyverse r-cran-bitops r-cran-catools r-cran-vinecopula r-cran-ks r-cran-data.table r-cran-rapportools
sudo apt-get install r-cran-rcurl r-cran-bitops r-cran-rjson r-cran-statmod libssl-dev```

Also, the H2O R library is needed. In this case, it is compiled from the sources:

sudo R -e 'install.packages("h2o")'

Executing the code

At top levevel there are 2 scripts:

To execute theses scripts you can type:

R < code/H2O_Code_Without_DL.R --no-save
R < code/copula_learning_example.R --no-save

In both cases you can edit the top level scripts to select other dataset.

An action that execute the whole project over a sample dataset is provided. Here you can see the result of an execution over the kdd1998 dataset.

adaboc's People

Contributors

danielvelezserrano avatar jfvelezserrano avatar

Stargazers

YuShan  avatar

Watchers

 avatar

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.