Installing R and scikit-learn on OSX with openblas

For R, use homebrew. Don’t miss –with-openblas. In my own experience, using –with-openblas improved performance x20 on a benchmark.

brew install r --with-openblas

To install scikit-learn, use homebrew and pip. Again, –with-openblas improved performance x2 for my program.

brew install numpy --with-openblas
brew install scipy --with-openblas
sudo pip install pandas scikit-learn matplotlib

Similar Posts:

Post a Comment

Your email is never published nor shared. Required fields are marked *