All Projects → mensaochun → myna

mensaochun / myna

Licence: other
A machine learning library written in c++

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
CMake
9771 projects
Makefile
30231 projects

Projects that are alternatives of or similar to myna

rcppensmallen
Rcpp integration for the Ensmallen templated C++ mathematical optimization library
Stars: ✭ 28 (+133.33%)
Mutual labels:  armadillo
gmwm
Generalized Method of Wavelet Moments (GMWM) is an estimation technique for the parameters of time series models. It uses the wavelet variance in a moment matching approach that makes it particularly suitable for the estimation of certain state-space models.
Stars: ✭ 21 (+75%)
Mutual labels:  armadillo
mcmc
A C++ library of Markov Chain Monte Carlo (MCMC) methods
Stars: ✭ 108 (+800%)
Mutual labels:  armadillo
URT
Fast Unit Root Tests and OLS regression in C++ with wrappers for R and Python
Stars: ✭ 70 (+483.33%)
Mutual labels:  armadillo
bandicoot-code
Bandicoot: GPU accelerator add-on for the Armadillo C++ linear algebra library
Stars: ✭ 21 (+75%)
Mutual labels:  armadillo
dtt
A C++ header-only for data transfer between linear algebra libraries (Eigen, Armadillo, OpenCV, ArrayFire, LibTorch).
Stars: ✭ 74 (+516.67%)
Mutual labels:  armadillo
joineRML
R package for fitting joint models to time-to-event data and multivariate longitudinal data
Stars: ✭ 24 (+100%)
Mutual labels:  armadillo
numerics
library of numerical methods using Armadillo
Stars: ✭ 17 (+41.67%)
Mutual labels:  armadillo

icon

Introduction

This is a machine learing library written in c++, which will be updated when I am not busy.

Armadillo install

This library depends on the popular linear algebra library called armadillo.

To install armalillo on ubuntu, you should install some other library first. Do as described follow:

sudo apt-get install liblapack-dev
sudo apt-get install libblas-dev
sudo apt-get install libboost-dev

Then install armadillo

sudo apt-get libarmadillo-dev  

using armadillo in CLion

when using armadillo in clion, it need to configure the cmakelists.txt, there are several ways to do this.

Method 1:

add contents marked by #<<<

cmake_minimum_required(VERSION 3.3)
project(ThirdProject)

find_package(Armadillo REQUIRED) # <<<
include_directories(${ARMADILLO_INCLUDE_DIRS}) # <<< it is optional if armadillo include folder is put in /usr/include.

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

set(SOURCE_FILES main.cpp)
add_executable(ThirdProject ${SOURCE_FILES})
target_link_libraries(ThirdProject ${ARMADILLO_LIBRARIES}) # <<<

more details, see: https://intellij-support.jetbrains.com/hc/en-us/community/posts/205823019-Errors-compiling-code-with-armadillo

Method 2: note that libarmadillo.so.4.200.0 and libarmadillo.so.7.500.2 must specify the absolute path, otherwise it will not be found, not known why so far.

cmake_minimum_required(VERSION 3.8)
project(xxtest)

set(CMAKE_CXX_STANDARD 11)
link_libraries("libarmadillo.so")
link_libraries("libarmadillo.so.4")
link_libraries("/usr/lib/libarmadillo.so.4.200.0")
link_libraries("libarmadillo.so.7")
link_libraries("/usr/lib/libarmadillo.so.7.500.2")

set(SOURCE_FILES main.cpp)
add_executable(xxtest ${SOURCE_FILES})
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].