Вы находитесь на странице: 1из 9

HCIA-AI Huawei Certification Course

HCIA-AI
Development Environment
Establishment
Experimental On PC Guide
Version: 1.0

Huawei Technologies Co., Ltd.

1
Copyright © Huawei Technologies Co., Ltd. 2018. All rights reserved.
No part of this document may be reproduced or transmitted in any form or by any means without prior written
consent of Huawei Technologies Co., Ltd.

Trademarks and Permissions

and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective holders.

Notice
The purchased products, services and features are stipulated by the contract made between Huawei and the customer.
All or part of the products, services and features described in this document may not be within the purchase scope or
the usage scope. Unless otherwise specified in the contract, all statements, information, and recommendations in this
document are provided "AS IS" without warranties, guarantees or representations of any kind, either express or
implied.
The information in this document is subject to change without notice. Every effort has been made in the preparation
of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this
document do not constitute a warranty of any kind, express or implied.

Huawei Technologies Co., Ltd.


Address: Huawei Industrial Base
Bantian, Longgang
Shenzhen 518129
People's Republic of China
Website: http://e.huawei.com

Issue 1.0 (2018-08-02) Copyright © Huawei Technologies Co., Ltd. i


Introduction to Huawei Certification System
Based on cutting-edge technologies and professional training systems, Huawei certification
meets the diverse AI technology demands of various clients. Huawei is committed to
providing practical and professional technical certification for our clients.
HCIA-AI V1.0 certification is intended to popularize AI and help understand deep learning
and Huawei Cloud EI, and learn the basic capabilities of programming based on the
TensorFlow framework, as a motive to promote talent training in the AI industry.
Content of HCIA-AI V1.0 includes but is not limited to: AI overview, Python programming
and experiments, mathematics basics and experiments, TensorFlow introduction and
experiments, deep learning pre-knowledge, deep learning overview, Huawei cloud EI
overview, and application experiments for image recognition, voice recognition and
man-machine dialogue.
HCIA-AI certification will prove that you systematically understand and grasp Python
programming, essential mathematics knowledge in AI, basic programming methods of
machine learning and deep learning platform TensorFlow, pre-knowledge and overview of
deep learning, overview of Huawei cloud EI, basic programming for image recognition, voice
recognition, and man-machine dialogue. With this certification, you have required knowledge
and techniques for AI pre-sales basic support, AI after-sales technical support, AI products
sales, AI project management, and are qualified for positions such as natural language
processing (NLP) engineers, image processing engineers, voice processing engineers and
machine learning algorithm engineers.
Enterprises with HCIA-AI-certified engineers have the basic understanding of AI technology,
framework, and programming, and capable of leveraging AI, machine learning, and deep
learning technologies, as well as the open-source TensorFlow framework to design and
develop AI products and solutions like machine learning, image recognition, voice
recognition, and man-machine dialogue.
Huawei certification will help you open the industry window and the door to changes,
standing in the forefront of the AI world!

Issue 1.0 (2018-08-02) Copyright © Huawei Technologies Co., Ltd. ii


Development Environment Establishment
Experimental Guide Preface

Preface

Brief Introduction
This document is an HCIA-AI certification training course, intended to trainees who are
preparing for HCIA-AI tests or readers who want to know about AI basics. After
understanding this document, you can perform simple Python basic programming, laying a
solid foundation for later AI development.

Contents
This experimental guide includes five experiments, covering AI environment setup, and is
intended to help trainees and readers easily develop capabilities of developing AI.
Experiment 1 — Introduction to the AI experiment environment: Understand the software and
framework required for establishing an HCIA-AI environment.
Experiment 2 — How to apply for and activate Huawei cloud services: Understand Huawei
Cloud service platform, register with the platform, and get familiar with related operations.
Experiment 3 — Environment establishment: Install related software modules, such as Python,
pip, NumPy, Pandas, and TensorFlow.
Experiment 4 — Test cases: Understand how to compile scripts in real time on the Elastic
Cloud Server (ECS) or download existing scripts from GitHub for testing.
Experiment 5 — AI experiment environment configuration: Understand the installation and
deployment of Gnome and anaconda.

