I'm running a MacBook Pro:
I'm running an installation of python2.7 via Anaconda.
Last login: Wed Nov 11 21:41:33 on ttys002
Matthews-MacBook-Pro:~ matthewdunn$ python
Python 2.7.10 |Anaconda 2.4.0 (x86_64)| (default, Oct 19 2015, 18:31:17)
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>>
My programs is in an Jupyter Notebook Viewer and is running on the install of Anaconda confirmed via activity monitor.
When I attempt to train an SVM model from http://scikit-learn.org/stable/ it takes me hours and other classmates 15 mins, and no one is building multiprocessing/threading for their programs.
I don't think my code is the issue, because when I fit the SVM model to 2000 records, it still takes a long time to process.
Questions:
- Is there a way to default and installation of python to always default to using all available CPUs or does it always need to be defined in the program?
- Is there any changes in the MacBook Pro hardware since I bought my computer that would ensure python consumes all available CPU resources?