/AutomaticArchetypes

Primary LanguageC++GNU General Public License v3.0GPL-3.0

AutomaticArchetypes

This package has R and adjoining C++ source code for the paper "Automatic Model Selection in Archetype Analysis.", Sandhya Prabhakaran, Sudhir Raman, Julia E. Vogt, and Volker Roth. In Joint DAGM (German Association for Pattern Recognition) and OAGM Symposium, pp. 458-467. Springer Berlin Heidelberg, 2012.

Please cite the above paper if you use our code in your research.

Code authors - Prof. Dr. Volker Roth and Sandhya Prabhakaran, Department of Mathematics and Computer Science University of Basel, Switzerland, February 2012.

The code has been tested on Mac and Windows OS, R version 3.2.2, C++ 4.2.1 using LLVM version 6.1.0 (clang-602.0.53).

How to run code

  • Step 1. Compile the C++ code: Open a terminal window. Go to where the code directory is. Issue 'make -f Makefile.forR'
  • Step 2. Run the R script: Open an R terminal. Set directory via command 'setwd()' to point to where the code is. Issue 'source("Archetype.R")'

License

GNU General Public License