Knowledge Background of Readers


This course is intended for Huawei certification. To better understand content of this
document, readers are required to meet the following basic conditions:
Have basic Python language programming capabilities;
Have a basic understanding of data structures;
Have a basic understanding of AI.

Issue 1.0 (2018-08-02) Copyright © Huawei Technologies Co., Ltd. iii


Development Environment Establishment
Experimental Guide Preface

Experimental Environment
Python Development Tool
This experiment environment is developed and compiled based on the Python 3.6.

Issue 1.0 (2018-08-02) Copyright © Huawei Technologies Co., Ltd. iv


Development Environment Establishment
Experimental Guide

1 Introduction to HCIA-AI Experiment


Environment

1.1 Introduction to the Experiment


1.1.1 About the Experiment
The AI development environment is established by applying for required resources from
Anaconda. To establish such an environment, you need to install the software and activate the
environment, establish and configure the environment, and perform case test and other
configurations.

1.1.2 Objectives of the Experiment


 Understand the details about the AI development environment.
 Establish a complete AI development environment on your own.
 Perform function tests based on the established environment.

1.1.3 Required Software and Frameworks


Python 3.6.4
NumPy
Pandas
TensorFlow
Anaconda

1.2 Experimental Tasks


1.2.1 Experiment Procedure
 Step 1 Download the software Anaconda

Issue 1.0 (2018-08-02) Copyright © Huawei Technologies Co., Ltd. 5


Development Environment Establishment
Experimental Guide

Visit the website: https://repo.anaconda.com/archive/


Choose Anaconda3-5.1.0 version and click the one based on your own computer system.

 Step 2 Install (On windows )

1. Open the location of the downloaded executable.


2. Double-click it to run the installer.
3. Click Next.
4. Click I Agree if you agree to the licensing agreement.
5. Choose one of the installation types and then click Next.
6. Choose an installation location (I suggest you should change) and then click Next.
7. Change the advanced installation options (Check both) and then click Install.
8. The Anaconda installation will now start.
9. Click Next.
10. Click skip
11. Click Finish.

 Step 3 Check

Go to Windows Search Bar and click Anaconda Prompt. Double click the app and type :
conda --version to confirm its install.

Issue 1.0 (2018-08-02) Copyright © Huawei Technologies Co., Ltd. 6


Development Environment Establishment
Experimental Guide

 Step 4 Setting up TensorFlow Install using Anaconda Prompt

1. Create the environment and type conda create -n HCIA_AI python=3.6 and hit enter.

2. Press Y and hit Enter. It will create a separate environment install TensorFlow.
3. Type conda activate HCIA_AI and enter Enter to go inside the environment.
4. Once you are into the environment, enter the following one by one,
Install Jupyter Notebook: type pip install jupyter (if you have already installed it, please skip
this step)
Install ipykernel: type conda instal ipykernel
5. Add new environment to Jupyter Notebook: type python -m ipykernel install --user
--name HCIA_AI
6. Install the packages: the requirements.txt should be saved in the path where command
located in. Generally, the path is:C:/Users/(you can open anaconda prompt to get it),

Issue 1.0 (2018-08-02) Copyright © Huawei Technologies Co., Ltd. 7


Development Environment Establishment
Experimental Guide

and then open the Anaconda Prompt and type: conda install --yes --file requirements.txt

 Step 5 Check

1. Restart Anaconda Prompt. Go to Windows Search Bar and type Anaconda Prompt.
Double click the app.
2. Create a new notebook, if there is HCIA_AI kernel, it suggests that you have added the
HCIA_AI environment. And the click the HCIA_AI kernel.
Type:
import sklearn
print(sklearn__version__)
If it display the version of sklearn, it indicates you install the package successfully.

Issue 1.0 (2018-08-02) Copyright © Huawei Technologies Co., Ltd. 8

Вам также может понравиться