jaak-s / macau Goto Github PK
View Code? Open in Web Editor NEWBayesian Factorization with Side Information in C++ with Python wrapper
License: MIT License
Bayesian Factorization with Side Information in C++ with Python wrapper
License: MIT License
Hi,
I installed OpenBLAS, but the setup.py didn't find it.
The problem is that I didnt install OpenBLAS to any of the presumed locations (/opt/... or /usr/...) in setup.py (defined in the ldirs
variable) because I have no permission to install there.
As a user I only get the error message,
/usr/bin/ld: cannot find -lopenblas
Once I added modified the ldirs
variable and added the correct OpenBLAS path, this issue was solved.
please consider adding a better error message, or maybe highlight in the installation process, that OpenBLAS has to be installed to a certain location.
thanks for considering, let's save some time for others.
best,
Attila
Option for saving latent vectors to CSV files save_prefix = "results"
. By default set it to save_prefix = None
(no saving).
Hi Jaak,
I wanted to run v0.4.3 on mac, but is segfaults. v0.3.6 runs fine. I'll do a git bisect to find the regression.
I'll keep you posted,
Tom
Hi,
I am trying to install macau on Mac OS Mojave and I get the following errors:
CON-MAC-001:macau$ python3 setup.py install
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
ld: warning: directory not found for option '-L/usr/lib/openblas-base'
ld: library not found for -lcrt1.10.6.o
collect2: error: ld returned 1 exit status
libopenblas link error (please install OpenBLAS)
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/var/folders/4c/sdcfgdcx7gv5fwbyt_mk2_p0jl5njs/T/tmp_blas_3rm15mqk/test_lapack.cpp:2:19: fatal error: stdio.h: No such file or directory
compilation terminated.
libopenblas lapack compile error (please install OpenBLAS)
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
ld: warning: directory not found for option '-L/usr/lib/openblas-base'
ld: library not found for -lcrt1.10.6.o
collect2: error: ld returned 1 exit status
libopenblas link error (please install OpenBLAS)
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/var/folders/4c/sdcfgdcx7gv5fwbyt_mk2_p0jl5njs/T/tmp_blas_g6hqmmvy/test_lapack.cpp:2:19: fatal error: stdio.h: No such file or directory
compilation terminated.
libopenblas lapack compile error (please install OpenBLAS)
OpenBLAS or standard BLAS not found. Please install.
I have OpenBLAS installed. The current version does not generate this directory '-L/usr/lib/openblas-base'
but I think I have all the libraries. I also have gcc5 and gcc7 installed.
Would you be able to advise?
Kind regards,
Miguel
Hello,
I am following the instructions
Command executed after installing brew install blass
calderon-ml:macau calderon$ export CPPFLAGS=-I/usr/local/Cellar/openblas/include
calderon-ml:macau calderon$ export LDFLAGS=-L/usr/local/Cellar/openblas/lib
calderon-ml:macau calderon$ CC=g++-5 CXX=g++-5 python3 setup.py install
unable to execute 'g++-5': No such file or directory
libopenblas compile error (please install OpenBLAS)
unable to execute 'g++-5': No such file or directory
libopenblas lapack compile error (please install OpenBLAS)
unable to execute 'g++-5': No such file or directory
libopenblas compile error (please install OpenBLAS)
unable to execute 'g++-5': No such file or directory
libopenblas lapack compile error (please install OpenBLAS)
OpenBLAS or standard BLAS not found. Please install.
calderon-ml:macau calderon$
But I get the following error
unable to execute 'g++-5': No such file or directory
libopenblas compile error (please install OpenBLAS)
unable to execute 'g++-5': No such file or directory
libopenblas lapack compile error (please install OpenBLAS)
unable to execute 'g++-5': No such file or directory
libopenblas compile error (please install OpenBLAS)
unable to execute 'g++-5': No such file or directory
libopenblas lapack compile error (please install OpenBLAS)
OpenBLAS or standard BLAS not found. Please install.
calderon-ml:macau calderon$
Thank you very much for your help.
Hi,
Is it possible to dump a model into HDF5 file? The problem is when i try to dump 1500 samples with your function save_prefix the total disk space required is more than 10Gb!, because csv is not well-designed to store numerical values.
It would be useful to upload this package to PyPI so other packages can list it as a requirement. In the meantime, ss of PEP 509 (I think) you can also add macau @ git+https://github.com/jaak-s/macau.git
to a requirements.txt, setup.py, or setup.cfg to get around this
Add option precision = "sample"
to automatically sample precision values. To avoid overfitting we need to also add a signal-to-noise bound sn_max
(e.g., 10), so that precision would never go over that maximum bound.
Remove '-Wno-sign-compare' in 'lib/macau-cpp/Makefile' to see the warnings.
Great jobs!
I want to achieve Multi-relational models by macau, such as in the BayeSianDataFusion.jl model, But I don't know how to realize factorization with side information and Multi-relational models using macau
Hello,
I am following the steps to install with pip and have all of the dependencies installed but when run pip install .
I get:
urllib.error.HTTPError: HTTP Error 403: Forbidden
here is some more of the stack trace:
File "setup.py", line 307, in
main()
File "setup.py", line 282, in main
download_eigen_if_needed(eigen_dest, eigen_url, eigen_inner)
File "setup.py", line 175, in download_eigen_if_needed
urlretrieve(url, bzfile)
Happy to provide more information about system configurations etc. but not sure what would help so just let me know. Thanks in advance for your help/time!
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.