官术网_书友最值得收藏!

Installing high-performance Python distribution

Intel Corp has built a bundle of Python libraries with accelerations for High-Performance Computing (HPC) on CPUs. The vast majority of the accelerations come with no code changes, because they are snuck in under the hood. All the concepts and libraries introduced in the rest of the book will run faster in the HPC Intel Python environment. Luckily, Intel has a Conda version of their distribution, so you can add it as a new Conda environment via the following few command lines in the Anaconda prompt: 

(base) $ Conda create -n idp -c channel intelpython3_full Python=3
(base) $ Conda activate idp

Full disclosure: I work for Intel, so I won't focus too much on this HPC distribution. I will merely let the performance numbers speak for themselves. See the following graph for raw speedup numbers (optimized versus stock) when using unchanged Scikit-learn code on CPU:

主站蜘蛛池模板: 伽师县| 兴安县| 玉树县| 永安市| 新邵县| 龙胜| 木兰县| 张北县| 安康市| 商水县| 延吉市| 平遥县| 华蓥市| 新河县| 永定县| 洪泽县| 博乐市| 长寿区| 洪泽县| 浦城县| 越西县| 梨树县| 武功县| 巴青县| 虎林市| 郓城县| 衡南县| 银川市| 河北区| 买车| 琼海市| 介休市| 墨江| 禄丰县| 宁阳县| 根河市| 景德镇市| 老河口市| 山西省| 和田市| 武定县|