ramkikannan / planc Goto Github PK
View Code? Open in Web Editor NEWDistributed NMF/NTF Library
Home Page: https://ramkikannan.github.io/planc-api/
License: Other
Distributed NMF/NTF Library
Home Page: https://ramkikannan.github.io/planc-api/
License: Other
this->H = (this->H % AtW) / (this->H * WtW + EPSILON_1EMINUS16);
what is %?
It seems that the comparison being done here always results in the user input being interpreted as a parameter for rand_
rather than an input filename. Overriding the expression with if (true)
allows the program to load the matrix as expected.
Lines 56 to 57 in f8f4486
Hi Ramki,
The lines at
planc/common/cmake_aux/NMFLIB_FindARMA.cmake
Lines 48 to 50 in a254454
are not generally available in portable builds. The armadillo CMake modules would exist for a local in-place source build of armadillo but are not generally available for builds of PLANC when armadillo is already installed.
I would recommend instead of directly including these modules (ARMA_FindOpenBlas
, etc) to rely on CMake's builtin package finding mechanisms, something like ():
set(BLA_VENDOR OpenBLAS) # force following two lines to look for OpenBlas only
find_package(BLAS REQUIRED) # Set other constraints as necessary
find_package(LAPACK REQUIRED)
The stock FindBLAS.cmake and FindLAPACK.cmake modules should be quite sufficient (the ARMA_Find*
versions shipped with the armadillo source code didn't appear to me to actually do much since OpenBLAS support was added to cmake in version 3.6.0. Their developers should probably up the minimum cmake requirement and drop these custom modules too). One of the things the stock FindBlas module doesn't do is set "${OpenBLAS_FOUND}" which should be unnecessary given BLAS_FOUND and BLA_VENDOR.
If using the stock FindPKG modules is not possible, then the required external custom cmake modules should be shipped with this source code so builds of this don't need to fetch both this and armadillo sources in the case that armadillo is previously installed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.