MHuiG

「看庭前花开花落,望天上云卷云舒」

# How to Setup Your Python Environment for Machine Learning With Anaconda

MHuiG

字数：375 字

时长：2 分钟

In this tutorial, we will cover the following steps:

- 1.Download Anaconda
- 2.Install Anaconda
- 3.Start and Update Anaconda
- 4.Update scikit-learn Library
- 5.Install Deep Learning Libraries

## Download Anaconda

In this step, we will download the Anaconda Python package for your platform.

## Install Anaconda

In this step, we will install the Anaconda Python software on your system.
This step assumes you have sufficient administrative privileges to install software on your system.

## Start and Update Anaconda

In this step, we will confirm that your Anaconda Python environment is up to date.

Anaconda comes with a suite of graphical tools called Anaconda Navigator. You can start Anaconda Navigator by opening it from your application launcher.

Conda is fast, simple, it’s hard for error messages to hide, and you can quickly confirm your environment is installed and working correctly.

- 1.Open a terminal (command line window).
- 2.Confirm conda is installed correctly, by typing:

    conda -V

    conda 4.8.2

- 3.Confirm Python is installed correctly by typing:

    python -V

    Python 3.7.6

- 4.Confirm your conda environment is up-to-date, type:

    conda update conda
    conda update anaconda

You may need to install some packages and confirm the updates.

- 5.Confirm your SciPy environment.

The script below will print the version number of the key SciPy libraries you require for machine learning development, specifically: SciPy, NumPy, Matplotlib, Pandas, Statsmodels, and Scikit-learn.
You can type “python” and type the commands in directly. Alternatively, I recommend opening a text editor and copy-pasting the script into your editor.

## Update scikit-learn Library

In this step, we will update the main library used for machine learning in Python called scikit-learn.

1. Update scikit-learn to the latest version.
   At the time of writing, the version of scikit-learn shipped with Anaconda is out of date (0.17.1 instead of 0.18.1). You can update a specific library using the conda command; below is an example of updating scikit-learn to the latest version.
   At the terminal, type:

    conda update scikit-learn

Alternatively, you can update a library to a specific version by typing:

    conda install -c anaconda scikit-learn

## Install Deep Learning Libraries

    conda install theano
    conda install -c conda-forge tensorflow
    conda install keras
    conda install graphviz

## Summary

### Version

### First MLP

Download Data Set
Data mining Data mining

Data mining

Machine Learning

Data mining Machine Learning

发布于：2020年9月11日

更新于：2020年9月11日

手把手教你用 Python 开始第一个机器学习项目

熟悉一个新的平台或者一个新的工具最好的方式就是从头到尾踏实的完成一个机器学习项目 这里以 PimaIndiansdiabetes.csv 数据集为例。 Download Data Set ...

初探 Cloudflare Workers 边缘计算

Edge Computing 尝试在边缘运行 JavaScript 什么是边缘计算边缘运算（Edge computing），又译为边缘计算，是一种分散式运算的架构，将应用程序、数据资料与服...

推荐阅读
Centos7安装Anaconda3 时间之箭 杂记片段 开始使用 适用于Linux的windows子系统 埃拉托斯特尼筛法

留言区

本文目录
Are You A Robot?