Giter Site home page Giter Site logo

zitale / fdakmapp Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 2.0 9.01 MB

The fdakmapp package provides the kmap function that jointly performs clustering and alignment of a functional dataset. The centers can be computed by several center methods. The package can be be live tested, also with your own dataset, at https://zitale.shinyapps.io/fdakmapp_webapp/

R 0.14% C++ 98.74% CMake 0.37% C 0.20% Cuda 0.45% Shell 0.01% Java 0.05% MATLAB 0.01% Batchfile 0.01% Makefile 0.03%

fdakmapp's Introduction

fdakmapp

The fdakmapp package provides the kmap function that jointly performs clustering and alignment of a functional dataset (multidimensional or unidimensional). The centers can be computed by mean or medoid center methods. The parallel version is available.

Getting Started

The source code can be cloned or downloaded directly from github. An R studio project file is provided to open the project in RStudio.

Prerequisites

The package is linked against OpenMP, the BLAS and LAPACK libraries in Makevars.

To install the package locally the packages Rcpp and RcppArmadillo needs to be installed. Using install_github() will install the dependencies (Rcpp and RcppArmadillo) automatically.

Installing

The package can be installed directly from github but devtools is required.

If devtools is not installed use the following comand to install it

install.packages('devtools') 

and then install the package

library(devtools)
install_github('zitale/fdakmapp')

Usually the clag compiler doesn't support OpenMP. For this reason is available a release without -fopenmp.

library(devtools)
install_github('zitale/[email protected]')

Othewise the problem can be solved following the tutorial at: https://clang-omp.github.io/.

Automatic tests

devtools::test()

Example

res<-kmap(x=aneurisk65$x, y=aneurisk65$y, n_clust=2)
kmap_show_results(res,FALSE,FALSE)

Documentation

The R documentation can be found in the main directory in fdakmapp.pdf. The C++ documentation can be found at https://zitale.github.io/fdakmapp/.

fdakmapp's People

Contributors

zitale avatar

Watchers

 avatar  avatar

fdakmapp's Issues

Print Windows

Not all the output expected is printed on windows.
Check Rcout, cout, arma::pint().

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.