You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

install_python.ipynb 2.5 kB

6 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "cells": [
  3. {
  4. "cell_type": "markdown",
  5. "metadata": {},
  6. "source": [
  7. "# Chapter 2. Installing Python environments\n",
  8. "\n",
  9. "这章,讲解如何安装Python的环境"
  10. ]
  11. },
  12. {
  13. "cell_type": "markdown",
  14. "metadata": {},
  15. "source": [
  16. "## Windows\n",
  17. "\n",
  18. "### 安装Anaconda\n",
  19. "\n",
  20. "由于Anaconda集成了大部分的python包,因此能够很方便的开始使用。由于网络下载速度较慢,因此推荐使用镜像来提高下载的速度。\n",
  21. "\n",
  22. "在这里找到适合自己的安装文件,然后下载\n",
  23. "https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/\n",
  24. "\n",
  25. "设置软件源 https://mirror.tuna.tsinghua.edu.cn/help/anaconda/\n",
  26. "```\n",
  27. "conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/\n",
  28. "conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/\n",
  29. "conda config --set show_channel_urls yes\n",
  30. "```\n",
  31. "\n",
  32. "### 安装Pytorch\n",
  33. "```\n",
  34. "conda install pytorch -c pytorch \n",
  35. "pip3 install torchvision\n",
  36. "```\n",
  37. "\n",
  38. "\n",
  39. "## Linux\n",
  40. "\n",
  41. "### 安装pip\n",
  42. "```\n",
  43. "sudo apt-get install python3-pip\n",
  44. "```\n",
  45. "\n",
  46. "### 设置PIP源\n",
  47. "```\n",
  48. "pip config set global.index-url 'https://mirrors.ustc.edu.cn/pypi/web/simple'\n",
  49. "```\n",
  50. "\n",
  51. "### 安装常用的包\n",
  52. "```\n",
  53. "sudo pip install scipy\n",
  54. "sudo pip install scikit-learn\n",
  55. "sudo pip install numpy\n",
  56. "sudo pip install matplotlib\n",
  57. "sudo pip install pandas\n",
  58. "sudo pip install ipython\n",
  59. "sudo pip install jupyter\n",
  60. "```\n",
  61. "\n",
  62. "### 安装pytorch\n",
  63. "到[pytorch 官网](https://pytorch.org),根据自己的操作系统、CUDA版本,选择合适的安装命令。\n",
  64. "\n",
  65. "例如Linux, Python3.5, CUDA 9.0:\n",
  66. "```\n",
  67. "pip3 install torch torchvision\n",
  68. "```\n",
  69. "\n"
  70. ]
  71. }
  72. ],
  73. "metadata": {
  74. "kernelspec": {
  75. "display_name": "Python 3",
  76. "language": "python",
  77. "name": "python3"
  78. },
  79. "language_info": {
  80. "codemirror_mode": {
  81. "name": "ipython",
  82. "version": 3
  83. },
  84. "file_extension": ".py",
  85. "mimetype": "text/x-python",
  86. "name": "python",
  87. "nbconvert_exporter": "python",
  88. "pygments_lexer": "ipython3",
  89. "version": "3.5.2"
  90. }
  91. },
  92. "nbformat": 4,
  93. "nbformat_minor": 2
  94. }

机器学习越来越多应用到飞行器、机器人等领域,其目的是利用计算机实现类似人类的智能,从而实现装备的智能化与无人化。本课程旨在引导学生掌握机器学习的基本知识、典型方法与技术,通过具体的应用案例激发学生对该学科的兴趣,鼓励学生能够从人工智能的角度来分析、解决飞行器、机器人所面临的问题和挑战。本课程主要内容包括Python编程基础,机器学习模型,无监督学习、监督学习、深度学习基础知识与实现,并学习如何利用机器学习解决实际问题,从而全面提升自我的《综合能力》。

Contributors (1)