安装Machine Learning环境

本文详细介绍如何升级Python至3.5以上版本,并列出了一系列用于机器学习的Python包安装指令,包括TensorFlow、Keras、Spacy等,以及Spacy模型的下载方法。
部署运行你感兴趣的模型镜像
  1. 升级python版本到3.5以上。详情参考Linux升级python版本
  1. 步骤1中也包含了安装pip

  2. 第一批ml环境
    pip install tensorflow
    pip install keras
    pip install beautifulsoup4
    pip install lxml
    pip install nltk
    pip install sklearn
    pip install boto3 // 没用到此包,以后有涉及到访问aws资源再装也ok

  3. 第二批ml环境,主要装spacy
    pip install murmurhash
    pip install preshed
    pip install cymem
    pip install cytoolz
    pip install thinc
    pip install ujson
    pip install spacy
    注:cytoolz和thinc在装spacy的时候,有可能因为版本问题,会被spacy卸载重装低版本

  4. 第三批ML环境,主要下载spacy model
    python -m spacy download en_core_web_lg



作者:Jiu_Ming
链接:https://www.jianshu.com/p/efac9a2d0341
來源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。

您可能感兴趣的与本文相关的镜像

TensorFlow-v2.15

TensorFlow-v2.15

TensorFlow

TensorFlow 是由Google Brain 团队开发的开源机器学习框架,广泛应用于深度学习研究和生产环境。 它提供了一个灵活的平台,用于构建和训练各种机器学习模型

Preface Machine learning algorithms dominate applied machine learning. Because algorithms are such a big part of machine learning you must spend time to get familiar with them and really understand how they work. I wrote this book to help you start this journey. You can describe machine learning algorithms using statistics, probability and linear algebra. The mathematical descriptions are very precise and often unambiguous. But this is not the only way to describe machine learning algorithms. Writing this book, I set out to describe machine learning algorithms for developers (like myself). As developers, we think in repeatable procedures. The best way to describe a machine learning algorithm for us is: 1. In terms of the representation used by the algorithm (the actual numbers stored in a file). 2. In terms of the abstract repeatable procedures used by the algorithm to learn a model from data and later to make predictions with the model. 3. With clear worked examples showing exactly how real numbers plug into the equations and what numbers to expect as output. This book cuts through the mathematical talk around machine learning algorithms and shows you exactly how they work so that you can implement them yourself in a spreadsheet, in code with your favorite programming language or however you like. Once you possess this intimate knowledge, it will always be with you. You can implement the algorithms again and again. More importantly, you can translate the behavior of an algorithm back to the underlying procedure and really know what is going on and how to get the most from it. This book is your tour of machine learning algorithms and I’m excited and honored to be your tour guide. Let’s dive in.
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值